Commit Graph

470 Commits

Author SHA1 Message Date
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
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
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 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 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
Mark Robert Miller 2360b51bd6 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542305 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 16:08:25 +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 5d2d0e70f3 SOLR-5308: A new 'migrate' collection API to split all documents with a route key into another collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1541832 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 05:58:22 +00:00
Ryan Ernst 978a849f61 SOLR-5399: Add distributed request tracking information to DebugComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1541774 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 01:08:41 +00:00
Uwe Schindler 7315a90a7b LUCENE-4753: Run forbidden-apis Ant task per module. This allows more improvements and prevents OOMs after the number of class files raised recently
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1540573 13f79535-47bb-0310-9956-ffa450edef68
2013-11-10 22:50:51 +00:00
Erick Erickson a9f8bf654c SOLR-5084: added enum field type to Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1539111 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 19:41:28 +00:00
Steven Rowe 9990a2eab9 LUCENE-5322: Clean up / simplify Maven-related Ant targets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538144 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 05:04:19 +00:00
Mark Robert Miller 4f5426ae94 SOLR-5392: Add conf set name to solrj collection create methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537941 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 14:14:07 +00:00
Mark Robert Miller 5952539b07 SOLR-5392: Extend solrj apis to cover collection management.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537787 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 00:50:08 +00:00
Yonik Seeley 6bca1a44e9 SOLR-5406: pass params with delete
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537374 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 04:35:25 +00:00
Noble Paul 0ce6e9a694 SOLR-5311 - Avoid registering replicas which are removed , SOLR-5310 -Add a collection admin command to remove a replica
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1536606 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 08:37:02 +00:00
Mark Robert Miller 9c47892d4e SOLR-5380: Using cloudSolrServer.setDefaultCollection(collectionId) does not work as intended for an alias spanning more than 1 collection.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1535076 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 17:11:44 +00:00
Shalin Shekhar Mangar e29c49f458 SOLR-5300: Check that the supplied hash ranges actually cover the entire range of the shard
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1534974 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 10:26:20 +00:00
Mark Robert Miller 4975ad612b SOLR-5371: Solr should consistently call SolrServer#shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1534002 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 22:58:36 +00:00
Mark Robert Miller b01114939a SOLR-5361: Hit Schemaless example with some tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533801 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 18:04:25 +00:00
Mark Robert Miller d4f285c177 SOLR-5359: ZooKeeper client is not closed when it fails to connect to an ensemble.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533786 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 17:09:56 +00:00
Mark Robert Miller 3f289b737b SOLR-5223: SolrCloud should use the JavaBin binary format for communication by default.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533684 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 03:24:08 +00:00
Mark Robert Miller 457d1ac0c0 SOLR-5367: Unmarshalling delete by id commands with JavaBin can lead to class cast exception.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533683 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 03:23:33 +00:00
Mark Robert Miller 02e255ae46 SOLR-5216: Document updates to SolrCloud can cause a distributed deadlock.
SOLR-5232: SolrCloud should distribute updates via streaming rather than buffering.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533649 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 22:10:53 +00:00
Shalin Shekhar Mangar ea81f1add6 SOLR-5353: Enhance CoreAdmin api to split a route key's documents from an index and leave behind all other documents
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533163 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 17:08:59 +00:00
Shalin Shekhar Mangar 3aacbf9f91 SOLR-5338: CompositeIdRouter.keyHashRange should not throw exception if route key is not composite
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1532867 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 19:16:17 +00:00
Shalin Shekhar Mangar e572dce1e5 SOLR-5349: CloudSolrServer - ZK timeout arguments passed to ZkStateReader are flipped
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1532314 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 12:47:42 +00:00
Shalin Shekhar Mangar 116439fa67 SOLR-5338: Split shards by a route key using split.key parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531845 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 10:48:02 +00:00
Mark Robert Miller 618a204ced SOLR-4327: HttpSolrServer can leak connections on errors.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531596 13f79535-47bb-0310-9956-ffa450edef68
2013-10-12 21:26:54 +00:00
Mark Robert Miller 0d4e91abe9 SOLR-5325: raise retry padding a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531323 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 15:08:13 +00:00
Shalin Shekhar Mangar 2ab0051551 SOLR-5324: Make sub shard replica recovery and shard state switch asynchronous
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530994 13f79535-47bb-0310-9956-ffa450edef68
2013-10-10 14:26:29 +00:00
Mark Robert Miller 8281cbf8af SOLR-5306: Extra collection creation parameters like collection.configName are not being respected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530772 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 19:46:00 +00:00
Shalin Shekhar Mangar 2cd31e54b5 SOLR-5300: Shards can be split by specifying arbitrary number of hash ranges within the shard's hash range
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529444 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 13:00:36 +00:00
Shalin Shekhar Mangar 2b1bea8279 SOLR-5255: Remove unnecessary call to fetch and watch live nodes in ZkStateReader cluster watcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529433 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 11:08:26 +00:00
Shawn Heisey 4ebdcbafb4 SOLR-5264: move getBooleanArg to NamedList#removeBooleanArg
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528976 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 19:12:30 +00:00
Shawn Heisey 86a0b893fe SOLR-5264 - move config argument retrieval/removal from Update Processor code to NamedList
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528680 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 23:45:25 +00:00
Mark Robert Miller 54cd6ff0fb SOLR-5263: Fix CloudSolrServer URL cache update race.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528457 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 13:15:02 +00:00
Steven Rowe 02d8e37328 LUCENE-5249: All Lucene/Solr modules should use the same dependency versions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528215 13f79535-47bb-0310-9956-ffa450edef68
2013-10-01 21:01:12 +00:00
Noble Paul d36147eca7 SOLR-5258 compute full composite hash on router.field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528113 13f79535-47bb-0310-9956-ffa450edef68
2013-10-01 15:01:01 +00:00
Mark Robert Miller ba17276592 SOLR-3530: Add missing 'throw'.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527784 13f79535-47bb-0310-9956-ffa450edef68
2013-09-30 21:01:17 +00:00
Mark Robert Miller e02c6d0c14 SOLR-3530: Handle content type correctly when a response parser cannot be used.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527776 13f79535-47bb-0310-9956-ffa450edef68
2013-09-30 20:53:24 +00:00
Mark Robert Miller 4f8f10dcb0 SOLR-5291: Solrj does not propagate the root cause to the user for many errors.
SOLR-3530: Better error messages / Content-Type validation in SolrJ.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527547 13f79535-47bb-0310-9956-ffa450edef68
2013-09-30 13:20:27 +00:00
Mark Robert Miller b00def795a SOLR-5273: Update HttpComponents to 4.2.5 and 4.2.6.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526659 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 19:49:48 +00:00
Yonik Seeley 7df5169ef4 SOLR-4221: make new solrj client/router able to read old clusterstate
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526244 13f79535-47bb-0310-9956-ffa450edef68
2013-09-25 17:52:54 +00:00
Yonik Seeley d038299faf SOLR-4221: back compat for router spec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526003 13f79535-47bb-0310-9956-ffa450edef68
2013-09-24 20:39:54 +00:00
Yonik Seeley f4c6a05206 SOLR-5261: fix javabin block indexing back compat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525732 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 23:31:13 +00:00