Commit Graph

19990 Commits

Author SHA1 Message Date
Michael McCandless 930a6d4e04 add test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593378 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 19:00:02 +00:00
Timothy Potter eb3beb2d70 SOLR-5495: Hardening recovery scenarios after the leader receives an error trying to forward an update request to a replica.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593312 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 15:48:26 +00:00
Noble Paul b1a81fe2bc SOLR-5340 removing a nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593308 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 15:24:31 +00:00
Robert Muir 90c582d84e LUCENE-5656: don't leak dv producers if one of them throws exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593238 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 11:05:06 +00:00
Michael McCandless 8806d866fc LUCENE-5644: switch to simpler LIFO thread to ThreadState allocator during indexing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593226 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 10:13:24 +00:00
Joel Bernstein 52a33e54e3 Updating CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593177 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 03:44:38 +00:00
Joel Bernstein 50c69361e2 SOLR-6035: CloudSolrServer directUpdate routing should use getCoreUrl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593174 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 03:13:25 +00:00
Robert Muir abf7baa25c LUCENE-5654: add test for bugs related to OOM-handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593171 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 02:58:29 +00:00
Robert Muir 4fcfca751c LUCENE-5653: add missing array resize to multi-valued averaging TermsWithScoreCollector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593159 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 23:31:24 +00:00
Robert Muir 56ab1d1102 LUCENE-5654: Fix close methods that would suppress OOME or similar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593152 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 22:44:18 +00:00
Michael McCandless 41532ab267 fix test to set FieldCache infoStream back to null so other tests don't then print to it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593073 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 17:25:43 +00:00
Michael McCandless 12a468bef2 LUCENE-5644: add test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593037 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 15:27:48 +00:00
Michael McCandless ba888c0987 LUCENE-5644: i moved this test over to new class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593027 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 14:38:01 +00:00
Michael McCandless abde483cd4 LUCENE-5644: add test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593023 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 14:33:47 +00:00
Noble Paul 4a84567693 SOLR-5340: Add support for named snapshots
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592957 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 10:12:29 +00:00
Uwe Schindler af86a78df5 LUCENE-5640: Remove deprecated stuff
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592930 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 01:04:39 +00:00
Uwe Schindler 0086a6e644 LUCENE-5640: Refactor Token, add new PackedTokenAttributeImpl, make use of Java 7 MethodHandles in DEFAULT_ATTRIBUTE_FACTORY
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592914 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 22:24:58 +00:00
Robert Muir b234e9748f LUCENE-5649: if this test gets MockRandomMP, it must disable reader-wrapping because it fails on any non-bulk merges
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592843 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 19:19:17 +00:00
Michael McCandless 090b804efc fix test bug causing false failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592756 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 14:26:57 +00:00
Robert Muir 15f1d9416a LUCENE-5649: tests should sometimes disable bulk merges for segments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592752 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 14:19:48 +00:00
Robert Muir 07d9fd7bd3 LUCENE-5646: Remove rare/undertested bulk merge algorithm in CompressingStoredFieldsWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592731 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 12:21:49 +00:00
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