Commit Graph

12298 Commits

Author SHA1 Message Date
Yonik Seeley 817b1e3fe0 SOLR-3066: don't fail for searcher open/close mismatch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237140 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 19:02:39 +00:00
Robert Muir 0e570cd5a2 merge r1237083
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237129 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 18:24:05 +00:00
Robert Muir 8933cfe181 LUCENE-3661: nuke nocommit for real, split SimpleText to use read-only bits impls whenever it can
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237127 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 18:22:49 +00:00
Michael McCandless 1b8d8b4350 LUCENE-3661: simplify del count tracking during merge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237114 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 17:59:45 +00:00
Robert Muir 613cd64f31 deprecated hook for separate norms should not be abstract: 4.x codecs use a clean api
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237083 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 16:13:24 +00:00
Robert Muir 509ad87610 LUCENE-3661: fix TODO, pass core to these SR ctors and remove code duplciation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237077 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 15:47:08 +00:00
Robert Muir 59bdbb04c0 LUCENE-3661: remove MutableBits from SegmentReader, add back nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237075 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 15:32:13 +00:00
Robert Muir 1e538244af LUCENE-3661: make Lucene3x codec really completely readonly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237070 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 15:13:36 +00:00
Robert Muir df204bc54b merge trunk (1233476:1237067)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237068 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 15:04:12 +00:00
Robert Muir 8684b78e1e LUCENE-3661: javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237067 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 14:59:48 +00:00
Robert Muir 59b122522b LUCENE-3661: remove nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237066 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 14:43:04 +00:00
Robert Muir 77d161f043 LUCENE-3661: make this nocommit a TODO, i am out of ideas
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237065 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 14:35:56 +00:00
Robert Muir b44abb2aaf LUCENE-3661: removable MutableBits.clone()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237064 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 14:34:18 +00:00
Michael McCandless d79594dd14 LUCENE-3661: remove MutableBits.count()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237057 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 13:23:40 +00:00
Michael McCandless e1a808d489 drop 100% deleted segments before merging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237038 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 10:43:52 +00:00
Mark Robert Miller 7a0a470401 tweak test and pull atLeast() out of for loop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236968 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 03:03:46 +00:00
Mark Robert Miller ece30470f2 try making sure we wait for any recovery to stop for each core in core container shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236959 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 02:19:42 +00:00
Mark Robert Miller 1c24188e0b don't add to the num open count until the constructor is finished
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236958 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 02:17:37 +00:00
Mark Robert Miller 5a020a48d2 change test so that even if there is an exception in the ClientThread constructor, the zkclient is closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236956 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 02:03:29 +00:00
Mark Robert Miller d3fa5ea86e try raising how long we will wait for balanced open/close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236939 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 00:24:32 +00:00
Steven Rowe 97d62cc383 Fix offset array assertion off-by-one
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236912 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 22:43:48 +00:00
Yonik Seeley f6e22fd4fa SOLR-3035: make text response writers work with byte, short, and byte[] values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236894 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 21:27:57 +00:00
Mark Robert Miller cc93925b9f don't allow registering a new SolrCore if the CoreContainer has been shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236889 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 21:19:08 +00:00
Mark Robert Miller af77591d7a remove this isClosed check that we didn't have before and shouldn't need now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236886 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 21:02:31 +00:00
Mark Robert Miller ac664ba310 fix bad javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236884 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 20:53:15 +00:00
Yonik Seeley 7784c42dd1 refactor: make javabin use ByteUtils for encoding/decoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236860 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:45:26 +00:00
Steven Rowe 02d4bd91df SOLR-2358: Add new solrj dependency apache-solr-noggit-*.jar to solrj-lib/ when producing a distribution.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236859 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:44:42 +00:00
Steven Rowe 3df14f6b1a SOLR-2358: Maven configuration: add new solr-noggit dependency to the solrj module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236855 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:37:52 +00:00
Robert Muir b3b3235301 add assert to prevent confusion when writing tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236842 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:10:11 +00:00
Mark Robert Miller 2bc0007244 try ignoring this test for now so we can isolate which tests are involved in the indexsearcher open/close imbalance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236830 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:01:53 +00:00
Yonik Seeley 0545651342 revive ByteUtils to remove lucene dependency in solrj, refactor JavaBinCodec to reuse UTF8 encoding function
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236828 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:01:06 +00:00
Yonik Seeley b141bbb52e tests:remove tracing exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236825 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 18:59:50 +00:00
Robert Muir 178857bc10 merge trunk (1235909:1236795)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1236796 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 18:15:52 +00:00
Robert Muir 566c135934 LUCENE-3661: track count instead of relying on codec to count() in its livedocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1236793 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 18:14:00 +00:00
Yonik Seeley f7e8a4abd4 tests: dial logging back down
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236777 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 17:40:20 +00:00
Mark Robert Miller 924857fc44 remove this check and use of lucene core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236774 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 17:34:54 +00:00
Yonik Seeley a557fb9f24 tests: don't make it an error if counts aren't reset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236768 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 17:14:47 +00:00
Mark Robert Miller 440a7991d3 try to be more aggressive shutting down the search executor in the face of interruption
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236748 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 16:40:49 +00:00
Mark Robert Miller 6d1e24554a be more aggressive about trying to shut down executors in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236740 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 16:31:47 +00:00
Robert Muir a7d6e5237c fix javadocs error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236673 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 13:11:10 +00:00
Robert Muir 9b25df1a38 LUCENE-3722: enable sims to score > 2B docs for the distributed case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236668 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 13:04:05 +00:00
Mark Robert Miller 17a5d3e5cb we don't care if commit fails while we wait for things to settle down in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236525 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 04:38:02 +00:00
Mark Robert Miller 21e0d0c909 must have lost this: when force=true, do not trust comparing version and generation - this is not a strong enough check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236518 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 04:12:20 +00:00
Mark Robert Miller ccee2bca8f ensure that a newly opened searcher has a non null newIndexDir to work from
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236509 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 03:49:51 +00:00
Mark Robert Miller d2a21994e9 fix how we poll for the leader in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236488 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 01:40:52 +00:00
Mark Robert Miller e679634db6 boost timeout on test for the really slow system
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236484 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 01:24:39 +00:00
Yonik Seeley 6279c500a2 tlog: nuke unwanted localization
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236480 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 01:12:36 +00:00
Mark Robert Miller 4d9a1d0862 set the name of the recovery thread
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236463 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 00:23:21 +00:00
Yonik Seeley d405c74084 tests: reset counts at start of test also
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236458 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 00:12:37 +00:00
Michael McCandless c56e845c68 DocTermOrds requires atomic reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236443 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:20:10 +00:00