Commit Graph

12168 Commits

Author SHA1 Message Date
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
Mark Robert Miller 9469e0e0a7 ensure that we have shard leaders before the tests begin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236441 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:05:21 +00:00
Mark Robert Miller 231445f166 raise the length of time that we are willing to wait for searchers to be closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236440 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:03:51 +00:00
Michael McCandless b414855e41 add test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236431 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:51:43 +00:00
Michael McCandless f31b36f413 whitespace
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236429 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:50:11 +00:00
Yonik Seeley 9db16cd23b tests: try to track down the tlog-already-exists issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236410 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:09:08 +00:00
Mark Robert Miller b0ea2de37d boost this test poll timeout just a bit more
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236406 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:01:34 +00:00
Mark Robert Miller 0d578c8c8c add a bit of javadoc and be sure we don't register as active unless a recovery was *not* started
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236378 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 20:38:04 +00:00
Mark Robert Miller 790045ae03 add a check that ensures we see the number of shards that we would expect in the cluster state before the test starts and retry after a pause if we do not
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236366 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:46:42 +00:00
Michael McCandless 961f3f1dff close merge readers before checkpoint, so IFD can delete the files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236357 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:30:17 +00:00
Mark Robert Miller 51c97efbe8 fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236354 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:20:07 +00:00
Yonik Seeley 5293942927 don't reset counts until after we are done retrying
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236352 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:16:08 +00:00
Robert Muir f640687877 LUCENE-3720: add warning+experimental and disable test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236341 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 18:26:07 +00:00
Mark Robert Miller 3281e5b3a3 show the base url when reporting exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236324 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 17:52:50 +00:00
Mark Robert Miller 86dd14bab9 ignore test until i can figure out why a request times out on a live jetty instance regularly on jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236318 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 17:46:37 +00:00
Mark Robert Miller de94013750 try raising tests so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236272 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:23:45 +00:00
Mark Robert Miller 2da5fdc636 clean up javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236271 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:17:23 +00:00
Mark Robert Miller 2caf23ebf0 boost this test timeout as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236261 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:08:52 +00:00
Mark Robert Miller 9415095fc7 also raise this test timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236254 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 15:54:10 +00:00
Mark Robert Miller 228a324062 raise timeout and try to un-ignore this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236250 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 15:45:49 +00:00
Mark Robert Miller 6c3b8b5b02 cleanup/fix logic around setting active state on startup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236240 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 15:29:04 +00:00
Dawid Weiss 5f9209aff2 Corrected ant clean for git and svn, removed extra examples prefix as pointed out by Uwe.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236187 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 14:25:27 +00:00
Dawid Weiss 5eb872cdf2 Revert "Fixed 'ant clean' failing if a directory didn't exist. Replaced with an include pattern."
This reverts commit c4a413eb69f8be46664b1ddcbf24af4be44e933c.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236185 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 14:19:14 +00:00
Dawid Weiss 2c3fa2e3db Fixed 'ant clean' failing if a directory didn't exist. Replaced with an include pattern.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236178 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 13:56:50 +00:00
Martijn van Groningen 5644c6aa18 LUCENE-3602: Fixed documentation error.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236143 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 11:21:26 +00:00
Mark Robert Miller 19f8d0f623 if test fails, print zk layout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236037 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:58:52 +00:00
Mark Robert Miller 11396fff5b unignore this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236036 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:43:37 +00:00
Mark Robert Miller 7f31bb4974 try to avoid seeing stale state when deciding if we can kill or not by updating the state in the loop rather than just at the start
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236035 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:41:51 +00:00
Mark Robert Miller 8c0102e11a boost how long we poll for this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236034 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:36:45 +00:00
Mark Robert Miller 9072e892f2 print zk state if test is not succesful
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236024 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 02:22:31 +00:00
Robert Muir a2443fa4ff missing license headers in suggest package
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236012 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 01:10:31 +00:00