Commit Graph

2243 Commits

Author SHA1 Message Date
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
Mark Robert Miller 367cb67231 SOLR-5442: Python client cannot parse proxied response when served by Tomcat.
SOLR-5445: Proxied responses should propagate all headers rather than the first one for each key.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542333 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 17:15:32 +00:00
Erick Erickson 44e98a8df3 Fix forbidden API call flagged by 'ant precommit'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542321 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 16:49:01 +00:00
Shalin Shekhar Mangar f61d232630 SOLR-5320: Added support for tri-level compositeId routing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542272 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 14:01:41 +00:00
Shalin Shekhar Mangar a917f0fd3e SOLR-5421: Remove double set of distrib.from param in processAdd method of DistributedUpdateProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542177 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 05:44:14 +00:00
Erick Erickson 7b608c2e1f SOLR-5441: the null-pointer patch addition
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542142 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 00:48:08 +00:00