Commit Graph

9602 Commits

Author SHA1 Message Date
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
Uwe Schindler c45253df51 fix sequential test output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044660 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 14:16:21 +00:00
Michael McCandless bbf683cdbe LUCENE-2680: buffer pending deletes by segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044635 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 11:07:01 +00:00
Koji Sekiguchi 3474026904 javadoc for DIH
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044561 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 02:19:58 +00:00
Michael McCandless cf12c2d1d3 LUCENE-2809: use del count from reader if it's pooled, in IW.numDocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044505 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:55:19 +00:00
Robert Muir ab3b6ced80 add test for IW on jre crash
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044328 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 12:31:16 +00:00
Robert Muir 790a492be3 fix bug where @Test A::test(), B extends A, B::test() without @Test would be run twice
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044315 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 12:01:05 +00:00
Michael McCandless 14f4e0475d fix false test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044257 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 09:52:30 +00:00
Shai Erera cdf6350cd6 Harden TestSearchWithThreads to not fail if machine was slow (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044100 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 19:26:02 +00:00
Michael McCandless b24f2e33d7 LUCENE-2768: add line docs file so tests can easily run for longer on real data; add threaded NRT stress test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044098 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 19:22:33 +00:00
Michael McCandless 5082d68785 add missing IW.close(false) to test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044094 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 19:16:19 +00:00
Simon Willnauer fc13ac3112 use codec ID to create postings file in SimpleTextCodec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044089 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 19:00:59 +00:00
Robert Muir 013cc3e216 print the reproduce line too, for uncaught exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044069 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 18:28:54 +00:00
Robert Muir 621cd9955e print seed/debug info on uncaught exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044066 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 18:23:10 +00:00
Michael McCandless c2305ff91b missing copyright
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044064 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 18:20:34 +00:00