Commit Graph

9076 Commits

Author SHA1 Message Date
Chris M. Hostetter a3c39d6247 SOLR-1993: fix String cast assumption in JavaBinCodec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1051611 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 18:59:57 +00:00
Michael McCandless e18dcbf1b7 LUCENE-2826: LineDocSource assigns stable docids; add 2 NumericFields derived from date in the line doc file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1051305 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 22:18:16 +00:00
Michael McCandless fda2483fb6 fix infoStream formatting to always report double precision MB usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1051067 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 11:19:30 +00:00
Michael McCandless 5b3250dc37 fix IW infoStream to not include doc store files size when reporting flushed postings size of new segment vs RAM size
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1051058 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 10:53:57 +00:00
Michael McCandless 534e34dc51 typo in jdoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1051049 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 10:49:02 +00:00
Michael McCandless 765eab4008 LUCENE-2820: fix CMS to stop its threads without deadlocking!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1051041 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 10:35:30 +00:00
Michael McCandless 65b27c2adb LUCENE-2820: revert until I find the cause of the deadlock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050899 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 17:07:24 +00:00
Michael McCandless 5f9bb3f0a8 LUCENE-2820: fix CMS to stop all threads during close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050853 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 13:57:50 +00:00
Michael McCandless ba6126ce58 more verbosity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050827 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 12:16:26 +00:00
Michael McCandless c0f1b161a7 LUCENE-2811: set merged segment's hasVectors according to FieldInfos not merged SegmentInfos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050813 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 11:23:59 +00:00
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