Commit Graph

9036 Commits

Author SHA1 Message Date
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
Shai Erera c669127dc7 LUCENE-2804: port to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044008 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 15:46:23 +00:00
Yonik Seeley f6d9b703d6 LUCENE-2671: optimizations for numeric sort-missing-last
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1043820 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 02:05:58 +00:00
Yonik Seeley dbd157c797 use non-nio jetty connector in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1043749 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 22:48:19 +00:00
Robert Muir f0f1d62071 when running sequential (e.g. -Dtestcase) use a plain formattter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1043693 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 21:42:34 +00:00
Simon Willnauer 064e8dc60a LUCENE-2802: NRT DirectoryReader returned incorrect values from getVersion, isOptimized, getCommitUserData, getIndexCommit and isCurrent due to a mutable reference to the IndexWriters SegmentInfos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1043277 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 02:02:02 +00:00
Simon Willnauer 6c9052d231 LUCENE-2805: SegmentInfos shouldn't blindly increment version on commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1043148 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 17:57:14 +00:00
Robert Muir 620b2a0619 LUCENE-2747: Deprecate/remove language-specific tokenizers in favor of StandardTokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1043114 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 16:19:17 +00:00
Steven Rowe 2b9726ae81 LUCENE-2763: Swap URL+Email recognizing StandardTokenizer and UAX29Tokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1043071 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 14:53:13 +00:00
Yonik Seeley 5b2e0f786b LUCENE-2803: ignore deleted docs when populating field cache
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042888 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 01:46:20 +00:00
Grant Ingersoll 7aa9193885 fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042802 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 21:38:59 +00:00
Yonik Seeley 29ebc9f9b0 fix mutable int comparator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042721 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:59:16 +00:00
Robert Muir 0308402397 LUCENE-2791: set the optimal buffersize by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042373 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 15:24:34 +00:00
Robert Muir 4e44804c38 the string can be null, for example failed assertions getMessage(), dont throw NPE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042359 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 14:24:02 +00:00
Koji Sekiguchi 995abebdec javadoc in DIH
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042315 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 11:12:52 +00:00
Shai Erera 9597e666ad LUCENE-2790: replace Version.LUCENE_40 with TEST_VERSION_CURRENT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042309 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 10:42:33 +00:00
Shai Erera 7439439fd7 LUCENE-2790: added CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042278 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 04:13:52 +00:00