19833 Commits

Author SHA1 Message Date
Michael McCandless
f1291a4fa4 only throw IOExc if merge really hit an exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595239 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 15:41:35 +00:00
Uwe Schindler
67b7b43b49 Simplify for Java 7, which has support for new IOException(message, cause)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595223 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 14:55:37 +00:00
Uwe Schindler
52d1ab7919 LUCENE-5673: MMapDirectory: Work around a "bug" in the JDK that throws a confusing OutOfMemoryError wrapped inside IOException if the FileChannel mapping failed because of lack of virtual address space. The IOException is rethrown with more useful information about the problem, omitting the incorrect OutOfMemoryError
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595213 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 14:24:38 +00:00
Michael McCandless
83d150aa21 LUCENE-5667: add test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594846 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 10:12:14 +00:00
Noble Paul
db8a1c7338 log the message when required only
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594801 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 07:46:19 +00:00
Joel Bernstein
18c9215bc1 SOLR-5973: Pluggable Ranking Collectors and Merge Strategies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594698 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 20:12:12 +00:00
Robert Muir
9afdfd5037 LUCENE-5671: upgrade ICU to fix concurrency bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594663 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 18:23:31 +00:00
Shai Erera
5222bb9631 LUCENE-5619: add back-compat index+test for doc-values updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594561 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 12:36:21 +00:00
David Wayne Smiley
986275e2a8 LUCENE-5608 better/more comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594394 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 21:25:24 +00:00
David Wayne Smiley
6f92315865 LUCENE-5608 fix assertions given that tokens are re-used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594391 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 21:23:08 +00:00
Chris M. Hostetter
f0001135dc LUCENE-5433: test of BooleanQuery.rewrite's single clause optimization
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594330 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 19:11:07 +00:00
Michael McCandless
be017318d9 use FSDirectory to avoid OOME
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594187 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 10:35:20 +00:00
Michael McCandless
b328f13b30 er, wrong test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594184 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 10:29:35 +00:00
Michael McCandless
879935cceb use FSDirectory to avoid OOME
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594182 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 10:26:44 +00:00
Michael McCandless
23760573f9 LUCENE-5668: fix the codec so segment sizes don't change on each flush
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594107 13f79535-47bb-0310-9956-ffa450edef68
2014-05-12 22:40:44 +00:00
Michael McCandless
fdd8428cc1 LUCENE-5668: er, actually fix the bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594096 13f79535-47bb-0310-9956-ffa450edef68
2014-05-12 21:25:18 +00:00
Michael McCandless
fb23f007aa LUCENE-5668: fix ob1 in TieredMergePolicy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594059 13f79535-47bb-0310-9956-ffa450edef68
2014-05-12 19:16:56 +00:00
Michael McCandless
cf4eb04a21 fix rare test fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593976 13f79535-47bb-0310-9956-ffa450edef68
2014-05-12 14:32:51 +00:00
Robert Muir
3d5aea2c1d add assert to maybe trick G1GC into not doing this (or at least make the fail explicit)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593971 13f79535-47bb-0310-9956-ffa450edef68
2014-05-12 14:28:24 +00:00
Noble Paul
8da5f6301c check null or exists before deleting file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593884 13f79535-47bb-0310-9956-ffa450edef68
2014-05-12 03:24:35 +00:00
Timothy Potter
b9e38c0a10 SOLR-5495: Fix HttpPartitionTest to dynamically select the port the Jetty and the SocketProxy binds to, was causing Jenkins failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593791 13f79535-47bb-0310-9956-ffa450edef68
2014-05-11 13:51:09 +00:00
Michael McCandless
05b2623c38 LUCENE-5644: favor an already initialized ThreadState
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593651 13f79535-47bb-0310-9956-ffa450edef68
2014-05-09 23:35:06 +00:00
Robert Muir
e12039a377 LUCENE-5662: add missing null checks to Field to avoid aborting exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593577 13f79535-47bb-0310-9956-ffa450edef68
2014-05-09 16:36:25 +00:00
Michael McCandless
10151036a0 LUCENE-5660: add changs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593548 13f79535-47bb-0310-9956-ffa450edef68
2014-05-09 14:21:55 +00:00
Michael McCandless
3ba830b507 throw IAE in OfflineSorter if incoming blob is too big
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593544 13f79535-47bb-0310-9956-ffa450edef68
2014-05-09 14:10:56 +00:00
Michael McCandless
63ba0e2337 throw IAE in OfflineSorter if incoming blob is too big
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593542 13f79535-47bb-0310-9956-ffa450edef68
2014-05-09 14:01:25 +00:00
Michael McCandless
e162b63759 throw IAE in OfflineSorter if incoming blob is too big
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593541 13f79535-47bb-0310-9956-ffa450edef68
2014-05-09 14:00:54 +00:00
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