Commit Graph

20019 Commits

Author SHA1 Message Date
Michael McCandless a1503232f3 LUCENE-5644: clear IW's thread state bindings on flush
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592620 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 19:37:11 +00:00
Michael McCandless 4c2cca57dd LUCENE-5641: add RateLimiter.getMinPauseCheckBytes for callers to know minimal number of bytes before consulting rate limiter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592606 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 18:54:47 +00:00
Chris M. Hostetter e9d549b889 SOLR-6039: fixed debug output when no results in response
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592605 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 18:54:08 +00:00
James Dyer 14d72257a6 SOLR-5090: SpellCheckComponent sometimes throws NPE when "spellcheck.alternativeTermCount" is set to zero
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592591 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 17:56:10 +00:00
James Dyer 3c14dc6a57 SOLR-3671: DIHWriter fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592583 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 17:40:32 +00:00
Shalin Shekhar Mangar 88846a958d Fixed a few typos in the javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592572 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 17:04:15 +00:00
Michael McCandless 530a741b9a LUCENE-5609: increase default NumericField precStep
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592485 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 11:29:50 +00:00
Michael McCandless 906261541f make test less evil to sidestep OOME
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592479 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 10:51:18 +00:00
Robert Muir 0ed405ed96 don't fail if this test prints too much
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592383 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 17:01:41 +00:00
Michael McCandless 8c4e826818 LUCENE-5628: change getFiniteStrings to iterative impl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592362 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 15:47:59 +00:00
Robert Muir 6e9cbf3986 LUCENE-5638: pack the core attributes into one impl by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592353 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 14:36:27 +00:00
Robert Muir 94c513ad5b LUCENE-5642: Randomize attributeFactory in tests, use MockTokenizer more where possible, reduce use of esoteric Token ctors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592339 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 12:19:35 +00:00
Shalin Shekhar Mangar d67884a07c SOLR-6023: FieldAnalysisRequestHandler throws NPE if no parameters are supplied
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592195 13f79535-47bb-0310-9956-ffa450edef68
2014-05-03 13:01:36 +00:00
Uwe Schindler 7db6edeb75 LUCENE-5639: Fix token class to correctly implement PoistionLengthAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592078 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 22:37:32 +00:00
Ryan Ernst ad37014a3a SOLR-6022: Rename getAnalyzer() to getIndexAnalyzer()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592076 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 22:34:25 +00:00
Uwe Schindler 4bd9f8b0eb LUCENE-5639: Fix token class to correctly implement PoistionLengthAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592075 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 22:33:36 +00:00
Robert Muir 1613f1882c LUCENE-5634: Reuse TokenStream instances for string and numeric Fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591992 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 18:07:38 +00:00
Robert Muir f353c52e25 add more iterable testing to TestIndexWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591921 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 14:08:21 +00:00
Robert Muir 9839ad461e LUCENE-5611: lazy-init the stored fields writer like before to prevent leaks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591807 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 02:48:40 +00:00
Robert Muir ccccb0b377 improve block document exception testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591804 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 02:12:16 +00:00
Chris M. Hostetter 6821905d24 SOLR-6037: Fixed incorrect max/sum/stddev for Date fields in StatsComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591800 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 00:33:28 +00:00
Robert Muir 4de244e214 LUCENE-5635: make this test more efficient at finding bugs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591748 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 19:28:32 +00:00
Robert Muir 4a535e2a47 LUCENE-5635: fold in dv updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591733 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 18:49:38 +00:00
Robert Muir 178b6b3f5e LUCENE-5635: speed up and improve test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591726 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 18:35:55 +00:00
Robert Muir 07eac25dd0 LUCENE-5635: add some deletes and open reader from writer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591708 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 16:50:15 +00:00
Robert Muir 01829ad787 LUCENE-5611: nuke dup buggy test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591701 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 16:28:34 +00:00
Michael McCandless 30006cff7e LUCENE-5611: don't abort segment if term vector settings are wrong
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591700 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 16:28:21 +00:00
Michael McCandless fff01837d7 LUCENE-5635: enable this nice new test; make all FieldsConsumers impl Closeable and move closing responsibility to caller
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591676 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 15:14:48 +00:00
Robert Muir cab3e360c7 LUCENE-5635: properly shutdown IW
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591665 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 13:49:06 +00:00
Robert Muir 15fe8f9cba LUCENE-5635: make CrankyCodec crankier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591662 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 13:40:45 +00:00
Robert Muir f94e4d611a LUCENE-5635: make these usable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591661 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 13:36:53 +00:00
Michael McCandless 5e19ec415d fix test bug / add toStrings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591658 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 13:32:56 +00:00
Michael McCandless 46ae34459c LUCENE-5611: always abort if we hit exc in StoredFieldsWriter.start/FinishDocument
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591657 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 13:32:31 +00:00
Robert Muir 9968bd91df LUCENE-5635: add a prototype test (currently disabled with AwaitsFix)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591652 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 13:19:21 +00:00
Robert Muir 9ee1dcf40a LUCENE-5635: don't try to use CrankyTokenFilter in TestRandomChains
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591629 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 12:04:38 +00:00
Robert Muir e6582aa850 LUCENE-5635: no spi for crankytokenfilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591611 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 11:32:27 +00:00
Robert Muir 798624fe8b LUCENE-5635: add CrankyTokenFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591605 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 11:19:33 +00:00
Robert Muir 1c77c9e5e9 improve test to ensure exceptions here really dont abort
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591596 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 10:52:08 +00:00
Robert Muir b5171bb668 LUCENE-5611: fix dv exceptions to be non-aborting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591587 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 10:06:03 +00:00
Shalin Shekhar Mangar abe013d771 SOLR-6013: Fix method visibility of Evaluator, refactor DateFormatEvaluator for extensibility
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591573 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 09:11:04 +00:00
Robert Muir 4bd6b9918a fix tv randomization logic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591562 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 08:30:09 +00:00
Shalin Shekhar Mangar a5c8d6b7a5 SOLR-6030: Use System.nanoTime() instead of currentTimeInMills() in LRUCache.warm
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591555 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 07:39:39 +00:00
Shai Erera 2227cca025 LUCENE-5591: pass proper IOContext when writing DocValues updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591469 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 20:14:20 +00:00
Shai Erera b8c02f6267 LUCENE-5633: replace NoMergePolicy.COMPOUND/NO_COMPOUND by NoMergePolicy.INSTANCE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591432 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 18:13:04 +00:00
Michael McCandless 0a83273dfa LUCENE-5611: always call PerField.finish even on non-aborting exc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591399 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 17:12:54 +00:00
Uwe Schindler bc0d7bbb25 Merged revision(s) 1591333 from lucene/dev/branches/branch_4x:
LUCENE-5632: Transition Version constants from LUCENE_MN to LUCENE_M_N

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591365 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 15:50:35 +00:00
Dawid Weiss 13767516ca Follow up cleanups to LUCENE-5622.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591279 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 12:51:24 +00:00
Robert Muir ce69d26f8d rewrite broken test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591274 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 12:44:43 +00:00
Noble Paul 2ce57608ee revert SOLR-5473 , SOLR-5474
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591253 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 11:24:06 +00:00
Dawid Weiss e1f76c5ab1 LUCENE-5622: Fail tests if they print over the given limit of bytes to System.out or System.err
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591222 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 09:38:47 +00:00