Commit Graph

20317 Commits

Author SHA1 Message Date
Shai Erera 920b5fe236 LUCENE-5679: remove the single-parameter deleteDocuments() versions, in favor of the vararg ones
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596296 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 15:50:35 +00:00
Timothy Potter b49788abfe SOLR-5468: Add wait loop to see replicas become active after restoring partitions; to address intermittent Jenkins test failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596234 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 13:20:28 +00:00
Timothy Potter b1035b1a9e SOLR-5495: Raise the amount of time the test waits for replicas to become active after partitions are healed (to address intermittent Jenkins failures)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596103 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 02:07:26 +00:00
Timothy Potter 195317786c SOLR-5468: report replication factor that was achieved for an update request if requested by the client application.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596092 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 23:04:55 +00:00
Michael McCandless d6968c3924 LUCENE-5675: delete docs on flush
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1596091 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 22:59:48 +00:00
Anshum Gupta c3692aa73d SOLR-5681: Make the OverseerCollectionProcessor multi-threaded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596089 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 22:40:41 +00:00
Uwe Schindler c4bdb2dad0 LUCENE-5678: Use FileOutputStream instead of RandomAccessFile to write index data. BufferedIndexOutput and related APIs were removed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596057 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 21:08:16 +00:00
Michael McCandless acedb179f4 LUCENE-5686: fail if LUCENE/SOLR_NNNN (_ instead of -) appears in changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596044 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 20:17:58 +00:00
Michael McCandless d01f0838e4 woops, revert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596043 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 20:16:52 +00:00
Michael McCandless c2421c0929 LUCENE-5686: fail if LUCENE/SOLR_NNNN (_ instead of -) appears in changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596039 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 20:09:53 +00:00
Joel Bernstein a8804b7867 LUCENE-5682: NPE in QueryRescorer when Scorer is null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595973 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 17:40:36 +00:00
Robert Muir f039b0f0fb merge in 4.8.1 CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595872 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 12:40:10 +00:00
Robert Muir 71c722cf41 merge in 4.8.1 CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595869 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 12:35:54 +00:00
Michael McCandless 4e0b7974b6 LUCENE-5675: merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595824 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 10:34:35 +00:00
Michael McCandless 2774bfb1e6 LUCENE-5675: detect negative versions, fix another seekExact case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595817 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 10:22:20 +00:00
Michael McCandless 5dc30b9527 LUCENE-5675: testRandom seems to be passing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595548 13f79535-47bb-0310-9956-ffa450edef68
2014-05-17 21:57:37 +00:00
Michael McCandless b921031030 during flush, log to infoStream size of all DWPTs considered for flush
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595532 13f79535-47bb-0310-9956-ffa450edef68
2014-05-17 19:49:08 +00:00
Michael McCandless d6131e155b LUCENE-5675: checkpoint current dirty state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595530 13f79535-47bb-0310-9956-ffa450edef68
2014-05-17 19:08:40 +00:00
Robert Muir 7aeac4f07b LUCENE-4371: Replace IndexInputSlicer with IndexInput.slice
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595480 13f79535-47bb-0310-9956-ffa450edef68
2014-05-17 13:44:09 +00:00
Robert Muir 5cdde67569 LUCENE-5677: simplify position handling in DefaultIndexingChain
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595469 13f79535-47bb-0310-9956-ffa450edef68
2014-05-17 13:05:28 +00:00
Robert Muir 4affe33430 fix test bug: we have to check the actual DVF (the codec could be a frankenstein)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595456 13f79535-47bb-0310-9956-ffa450edef68
2014-05-17 12:36:21 +00:00
Robert Muir d73ff28707 improve test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595424 13f79535-47bb-0310-9956-ffa450edef68
2014-05-17 05:21:43 +00:00
Uwe Schindler a891b969d9 Fix fall-through
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595383 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 23:05:32 +00:00
Uwe Schindler b078e0f003 Update some build tools
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595380 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 22:57:33 +00:00
Robert Muir 4f32f3b362 fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595350 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 21:19:01 +00:00
Michael McCandless c5b8eead41 improve test coverage for IW.expungeDeletes; fix infoStream logging in BDS to write something meaningful
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595324 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 19:45:46 +00:00
Michael McCandless 0014d19919 woops, remove nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595301 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 18:45:51 +00:00
Michael McCandless 3b13b09f98 fix false assert trip; fix LTC to be 'sticky' in how it changes the live IWC settings for flush triggers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595300 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 18:45:25 +00:00
Robert Muir e2ba693a6e LUCENE-5666: Add UninvertingReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595259 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 16:39:56 +00:00
Uwe Schindler 58f6201508 Disable our lock factory tests, if clover is enabled (the exact reason is unclear, but it looks like Clover gets a deadlock if instrumented code is run inside the ANT JVM)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595255 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 16:33:42 +00:00
Uwe Schindler c8e6e5b35a More cleanup, sorry for the bug I introduced! :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595247 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 15:55:19 +00:00
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
Michael McCandless fa51d5972a LUCENE-5675: add testRandom; sometimes fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595229 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 15:17:30 +00:00
Robert Muir 3c78c32c37 LUCENE-5666: merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1595228 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 15:04:20 +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 83332c046b LCUENE-5675: testBasic still fails but closer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595072 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 23:17:37 +00:00
Michael McCandless f49e67456b LUCNE-5675: add failing test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595068 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 22:53:30 +00:00
Michael McCandless 491dc6a716 LUCENE-5675: initial fork of BT with versioning added
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595064 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 22:28:48 +00:00
Michael McCandless 1ea0ce4062 LUCENE-5675: small cleanups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595052 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 21:25:41 +00:00
Michael McCandless ee1c309e6f LUCENE-5675: break out IntersectTermsEnumFrame
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595027 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 20:04:15 +00:00
Michael McCandless 13f3c95c62 LUCENE-5675: rename
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595026 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 19:56:00 +00:00
Michael McCandless 281e53b82b LUCENE-5675: break out SegmentTermsEnum.Frame
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595025 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 19:53:41 +00:00
Michael McCandless 9ebab12f64 LUCENE-5675: more rote factoring
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595020 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 19:34:35 +00:00
Robert Muir fcc1074d33 LUCENE-5675: fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595017 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 18:59:00 +00:00
Michael McCandless 3627f20f53 LUCENE-5675: pull out IntersectEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595013 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 18:44:54 +00:00
Michael McCandless 6523b16f3d LUCENE-5675: pull out FieldReader from BTTR
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595007 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 18:22:21 +00:00
Michael McCandless c06e69a70d LUCENE-5675: pull out FieldReader from BTTR
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1595006 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 18:22:09 +00:00
Michael McCandless b1c481d683 LUCENE-5675: move BlockTree* under its own package
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1594991 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 18:01:53 +00:00
Michael McCandless 60aa1ae3fb LUCENE-5675: add docs/AndPositionsEnums
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5675@1594985 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 17:12:29 +00:00