Commit Graph

2548 Commits

Author SHA1 Message Date
Mark Robert Miller d9e7f46ef9 SOLR-5657: When a SolrCore starts on HDFS, it should gracefully handle HDFS being in safe mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560553 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 22:39:10 +00:00
Chris M. Hostetter 4fcf007f94 SOLR-5594: Allow FieldTypes to specify custom PrefixQuery behavior
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560412 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 16:50:07 +00:00
Noble Paul 03aba1adc3 SOLR-5476 ignored till there is a reliable way to restart Overseer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560314 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 11:13:54 +00:00
Noble Paul bd04876772 SOLR-5476 hardened a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560279 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 08:41:50 +00:00
Mark Robert Miller 1e5f5795dc SOLR-5650: When a replica becomes a leader, only peer sync with other replicas that last published an ACTIVE state.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560221 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 23:52:23 +00:00
Chris M. Hostetter 6851eab30c SOLR-5652: Make test more deterministicly random, and increase logging to try and track down strange test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560219 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 23:32:43 +00:00
Noble Paul 172b0b5231 SOLR-5476 handle nonode exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559936 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 08:20:57 +00:00
Mark Robert Miller fc9f019cdb tests: longer runs with tests.nightly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559790 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 17:54:18 +00:00
Mark Robert Miller fad37f1984 SOLR-5608: Boost wait from 300ms to 500ms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559788 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 17:33:38 +00:00
Mark Robert Miller c504a251f3 SOLR-5488: print exception stack trace rather than eating it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559770 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 16:31:12 +00:00
Mark Robert Miller ab0f5074d4 tests: improve assertion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559764 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 16:14:27 +00:00
Mark Robert Miller ff49a55074 tests: dial back a bit, can hit OOM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559750 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 15:45:49 +00:00
Mark Robert Miller 784ccd1f21 SOLR-5608: Boost wait from 100ms to 300ms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559724 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 15:04:38 +00:00
Noble Paul a136d320b9 SOLR-5476 tests passing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559677 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 12:48:56 +00:00
Mark Robert Miller d16dc6cf6d tests: harden this stress test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559614 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 00:36:11 +00:00
Mark Robert Miller 4ee5920ba2 SOLR-5608: Raise wait for leader timeout from 1000 to 15000
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559609 13f79535-47bb-0310-9956-ffa450edef68
2014-01-19 23:48:36 +00:00
Mark Robert Miller 1a715dd4d6 SOLR-5608: Harden test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559600 13f79535-47bb-0310-9956-ffa450edef68
2014-01-19 23:23:07 +00:00
Mark Robert Miller fb9374bffb SOLR-5645: A SolrCore reload via the CoreContainer will try and register in zk again with the new SolrCore.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559578 13f79535-47bb-0310-9956-ffa450edef68
2014-01-19 20:34:52 +00:00
Noble Paul dd8fe60fc7 SOLR-5476 ftests are being fixed . SO ignore for the time being
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559399 13f79535-47bb-0310-9956-ffa450edef68
2014-01-18 19:40:13 +00:00
Ryan Ernst 7ace4d4997 SOLR-5633: HttpShardHandlerFactory should make its http client available to subclasses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559236 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 19:45:43 +00:00
Noble Paul 50682f5ab7 SOLR-5476 logging added
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559100 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 13:30:33 +00:00
Uwe Schindler 021b937b27 SOLR-5476: Fix forbidden.
PLEASE RUN "ant precommit" (root) or alternatively the faster "ant check-forbidden-apis" (in your module folder) before committing!

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559043 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 08:07:46 +00:00
Mark Robert Miller 5cacfe37f7 SOLR-4260: ConcurrentUpdateSolrServer#blockUntilFinished can return before all previously added updates have finished. This could cause distributed updates meant for replicas to be lost.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558978 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 01:48:41 +00:00
Chris M. Hostetter a6b1c654d1 SOLR-5463: more details in case of spooky 'walk already seen' errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558939 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 22:38:30 +00:00
Michael McCandless 7b34ac5c61 LUCENE-5399: add missingFirst/last support when sorting by Type.STRING; speed up deep paging; fix solr's distributed group sort for certain field types
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558865 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 17:40:25 +00:00
Noble Paul f70138214b SOLR-5476 removing forbidden API usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558846 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 16:24:34 +00:00
Noble Paul d9b3ed94e7 SOLR-5476 , logging added
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558829 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 15:14:14 +00:00
Noble Paul 359d41adf5 SOLR-5476 Overseer Role for nodes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558760 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 11:25:57 +00:00
Mark Robert Miller c30f4ebd04 SOLR-5636: SolrRequestParsers does some xpath lookups on every request, which can cause concurrency issues.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558688 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 03:46:34 +00:00
Robert Muir 0461883e2e SOLR-5631: Add support for FreeTextSuggester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558635 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 01:22:28 +00:00
Robert Muir 11a5162fca LUCENE-5399, SOLR-5354: fix distributed grouping to marshal/unmarshal sort values properly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene539399@1558618 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 23:58:51 +00:00
Robert Muir 679c3c8de8 LUCENE-5399: remove code duplication
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene539399@1558552 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 19:44:06 +00:00
Mark Robert Miller 5945077918 SOLR-5632: Fix SolrCore leak.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558467 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 17:08:26 +00:00
Mark Robert Miller e5b31d2904 SOLR-5632: Improve response message for reloading a non-existent core.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558459 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 16:44:25 +00:00
Robert Muir 4694ef69eb LUCENE-5399: current state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene539399@1558451 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 16:21:31 +00:00
Steven Rowe 4460fb2560 SOLR-5463: added randomized faceting test to CursorPagingTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1557800 13f79535-47bb-0310-9956-ffa450edef68
2014-01-13 18:27:02 +00:00
Mark Robert Miller cb23c8ba3c SOLR-4992: Solr eats OutOfMemoryError exceptions in many cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1557778 13f79535-47bb-0310-9956-ffa450edef68
2014-01-13 17:26:38 +00:00
Robert Muir 13084e4e81 SOLR-5529: add support for queries to use multiple suggesters in SuggestComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1557206 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 17:59:22 +00:00
Chris M. Hostetter 90f4e12a7c SOLR-5618: fix stupid test mistake
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1557031 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 05:09:10 +00:00
Chris M. Hostetter 6b33a8c593 SOLR-5618: Fix false cache hits in queryResultCache when hashCodes are equal and duplicate filter queries exist in one of the requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556988 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 23:55:46 +00:00
Joel Bernstein 23ae54b652 SOLR-5541: Allow QueryElevationComponent to accept elevateIds and excludeIds as http parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556903 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 18:14:58 +00:00
Robert Muir ab0e85fafe LUCENE-5388: remove Reader from Tokenizer ctor (closes #16)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556801 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 13:27:29 +00:00
Mark Robert Miller 4f72365ba2 SOLR-5615: Deadlock while trying to recover after a ZK session expiration.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556572 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 16:35:17 +00:00
Chris M. Hostetter 5efc4132f1 SOLR-5463: new 'cursorMark' request param for deep paging of sorted result sets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556036 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 21:15:45 +00:00
Mark Robert Miller 2970e46163 SOLR-5608: Unregister core from cloud state after closing in unload.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555685 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 06:15:15 +00:00
Mark Robert Miller 5dfb49986e SOLR-5608: Don't allow a closed SolrCore to publish state to ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555659 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 04:37:48 +00:00
Uwe Schindler 2e6b894036 LUCENE-5372: Replace StringBuffer by StringBuilder, where possible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555645 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 23:04:09 +00:00
Mark Robert Miller 4961aa0807 SOLR-5607: Repeatable TestReplicationHandler#doTestStressReplication fail.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555623 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 20:20:35 +00:00
Robert Muir 0fb9f03de6 pull request #11: change the default of hl.phraseLimit to 5000
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555367 13f79535-47bb-0310-9956-ffa450edef68
2014-01-04 16:43:32 +00:00
Shalin Shekhar Mangar 4612f80e8d SOLR-5601: Use zkStateReader.getLeaderRetry to find the leader of a newly created temp collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555083 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 13:39:11 +00:00
Jan Høydahl ca5f42a14e SOLR-5564: hl.maxAlternateFieldLength should apply to original field when fallback field does not exist
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555035 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 09:04:59 +00:00
Joel Bernstein 43535fecb8 SOLR-5536: Add ValueSource collapse criteria to CollapsingQParserPlugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554523 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 14:35:48 +00:00
Mark Robert Miller 7d7ef806b3 SOLR-5581: Give ZkCLI the ability to get files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554304 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 20:01:43 +00:00
Mark Robert Miller a59dec83e5 SOLR-5580: Remove more code that is not legal for determining if a core is new or not.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554138 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 04:28:35 +00:00
Mark Robert Miller 15fbdbd3a6 SOLR-5588: PeerSync doesn't count all connect failures as success.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554129 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 03:24:25 +00:00
Mark Robert Miller f0944d6b06 SOLR-5587: ElectionContext implementations should use ZkCmdExecutor#ensureExists to ensure their election paths are properly created.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554113 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 00:35:59 +00:00
Mark Robert Miller e08106c568 tests: raise timeouts for nightly runs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554112 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 00:34:00 +00:00
Mark Robert Miller e73c522f0b when sending a non retry update fails, log it at warn level
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554109 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 00:25:10 +00:00
Mark Robert Miller f63357957e tests: some nightly tests need solr.hdfs.home - just always set it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554107 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 00:07:24 +00:00
Mark Robert Miller 9b5c2e254b SOLR-5586: All ZkCmdExecutor's should be initialized with the zk client timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554101 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 23:52:58 +00:00
Mark Robert Miller 8fcdf1d85a tests: remove so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554058 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 19:47:49 +00:00
Mark Robert Miller c3f2a19022 SOLR-5580: NPE when creating a core with both explicit shard and coreNodeName.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553967 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 23:19:03 +00:00
Mark Robert Miller 9a5c901fd6 SOLR-5442: Move CHANGES entry to 4.6.1
SOLR-5445: Move CHANGES entry to 4.6.1

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553942 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 22:18:24 +00:00
Mark Robert Miller cd9e1129ec SOLR-5577: Likely ZooKeeper expiration should not slow down updates a given amount, but instead cut off updates after a given time.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553912 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 20:49:13 +00:00
Shalin Shekhar Mangar 49209e1d16 SOLR-5214: Reduce memory usage for shard splitting by merging segments one at a time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553644 13f79535-47bb-0310-9956-ffa450edef68
2013-12-27 08:36:23 +00:00
Shalin Shekhar Mangar ca4acb2bb7 SOLR-5567: ZkController getHostAddress duplicates url prefix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553491 13f79535-47bb-0310-9956-ffa450edef68
2013-12-26 14:56:31 +00:00
Mark Robert Miller 76f3bbef6e SOLR-5576: Improve concurrency when registering and waiting for all SolrCore's to register a DOWN state.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553178 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 19:00:14 +00:00
Mark Robert Miller 227ce7c228 SOLR-5573: ChaosMonkey should randomly turn off Solr's commit on shutdown option.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553159 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 17:34:24 +00:00
Mark Robert Miller be7d4f195f SOLR-5574: CoreContainer shutdown publishes all nodes as down and waits to see that and then again publishes all nodes as down.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553157 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 17:31:50 +00:00
Noble Paul 97d3e2d546 SOLR-5525 use hasCollection()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553095 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 11:44:21 +00:00
Mark Robert Miller 8d9d344501 SOLR-5569: fix how this check is done - we need to hit the rest of the loop, not continue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553072 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 05:45:28 +00:00
Mark Robert Miller e7d67c783b SOLR-5552: Leader recovery process can select the wrong leader if all replicas for a shard are down and trying to recover as well as lose updates that should have been recovered.
SOLR-5569 A replica should not try and recover from a leader until it has published that it is ACTIVE. 
SOLR-5568 A SolrCore cannot decide to be the leader just because the cluster state says no other SolrCore's are active. 

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553031 13f79535-47bb-0310-9956-ffa450edef68
2013-12-22 21:16:52 +00:00
Robert Muir 7808f7f44e fix locale violation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1552334 13f79535-47bb-0310-9956-ffa450edef68
2013-12-19 16:20:22 +00:00
Alan Woodward 25b53be6f9 SOLR-5556: Allow CollectionsHandler and InfoHandler classes to be specified in solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1552044 13f79535-47bb-0310-9956-ffa450edef68
2013-12-18 17:35:24 +00:00
Joel Bernstein a18470e858 SOLR-5416: CollapsingQParserPlugin bug with tagging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1551999 13f79535-47bb-0310-9956-ffa450edef68
2013-12-18 16:06:13 +00:00
Robert Muir 22baafc512 SOLR-5528: improve response format of the new SuggestComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1551753 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 23:14:11 +00:00
Alan Woodward 507cb684b7 Fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1551053 13f79535-47bb-0310-9956-ffa450edef68
2013-12-15 20:46:27 +00:00
Alan Woodward 234acf76b5 SOLR-5543: Core Swaps result in duplicate entries in solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550969 13f79535-47bb-0310-9956-ffa450edef68
2013-12-14 21:11:18 +00:00
Alan Woodward d22cffebb7 SOLR-5555: CloudSolrServer and LBHttpSolrServer shouldn't throw MUE from constructors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550824 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 19:47:06 +00:00
Shalin Shekhar Mangar f590fe62a6 SOLR-3702: Reverting commit because it breaks QueryEqualityTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550676 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 10:25:43 +00:00
Shalin Shekhar Mangar 78d8d0c535 SOLR-3702: A 'concat' function query to support concatenation of Strings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550656 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 06:40:01 +00:00
Mark Robert Miller 5b0ae51d63 SOLR-5547: Creating a collection alias using SolrJ's CollectionAdminRequest sets the alias name and the collections to alias to the same value.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550548 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 21:57:39 +00:00
Mark Robert Miller 8f6343fb83 SOLR-5548: Give DistributedSearchTestCase / JettySolrRunner the ability to specify extra filters.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550508 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 20:15:52 +00:00
Uwe Schindler 7e070c34a4 SOLR-5492: Ignore broken test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550323 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 00:13:14 +00:00
Shalin Shekhar Mangar bee606588d SOLR-5492: Added shardAddress in grouping query responses. Added tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550143 13f79535-47bb-0310-9956-ffa450edef68
2013-12-11 14:12:26 +00:00
Shalin Shekhar Mangar 4b8d5f0d51 SOLR-5308: Handle route keys with bit separators. Route docs to target shard leader directly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1549821 13f79535-47bb-0310-9956-ffa450edef68
2013-12-10 11:48:30 +00:00
Steven Rowe a1461ad9b1 LUCENE-5364: Replace hard-coded Version.LUCENE_XY that doesn't have to be hard-coded (because of back-compat testing or version dependent behavior, or demo code that should exemplify pinning versions in user code), with Version.LUCENE_CURRENT in non-test code, or with LuceneTestCase.TEST_VERSION_CURRENT in test code; upgrade hard-coded Version.LUCENE_XY constants that should track the next release version to the next release version if they aren't already there, and put a token near them so that they can be found and upgraded when the next release version changes: ':Post-Release-Update-Version.LUCENE_XY:'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1549701 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 22:53:38 +00:00
Noble Paul 07a2322efd SOLR-5525
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1549591 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 14:58:53 +00:00
Noble Paul 60a881a00b SOLR-5525
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1549552 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:22:29 +00:00
Chris M. Hostetter 101f0b4978 test to help verify that functions wrapping queries (or filtered by queries) are only evaluated for docs that match those queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548955 13f79535-47bb-0310-9956-ffa450edef68
2013-12-07 19:28:58 +00:00
Mark Robert Miller 0c8d47a00e SOLR-5540: HdfsLockFactory should explicitly create the lock parent directory if necessary.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548590 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 16:44:53 +00:00
Noble Paul 0754f884a1 SOLR-5525
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548503 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 12:58:35 +00:00
Noble Paul dab93e43cc SOLR-5525
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547565 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 20:20:48 +00:00
Mark Robert Miller 1f57856b90 SOLR-5502: A "/" in a document id will cause an exception to be thrown when using the composite id router.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547452 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 16:10:58 +00:00
Steven Rowe dff3579da3 SOLR-5354: applying hoss's patch to fix function edge case in distributed sort
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547430 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 15:22:59 +00:00
Mark Robert Miller e8237d6a7a SOLR-5449: Add more stress testing around creating and removing collections.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547415 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 14:55:42 +00:00
Noble Paul df14f55a40 SOLR-5519
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547324 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 09:29:24 +00:00
Ryan Ernst ce46fecc28 SOLR-5517: Return HTTP error on POST requests with no Content-Type
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547322 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 09:19:30 +00:00
Erick Erickson 8e6f865dee SOLR-5518: Move editing files to a separte request handler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547251 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 00:55:25 +00:00
Mark Robert Miller 7ab2e1f787 SOLR-1301: Add a Solr contrib that allows for building Solr indexes via Hadoop's MapReduce.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547139 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 18:42:23 +00:00
Shalin Shekhar Mangar 4109c6db33 SOLR-1871: The 'map' function query accepts a ValueSource as target and default value
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546926 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 08:33:33 +00:00
Noble Paul a7f879db76 SOLR-5510
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546922 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 07:25:58 +00:00
Mark Robert Miller 2cc87df6ef SOLR-5516: Try only waiting if we are a replacement leader and waiting a bit longer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546851 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 20:15:47 +00:00
Mark Robert Miller bbd4548428 SOLR-5509: Better string ids for these tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546821 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 15:52:08 +00:00
Shalin Shekhar Mangar f56bf5b9d0 SOLR-5204: StatsComponent and SpellCheckComponent do not support the shards.tolerant=true parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546819 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 15:06:42 +00:00
Shalin Shekhar Mangar 1460d8c9d5 SOLR-5023: Add support for deleteInstanceDir to be passed from SolrJ for Core Unload action
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546793 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 09:06:31 +00:00
Mark Robert Miller 7b7339d733 SOLR-5509: Raise id's per thread so they won't overlap
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546779 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 05:09:31 +00:00
Shalin Shekhar Mangar 655a12466f SOLR-5515: NPE when getting stats on date field with empty result on SolrCloud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546725 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 13:04:23 +00:00
Mark Robert Miller 484c8e98bb SOLR-5509: More logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546685 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 03:34:27 +00:00
Mark Robert Miller 1641ccea60 SOLR-5516: wait a moment before trying to Sync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546683 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 03:03:44 +00:00
Mark Robert Miller 4460efe729 tests: remove start the deadpool option when monkey stops
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546677 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 02:19:12 +00:00
Robert Muir cafdce601c SOLR-5512: Optimize DocValuesFacets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546675 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 01:32:26 +00:00
Mark Robert Miller 7bae4083e1 SOLR-5509: allow retry updates to self again, don't retry on remote solrserver exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546670 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 01:04:27 +00:00
Steven Rowe 921bd47919 SOLR-5354: Distributed sort is broken with CUSTOM FieldType
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546457 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 21:00:28 +00:00
Mark Robert Miller 8ed8d46efe SOLR-5509: Do not retry to yourself.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546286 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 05:15:16 +00:00
Mark Robert Miller 301d7a080a SOLR-5509: Always add a param for 'from' node.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546278 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 04:09:02 +00:00
Erick Erickson efbc66ca8f SOLR-5488: Added more test info output. Somehow lost some of what I did yesterday
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546263 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 03:17:30 +00:00
Robert Muir fcb7e37c29 SOLR-5506: Support docValues in (ICU)CollationField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546245 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 00:31:03 +00:00
Mark Robert Miller e5fbf6dce2 SOLR-5504: Windows can throw a ConnectException when Linux throws a SocketException - also add a bit more testing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546224 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 23:15:13 +00:00
Mark Robert Miller e54b08e2ab SOLR-5509: fix possible npe
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546189 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 20:43:35 +00:00
Mark Robert Miller 2939fce489 SOLR-5509: better debug logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546186 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 20:40:01 +00:00
Mark Robert Miller 83da40be81 SOLR-5509: Beef up retry logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546164 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 19:24:22 +00:00
Erick Erickson 38643894d1 SOLR-5488: Changing Facets testing to use DOM rather than string operations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546074 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 15:24:24 +00:00
Shalin Shekhar Mangar b1a7190dbb SOLR-5492: Return the replica that actually served the query in shards.info response
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545662 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 14:05:12 +00:00
Erick Erickson 9db2e666e2 SOLR-5488: Revamped ExpressionTest to use the DOM parsing in AbstractAnalyticsStatsTest rather than string operations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545650 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 13:25:20 +00:00
Shalin Shekhar Mangar 0302eeb254 SOLR-5499: Log a warning if /get is not registered when using SolrCloud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545554 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 07:02:17 +00:00
Erick Erickson bc38be3e07 SOLR-5488: Fix up test failures for analytics component. Some cleanups suggested by IntelliJ's analysis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545514 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 02:42:18 +00:00
Mark Robert Miller ee21f3b465 raise retries a bit - it can take a bit for a new leader to take over
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545512 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 02:34:46 +00:00
Mark Robert Miller 8f94ae68de SOLR-5503: Retry 'forward to leader' requests less aggressively - rather than on IOException, ConnectException.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545464 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 23:59:40 +00:00
Mark Robert Miller bf251f501d We need better testing for SolrCmdDistributor retry logic.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545428 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 22:32:05 +00:00
Erick Erickson 728b740ede SOLR-5488: Fixing up tests for analytics component
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545417 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 21:59:09 +00:00
Mark Robert Miller 295ce29bfb tests: have ChaosMonkeyNothingIsSafeTest start up down nodes at the end so that any final updates won't fail because there is no leader coming
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545409 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 21:14:11 +00:00
Shalin Shekhar Mangar 5d45ce858f SOLR-5378: Add dependencies of lucene's expressions module to Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545311 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 14:59:29 +00:00
Mark Robert Miller 7d5363964c SOLR-5488: fix forbidden api call
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545143 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 03:16:26 +00:00
Mark Robert Miller 4eaf2769ad tests: boost timeout a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545137 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 02:44:47 +00:00
Mark Robert Miller 88c177ead6 SOLR-4711: enable these tests on java 8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545131 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 01:42:01 +00:00
Mark Robert Miller 56a116aae8 SOLR-5417: fail if the chaosmonkey runs for over 20 seconds and doesn't kill a jetty
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545125 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 01:11:51 +00:00
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 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 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
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
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
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
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
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
Erick Erickson 915977b6e8 Adding debug information to diagnose failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543796 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 12:09:24 +00:00
Erick Erickson fe2e612ebd SOLR-5459: Try loading a temporary core when saving a file in the admin UI config editing mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543660 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 00:15:13 +00:00
Erick Erickson 122171155f SOLR-5302 Analytics component. Checking in to trunk, we'll let it back then port to 4x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543651 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 23:45:31 +00:00
Shawn Heisey 6b67d485dc fix typo in jmx log message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543545 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 19:39:53 +00:00
Shalin Shekhar Mangar 94fe5db45c Reformatted code according to lucene/solr standards
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543422 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 13:25:12 +00:00
Mark Robert Miller 8822632048 SOLR-5465: SolrCmdDistributor retry logic has a concurrency race bug.
SOLR-5464: ConcurrentSolrServer does not stream pure delete by id requests.
SOLR-5452: Do not attempt to proxy internal update requests.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543299 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 03:13:33 +00:00
Mark Robert Miller d6e1114002 tests: set request info on SyncStrategy for better logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543205 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 22:33:25 +00:00
Mark Robert Miller 2115c05de9 SOLR-5452: Back this out for a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543108 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 18:52:01 +00:00
Mark Robert Miller b10061bf11 SOLR-5452: Parse params correctly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543097 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 18:19:26 +00:00
Mark Robert Miller 74deac93f8 SOLR-5461: Request proxying should only set con.setDoOutput(true) if the
request is a post.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543088 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 17:18:37 +00:00
Mark Robert Miller d88ee060b5 SOLR-5460: SolrDispatchFilter#sendError can get a SolrCore that it does not close.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543078 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 16:47:02 +00:00
Mark Robert Miller 4f1a857977 SOLR-5452: Do not attempt to proxy internal update requests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543037 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 14:31:18 +00:00
Mark Robert Miller d9e8a31a15 tests: try running this tests again to see how it goes...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543022 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 13:25:26 +00:00
Mark Robert Miller e8fbefc83d SOLR-5397: Replication can fail silently in some cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542884 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 04:00:56 +00:00
Erick Erickson 6e78f9a497 SOLR-5455: add managed schema name to the files the admin UI cannot edit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542859 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 22:59:42 +00:00
Mark Robert Miller 194238944c tests: improve example test debug logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542784 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 18:29:53 +00:00
Mark Robert Miller 496f27ad66 tests: add useful commented out logging options for solrcloud debug to log4j test config file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542634 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 02:44:59 +00:00
Mark Robert Miller 7f478c9999 tests: null out a couple statics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542625 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 01:00:16 +00:00
Mark Robert Miller add510e6a9 SOLR-5453: Raise recovery socket read timeouts.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542620 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 00:38:59 +00:00
Mark Robert Miller f43a661898 SOLR-5451: SyncStrategy closes it's http connection manager before the executor that uses it in it's close method.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542604 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 22:30:04 +00:00
Shalin Shekhar Mangar 653297153b SOLR-5447: Added a test for simple query parser in QueryEqualityTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542507 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 13:20:54 +00:00
Shalin Shekhar Mangar d34549874c SOLR-5447: Add a QParserPlugin for Lucene's SimpleQueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542486 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 09:16:57 +00:00
Erick Erickson a40ee0f5bc SOLR-5448: ShowFileRequestHandler treats everything as Directory, when in Cloud-Mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542436 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 00:53:41 +00:00
Erick Erickson 7f2b8bc419 SOLR-5287: Allow at least solrconfig.xml and schema.xml to be edited via the admin screen
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542345 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 17:53:20 +00:00