Commit Graph

20006 Commits

Author SHA1 Message Date
Robert Muir 77fc7f22fd LUCENE-5661: add workaround for race conditions in the LiveIWC api
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593526 13f79535-47bb-0310-9956-ffa450edef68
2014-05-09 12:25:59 +00:00
Robert Muir a1a0b561cd sync the buggy methods in LiveIWC, instead of all operations from all RIWs...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593517 13f79535-47bb-0310-9956-ffa450edef68
2014-05-09 12:04:38 +00:00
Michael McCandless 37a2466338 include state number in Automaton.toDot output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593507 13f79535-47bb-0310-9956-ffa450edef68
2014-05-09 10:22:32 +00:00
Michael McCandless f849e4df71 print number of active threads states in IW.infoStream, even when flushing due to RAM usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593501 13f79535-47bb-0310-9956-ffa450edef68
2014-05-09 09:26:58 +00:00
Michael McCandless 557e62bfe4 make this thread safe
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593498 13f79535-47bb-0310-9956-ffa450edef68
2014-05-09 08:46:04 +00:00
David Wayne Smiley 449600db82 LUCENE-5608: Move readCell() back to SPT from Cell.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593468 13f79535-47bb-0310-9956-ffa450edef68
2014-05-09 00:47:08 +00:00
Michael McCandless ee1bfe16cd fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593431 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 21:57:28 +00:00
Ryan Ernst e7fc5f1b51 SOLR-6043: Fix changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593426 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 21:36:48 +00:00
Ryan Ernst 050b0b8af9 SOLR-6043: Add ability to set http headers in solr response
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593423 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 21:26:37 +00:00
Robert Muir 564c221c95 don't use RIW in this test, its sensitive to random craziness
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593406 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 20:28:59 +00:00
Michael McCandless e1275cd041 fix test to use IW not RIW; add verbosity when LTC changes live IWC settings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593405 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 20:13:34 +00:00
Robert Muir 2286f803eb don't use RIW in this test, it depends on stable merging (and RIW does insane things)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593400 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 20:09:29 +00:00
Robert Muir dd6c806d12 randomize mergepolicy settings on the fly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593397 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 19:58:41 +00:00
Robert Muir 1b0834ec83 invoke cms parameters randomly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593393 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 19:43:29 +00:00
Robert Muir b943e47c99 respect closeable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593385 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 19:14:32 +00:00
Robert Muir 31a05cebdd live setters will be tested or die
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593383 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 19:09:32 +00:00
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