Commit Graph

12617 Commits

Author SHA1 Message Date
Erick Erickson b32b52578d Patch for SOLR-3155. Fixes JSON output format error and alphabetizes children of nodex.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293039 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 00:28:19 +00:00
Sami Siren 48bb56dea8 SOLR-3148: expose more system info
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292938 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 20:18:24 +00:00
Ryan McKinley ebfdea6c82 SOLR-2667: use require.js to load UI dynamically
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292908 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 19:23:10 +00:00
Robert Muir e143425b70 add random sloppy phrase tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292881 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 18:27:09 +00:00
Robert Muir 30d2fc63c8 add basic equivalence tests for core query matching (TODO: add spans)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292864 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 17:43:30 +00:00
Sami Siren c618516338 SOLR-3080: add couple more asserts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292753 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 11:44:00 +00:00
Sami Siren 19b2423ced SOLR-3080: clear system property after test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292740 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 10:58:37 +00:00
Sami Siren 565777a7b3 SOLR-3080: remove shard info from zk when unload is called
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292739 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 10:55:29 +00:00
Ryan McKinley 20d2cb9701 SOLR-318: docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292721 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 09:19:50 +00:00
Ryan McKinley d1abb09612 SOLR-3134: Include shard info in distributed response when shards.info=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292717 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 09:07:31 +00:00
Sami Siren 6ff799d4b3 SOLR-3037: simplify method as suggested by Jörg Maier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292690 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 08:07:06 +00:00
Sami Siren d47a11f077 SOLR-3080: make election cancellable through EC
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292680 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 07:19:37 +00:00
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