Commit Graph

12605 Commits

Author SHA1 Message Date
Mark Robert Miller 5713824147 SOLR-3153: When a leader goes down he should ask replicas to sync in parallel rather than serially.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292652 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 05:22:31 +00:00
Ryan McKinley 9f2cec662f SOLR-2459: fix test so it does not assume logging configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292642 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 03:55:31 +00:00
Yonik Seeley 42c1ca8212 logging: log versions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292619 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 02:00:10 +00:00
Ryan McKinley a9fbb020a5 SOLR-2459: deprecate LogLevelSelection servlet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292618 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 01:59:35 +00:00
Ryan McKinley 198c2a8b2d SOLR-2459: Expose LogLevel selection with a RequestHandler rather then servlet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292617 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 01:53:08 +00:00
Tommaso Teofili 930816cc5b LUCENE-3731 - AEProviderFactory getAEProvider logic cleaned
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292585 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 23:39:51 +00:00
Yonik Seeley 5d0f1c4f0e tests: make sure dropped buffered docs don't interfere with new additions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292553 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 22:28:06 +00:00
Ryan McKinley 7568962777 SOLR-3151: moving zookeeper.jsp to a servlet, this is a direct copy nothing new yet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292429 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 18:06:40 +00:00
Yonik Seeley 2127ffa53e distrib search: up max connections per host
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292353 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 15:42:07 +00:00
Robert Muir 44a976ff39 LUCENE-3818: add assertion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292319 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:39:32 +00:00
Mark Robert Miller f9c34805d7 if a prospective leaders sync with replicas fails, still be leader if there are no other candidates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292315 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:34:16 +00:00
Mark Robert Miller 1d67a7dc71 expand skip recovery option a bit (used by tests)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292313 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:32:53 +00:00
Mark Robert Miller fd993e0c11 be careful about retrying rather than NPE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292312 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:30:53 +00:00
Mark Robert Miller baee5394c1 clear numShards at end of test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292311 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:30:03 +00:00
Uwe Schindler 07a44a8fa5 LUCENE-3800: "Soft-close" IndexReader (make it unuseable) once a child-reader (subreader, filter delegate, or parallel reader) is closed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292293 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 13:57:55 +00:00
Uwe Schindler 1d812f3c6a LUCENE-3816: Fixed problem in FilteredDocIdSet, if null was returned from the delegate DocIdSet.iterator(), which is allowed to return null by DocIdSet specification when no documents match.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292282 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 13:34:48 +00:00
Erik Hatcher 1cb4034ed9 SOLR-2607: remove client/ directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292281 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 13:34:47 +00:00
Erik Hatcher 5dc9fbc849 SOLR-2607: remove client/ directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292278 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 13:29:51 +00:00
Robert Muir 460c345d94 improve assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292268 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 13:01:12 +00:00
Sami Siren 307cf98e1f print zk contents when failing to get leader url
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292243 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 11:35:08 +00:00
Sami Siren 9e1e2d40a4 fix CoreAdminRequest so that it uses correct key for shard id, use same key for shard id in CoreAdminParams and ZkStateReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292238 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 11:14:06 +00:00
Robert Muir 5365c14656 don't wrap if fields is null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292237 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 11:11:31 +00:00
Robert Muir a7a3d5497f enable tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292231 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 10:57:24 +00:00
Simon Willnauer 620622a70e LUCENE-3807: compare string with string
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292228 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 10:39:39 +00:00
Mark Robert Miller 075b60307e protect access with sync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292093 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 00:41:15 +00:00
Mark Robert Miller 2a13b648fa fix a concurrency issue around writing hashmap to json
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292064 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 22:30:33 +00:00
Robert Muir 2e2d3dac91 pass wrap=false in queryutils temporarily, since we are causing insanity this way if the reader is already atomic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292063 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 22:29:03 +00:00
Robert Muir d462d03077 revert bogus fix, this is contained to QueryUtils
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292061 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 22:22:36 +00:00
Mark Robert Miller 2296b6d6e3 remove sys out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292010 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 20:55:03 +00:00
Yonik Seeley f50e4dbf51 SOLR-3150: NPE when facetting using facet.prefix on an empty field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292007 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 20:52:54 +00:00
Robert Muir bde0264a26 don't wrap already-atomic readers in crazy hierarchies while Uwe is visiting relatives
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291999 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 20:44:16 +00:00
Simon Willnauer d3a7d32385 LUCENE-3815: fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291980 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 20:16:23 +00:00
Mark Robert Miller 273f5a8b93 fix and unignore test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291971 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 19:50:56 +00:00
Steven Rowe 2421399023 Test fix for DIH TestScriptTransformer: Lucene-Solr-Maven-trunk build#397 produced an exception with the message "<script> can be used only in java 6 or above Processing Document # 1", while the test was only ignoring those exceptions with the exact message "<script> can be used only in java 6 or above" - switched the test for this to require the expected message as a prefix rather than exact equality.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291958 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 19:05:31 +00:00
Uwe Schindler 208e9626d4 LUCENE-3736: Some more ParallelAtomicReader cleanups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291889 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 16:17:13 +00:00
Robert Muir 9527a9e397 LUCENE-3813: improve testEmpty to also check that the iterator is exhausted
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291883 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 15:58:12 +00:00
Yonik Seeley 7e6c8fa33b tests: more reorder testing in peersync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291843 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 15:07:39 +00:00
Robert Muir 9911c1de35 LUCENE-3807: fix missing null check in HighFrequencyDictionary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291826 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 14:56:42 +00:00
Uwe Schindler c8f0f52c81 Fix for some tests not liking non-atomic readers, sorry for noise.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291798 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 14:22:09 +00:00
Steven Rowe 5f7a9a7a47 LUCENE-3811: Maven configuration: remove unused benchmark dependencies, and remove them from <pluginManagement> in the grandparent POM in the two cases where no other module depends on them: commons-beanutils and commons-collections.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291795 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 14:19:11 +00:00
Uwe Schindler 5d07939d04 Fix some missing renames...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291773 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 13:33:11 +00:00
Uwe Schindler 252f9b729a Improve test coverage on IndexReaders by more fancy wrapping (completely random)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291772 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 13:29:23 +00:00
Robert Muir c3ae7604ce sometimes wrap with other crazy readers, not just slow
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291756 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 13:03:49 +00:00
Uwe Schindler ef409e8018 LUCENE-3812: fix more wrapped-reader inconsistencies/bugs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291753 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 13:00:16 +00:00
Robert Muir 51388a2f9c LUCENE-3811: remove unused benchmark dependencies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291728 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 12:11:04 +00:00
Robert Muir 20be846536 sometimes wrap readers with slow/parallel/etc in TestDuelingCodecs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291718 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 11:34:49 +00:00
Robert Muir 546ec4b1be add fieldinfos check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291713 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 11:27:55 +00:00
Robert Muir 1f4a544b90 sanity check fieldsenum in CheckIndex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291703 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 10:46:50 +00:00
Uwe Schindler 7c4c289b2e Fix another bug in ParallelAtomicReader: Term vectors method should return null if no term vectors are there.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291688 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 10:12:37 +00:00
Robert Muir 19c3b1220b don't add unindexed fields to fieldsenum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291679 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 10:01:15 +00:00