Commit Graph

9516 Commits

Author SHA1 Message Date
Michael McCandless 89d6a37d48 LUCENE-1737: set up FieldInfos correctly the when we open a pre-4.0 index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050790 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 10:17:50 +00:00
Robert Muir b5726a4267 LUCENE-2816: MMapDirectory speedups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050737 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 00:15:28 +00:00
Robert Muir aae5cff6dd speed up test: convert to junit4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050733 13f79535-47bb-0310-9956-ffa450edef68
2010-12-18 23:13:03 +00:00
Michael McCandless 5a53f2b7ed LUCENE-1737: set up FieldInfos correctly the when we open a pre-4.0 index; pass FieldInfos to SegmentMerger
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050728 13f79535-47bb-0310-9956-ffa450edef68
2010-12-18 22:38:02 +00:00
Robert Muir 190a480a47 LUCENE-2819: print the reproduce-with information when a test leaves threads running (but don't fail yet)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050725 13f79535-47bb-0310-9956-ffa450edef68
2010-12-18 21:47:56 +00:00
Robert Muir fb7f94b419 LUCENE-2819: set this before interuppting also, to prevent false fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050718 13f79535-47bb-0310-9956-ffa450edef68
2010-12-18 21:20:46 +00:00
Robert Muir 50fe69c091 LUCENE-2819: give rogue-threads left running after the test 1000ms to die naturally before we clear their exception handler and interrupt() them... perhaps they will fail nasty
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050699 13f79535-47bb-0310-9956-ffa450edef68
2010-12-18 19:43:46 +00:00
Robert Muir 623fd7bcd7 LUCENE-2819: prevent 'collateral damage' from threads in tests, warn about thread resource leaks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050697 13f79535-47bb-0310-9956-ffa450edef68
2010-12-18 19:14:55 +00:00
Michael McCandless 8584e1016f LUCENE-2814: stop writing shared doc stores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050687 13f79535-47bb-0310-9956-ffa450edef68
2010-12-18 18:03:28 +00:00
Michael McCandless b9777a3a46 LUCENE-2811: fix bug in IndexWriter.addIndexes(Directory[]) caused by SI.hasVector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050655 13f79535-47bb-0310-9956-ffa450edef68
2010-12-18 16:03:58 +00:00
Michael McCandless 66b2c016b0 LUCENE-2811: switch version numbers on trunk due to 3.x index format change; fix hasVectors check to work correctly when doc stores are compound file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050440 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 16:16:39 +00:00
Yonik Seeley 2280dde754 LUCENE-2815: fix MultiFields thread safety, don't cache null terms(field)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050415 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 15:15:01 +00:00
Yonik Seeley b7a25aeab6 javadoc: clarify that getDeletedDocs is published safely
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050222 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 23:18:59 +00:00
Michael McCandless c9a903a4f9 improve verbosity of TestNRTThreads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050084 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 18:11:29 +00:00
Michael McCandless ef8e74541a LUCENE-2680: also print if deletes touched 0 terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050063 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 17:24:09 +00:00
Michael McCandless 35e7a41aeb LUCENE-2680: print to infoStream upper bound on how many docIDs we deleted; useful for seeing false deletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1049918 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 11:01:37 +00:00
Steven Rowe 33c9d97119 SOLR-2188: provide maxTokenLength arg for Classic, Standard, and UAX29URLEmail tokenizer factories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1049693 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 20:24:26 +00:00
Michael McCandless 60f0a9be8a LUCENE-2811: simplify tracking of hasVectors during merge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1049502 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 11:06:07 +00:00
Robert Muir c541f29f7e LUCENE-2804: fix newFSDirectory so the tests work with -Dtests.directory=RAMDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1049413 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 04:18:12 +00:00
Michael McCandless 7065133f3a LUCENE-2811: use boolean for SI.hasVectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1049187 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 17:30:38 +00:00
Robert Muir 94848afc65 improve the random handling in these tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1049144 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 16:24:16 +00:00
Robert Muir 1d1c5ec67d initialize random statically with a fixed seed, just in case someone uses it before @beforeClass runs, e.g. static int i = random.nextInt();
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1049132 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 15:41:51 +00:00
Yonik Seeley 2d7f826781 tests: use Lucene's static random
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1049131 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 15:41:38 +00:00
Robert Muir 3afc5c146b use LuceneTestCase's random in SimpleFacetsTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1049117 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 14:55:03 +00:00
Yonik Seeley d0b175a01b MTQ - null can be a valid comparator for newTermComp too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1049116 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 14:52:03 +00:00
Robert Muir d51dd5017e Use stderr (not stdout) consistently for all messages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1049107 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 14:28:57 +00:00
Robert Muir b1939156b9 add bin/ to svn:ignore (eclipse default output folder)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1049094 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 14:05:57 +00:00
Michael McCandless 167e0b8a8a on exception close any opened per-field fieldsProducers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1049039 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 11:05:00 +00:00
Chris M. Hostetter d2518208b9 SOLR-2285: duplicate SolrEventListeners no longer created (hossman)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1048886 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 01:10:52 +00:00
Robert Muir 5d030954b0 update the reproduce-with logic to the new defaults (randomPerField)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045324 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 19:23:57 +00:00
Robert Muir 73f2e63037 add Apple to this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045323 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 19:21:56 +00:00
Michael McCandless 1ca059706e LUCENE-2811: SegmentInfo now tracks whether a segment wrote term vectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045322 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 19:20:32 +00:00
Uwe Schindler fbab97a0f1 LUCENE-2792: Revert generic ArrayUtil.grow(T[]) for now and add unchecked code back into FST package
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045319 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 19:17:21 +00:00
Michael McCandless 1cfb936649 make test more evil
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045315 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 19:12:03 +00:00
Michael McCandless 64e19107d9 LUCENE-2813: only throw the mock failure into the main thread
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045310 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 19:05:23 +00:00
Chris M. Hostetter 34a6968476 SOLR-2219: stop calling SolrRequestHandler.init twice per instance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045302 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 18:57:24 +00:00
Michael McCandless 4aa908e6ad add verbosity to test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045266 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 18:00:35 +00:00
Chris M. Hostetter 26dd4f34cd SOLR-1297: improvements to sort param parsing code so more fields with exentric names (that were supported for sorting in older versions of solr) will be checked for after attemptint to parse as a function
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045253 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 17:40:17 +00:00
Michael McCandless 625f60388d LUCENE-2812: fix IndexReader.indexExists to return false when segments_N file cannot be read
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045212 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 16:09:01 +00:00
Michael McCandless 8535534a0d LUCENE-2674: avoid Object.clone in Standard codec's term state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045081 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 11:52:28 +00:00
Michael McCandless d2665fd86e use more efficient quadratic hash impl; remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045053 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 10:22:35 +00:00
Robert Muir 5106f914e8 avoid synthetic method call access for things like 'bottom' in these comparators
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045048 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 09:54:19 +00:00
Robert Muir b6a05b1a23 LUCENE-2792: revert slowdowns on -client vms that are unrelated to this issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045012 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 03:32:09 +00:00
Yonik Seeley 8c3300e5d5 SOLR-1729: get NOW from SolrRequestInfo thread local + propagate to shards
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1045010 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 03:29:14 +00:00
Michael McCandless a586a6d741 fix silly typo in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044940 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 22:11:31 +00:00
Michael McCandless 0db62822e0 drop run time to [hopefully] avoid OOME
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044891 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 19:17:20 +00:00
Uwe Schindler bc72163b4c prepare Hudson's large line doc file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044867 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 18:04:25 +00:00
Uwe Schindler 3da3f2fad2 Clean up duplicate constants in trunk (3.x variant and a new one from trunk, unified to 3.x version). Also found one more ArrayUtil.grow-use-case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044854 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 17:10:39 +00:00
Steven Rowe da38e95b4c Switch IndexWriter c-tor to use IndexWriterConfig (otherwise it won't compile)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044835 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 15:49:07 +00:00
Michael McCandless 994aaec2ef LUCENE-2792: add FST impl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044834 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 15:36:08 +00:00