Commit Graph

18591 Commits

Author SHA1 Message Date
Erick Erickson 0e19da794b SOLR-5488: Added DOM parsing to the test cases rather than string manipulation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545080 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 21:33:45 +00:00
Mark Robert Miller aca845c6a0 SOLR-5497: Do not try and start a jetty that is not stopped
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545066 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 20:20:10 +00:00
Mark Robert Miller c95f5900ac SOLR-4553: Bug in finding remote node when proxying update request in a cluster with more than one collection.
Also, attempt to proxy requests more aggressively.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545065 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 20:19:43 +00:00
Mark Robert Miller fc7a21deea SOLR-5488: fix ignore import
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545054 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 19:25:43 +00:00
Mark Robert Miller 2e461b4258 SOLR-5488: ignore this test for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545053 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 19:23:44 +00:00
Mark Robert Miller ac8cd42ebd SOLR-5497: See if this helps.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545049 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 19:12:50 +00:00
Mark Robert Miller aaafda0f6e SOLR-4713: This should not be an issue anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545035 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 18:54:52 +00:00
Mark Robert Miller e50b2b3da4 SOLR-4553: for some reason, a node can keep seeing slices inactive or something - we should attempt to proxy inactive slices anyway
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545027 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 18:45:17 +00:00
Mark Robert Miller 782b2e221c tests: harden test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545013 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 17:30:00 +00:00
Mark Robert Miller acee28acf4 tests: improve test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545010 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 17:14:50 +00:00
Mark Robert Miller 4ff856d994 SOLR-5488: fix set removal bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545009 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 17:12:05 +00:00
Mark Robert Miller 513c277e73 tests: clean up a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545005 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 15:53:00 +00:00
Mark Robert Miller 9a76dcdf9e boost default zk connect timeout from 15s to 30s
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544999 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 15:35:12 +00:00
Mark Robert Miller 6c9d05e97d tests: tweak timeouts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544994 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 15:23:32 +00:00
Mark Robert Miller 04fd728416 tests: fix for random map order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544984 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 15:00:48 +00:00
Mark Robert Miller 633ea330fe tests: fix for random map order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544980 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 14:48:50 +00:00
Noble Paul e61acfdb0d SOLR-5493
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544925 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 06:06:32 +00:00
Robert Muir 264dd48437 fail on hashmap ordering bugs in java7 too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544923 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 05:44:22 +00:00
Mark Robert Miller 1f2baa27f3 SOLR-5497: Try and explicit set so linger to 0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544913 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 05:22:38 +00:00
Mark Robert Miller 739dae21da SOLR-5496: We should share an http connection manager across non search HttpClients and ensure all http connection managers get shutdown.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544899 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 01:59:56 +00:00
Mark Robert Miller aa253e949f SOLR-5494: CoreContainer#remove throws NPE rather than returning null when a SolrCore does not exist in core discovery mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544844 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 17:47:56 +00:00
Mark Robert Miller b892c597f7 SOLR-5437: DeleteReplicaTest fails constantly both locally and in jenkins
SOLR-5486: Cleanup and harden DeleteInactiveReplicaTest.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544838 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 17:14:22 +00:00
Robert Muir 2ef13e06f0 SOLR-5490: SimpleQParser uses multiterm analysis chain for prefixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544837 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 17:12:14 +00:00
Shalin Shekhar Mangar fd6268a9a8 SOLR-5378: Fix compile issues on Java6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544815 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 15:19:43 +00:00
Shalin Shekhar Mangar 7763793c55 SOLR-5378: A new SuggestComponent that fully utilizes the Lucene suggester module and adds pluggable dictionaries, payloads and better distributed support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544793 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 13:46:12 +00:00
Michael McCandless 2f4c2380cd LUCENE-5329: Document/ExpressionDictionary are now lenient if a doc is missing term/payload/weight
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544570 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 15:21:31 +00:00
Erick Erickson 482de5a9f0 SOLR-5491: Testing for extra properties should use startsWith rather than indexOf
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544518 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 13:00:20 +00:00
Erick Erickson 95b973d613 Added "human readable" output to the failing test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544504 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 12:08:01 +00:00
Tommaso Teofili 7b9ca4745a LUCENE-5348 - added minDoc/TermFreq params to kNN classifier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544435 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 08:36:22 +00:00
Tommaso Teofili f9b3e389b2 LUCENE-4927 - switched to log prior/likelihood to avoid possible underflows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544433 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 08:29:16 +00:00
Shalin Shekhar Mangar eb1dcbaa70 SOLR-4376: DataImportHandler uses wrong date format for last_index_time if a delta-import is run first before any full-imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544421 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 06:45:14 +00:00
Mark Robert Miller 69bb099bd8 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544417 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 06:09:38 +00:00
Shalin Shekhar Mangar 911ee1dcd3 SOLR-5308: Use source collection's configName to create temp collection. Fixed NPE routing rule wait loop. Wait for temp collection leader to be active before splitting the source index.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544414 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 05:05:36 +00:00
Uwe Schindler 0971bc8f21 LUCENE-5347: Upgrade forbidden-apis checker to version 1.4. Fix Zookeeper bug with default encoding.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544370 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 23:27:19 +00:00
Mark Robert Miller 21afda7b22 SOLR-5436: Eliminate the 1500ms wait in overseer loop as well as polling the ZK distributed queue.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544255 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 17:28:36 +00:00
Simon Willnauer a5c6c6ddd6 Make sure there is at least one document when testing expression dictionary with deletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544224 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 15:50:47 +00:00
Mark Robert Miller 8f08d90bb0 SOLR-4709: The core reload after replication if config files have changed can fail due to a race condition.
SOLR-5489: TestIndexAndConfigAliasReplication commonly fails because it tries to get a lock for a locked index.
SOLR-5343: TestReplicationHandler.doTestStressReplication fails ~ 33% of the time

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544220 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 15:40:07 +00:00
Erick Erickson 493ce1b65a Adding debug information to diagnose failure, this time so it shows.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544154 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 12:19:45 +00:00
Michael McCandless db8f24dbad fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544118 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 11:16:44 +00:00
Adrien Grand ed723bfaee Fix test bug: StoredFieldsWriter.close can be called in case an exception occurred.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544087 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 10:20:53 +00:00
Shalin Shekhar Mangar 20591fd6f7 SOLR-5487: Replication factor error message doesn't match constraint
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544050 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 07:25:23 +00:00
Shalin Shekhar Mangar f7d1b43c9e SOLR-5428: New 'stats.calcdistinct' parameter in StatsComponent returns set of distinct values and their count. This can also be specified per field e.g. 'f.field.stats.calcdistinct'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544043 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 06:27:11 +00:00
Mark Robert Miller 54508fbe7a SOLR-5437: cleanup DeleteReplicaTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544034 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 04:57:45 +00:00
Mark Robert Miller cd3f22f76b SOLR-5486: cleanup DeleteInactiveReplicaTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544033 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 04:56:22 +00:00
Mark Robert Miller 8def69cd7f SOLR-5369: clean up this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544006 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 02:24:43 +00:00
Mark Robert Miller 1c00bcd424 SOLR-5481: SolrCmdDistributor should not let the http client do it's own retries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543986 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 23:47:06 +00:00
Erick Erickson 4dc4d39cb9 SOLR-5208: Support for the setting of core.properties key/values at create-time on Collections API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543969 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 22:15:17 +00:00
Mark Robert Miller 51a45c9f4d SOLR-5479: Deal with null message in SolrLogLayout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543966 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 21:59:56 +00:00
Mark Robert Miller 4f1ed4ee86 tests: check for fails again - if there was a fail and we compare against control, it's going to fail later anyway
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543944 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 20:59:11 +00:00
Mark Robert Miller 83e28ca6dd SOLR-5479: SolrCmdDistributor retry logic stops if a leader for the request cannot be found in 1 second.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543940 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 20:44:43 +00:00