Commit Graph

933 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar 46bdcca89e SOLR-4715: Add CloudSolrServer constructors which accept a HttpClient instance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632049 13f79535-47bb-0310-9956-ffa450edef68
2014-10-15 14:09:31 +00:00
Noble Paul 048d0e7bf4 SOLR-6617
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631649 13f79535-47bb-0310-9956-ffa450edef68
2014-10-14 07:21:26 +00:00
Shalin Shekhar Mangar 169b0a41cf SOLR-5852: Add CloudSolrServer helper method to connect to a ZK ensemble
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631409 13f79535-47bb-0310-9956-ffa450edef68
2014-10-13 14:23:24 +00:00
Gregory Chanan 2da8697230 SOLR-6609: queryParams not respected for single-stream UpdateRequests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1630576 13f79535-47bb-0310-9956-ffa450edef68
2014-10-09 20:00:32 +00:00
Shalin Shekhar Mangar d5191d5674 SOLR-6603: LBHttpSolrServer - lazily allocate skipped-zombie-servers list. (This closes #97)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1630285 13f79535-47bb-0310-9956-ffa450edef68
2014-10-09 05:32:06 +00:00
Erick Erickson aa5227c99f SOLR-6513: Add a collectionsAPI call BALANCESLICEUNIQUE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1630143 13f79535-47bb-0310-9956-ffa450edef68
2014-10-08 15:28:42 +00:00
Tomas Eduardo Fernandez Lobbe 4244b5f82d SOLR-6589: Test is fixed by the commit in SOLR-6590
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629923 13f79535-47bb-0310-9956-ffa450edef68
2014-10-07 16:34:49 +00:00
Tomas Eduardo Fernandez Lobbe 74ca91be6c SOLR-6589: Ignoring testExampleConfig until there is a fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629517 13f79535-47bb-0310-9956-ffa450edef68
2014-10-05 17:56:14 +00:00
Erick Erickson aa2f8bad25 SOLR-6512: Add a collections API call to add/delete arbitrary properties to a specific replica
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1628773 13f79535-47bb-0310-9956-ffa450edef68
2014-10-01 16:57:49 +00:00
Gregory Chanan d1499bffa3 SOLR-6565: SolrRequest support for query params
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627898 13f79535-47bb-0310-9956-ffa450edef68
2014-09-26 22:04:14 +00:00
Anshum Gupta b820bf78f3 SOLR-5986: Add an ExitableDirectoryReader in Lucene and use that to support exiting of long running queries in Solr.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627622 13f79535-47bb-0310-9956-ffa450edef68
2014-09-25 19:42:07 +00:00
Gregory Chanan fe0c5d68f5 SOLR-6543: Give HttpSolrServer the ability to send PUT requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627460 13f79535-47bb-0310-9956-ffa450edef68
2014-09-25 06:04:05 +00:00
Noble Paul defaa27e69 SOLR-6485
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627340 13f79535-47bb-0310-9956-ffa450edef68
2014-09-24 14:47:37 +00:00
Timothy Potter 52a787e311 SOLR-6550: Provide simple mechanism for passing additional metadata / context about a server-side SolrException back to the client-side
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627154 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 20:29:14 +00:00
Noble Paul e096d4ae93 related to the failures seen here SOLR-6347
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627122 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 19:19:57 +00:00
Steven Rowe 07dec8cab8 SOLR-5474 Fix NPE in tests (some more)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626602 13f79535-47bb-0310-9956-ffa450edef68
2014-09-21 16:02:00 +00:00
Noble Paul 346e8f52bd SOLR-5474 NPE in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626534 13f79535-47bb-0310-9956-ffa450edef68
2014-09-21 07:01:23 +00:00
Erick Erickson e381b67e93 SOLR-6482: Add an onlyIfDown flag for DELETEREPLICA collections API command
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624930 13f79535-47bb-0310-9956-ffa450edef68
2014-09-15 03:08:05 +00:00
Robert Muir 3eb66fb19c LUCENE-5945: Full cutover to Path api from java.io.File
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624784 13f79535-47bb-0310-9956-ffa450edef68
2014-09-13 21:46:29 +00:00
Noble Paul 3525a56010 SOLR-6514
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624717 13f79535-47bb-0310-9956-ffa450edef68
2014-09-13 08:51:39 +00:00
Steven Rowe 125feae224 SOLR-6508: SolrSchemalessExampleTests -> SolrSchemalessExampleTest (removed trailing 's' blocking execution under Ant); example-schemaless solr home is now copied to a temp dir before executing the tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624616 13f79535-47bb-0310-9956-ffa450edef68
2014-09-12 19:00:39 +00:00
Noble Paul 7888a43541 split clusterstate.json SOLR-5473, SOLR-5474, SOLR-5810
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624556 13f79535-47bb-0310-9956-ffa450edef68
2014-09-12 14:11:17 +00:00
Shalin Shekhar Mangar 34a47e66ca SOLR-6501: Binary Response Writer does not return wildcard fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624370 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 19:40:04 +00:00
Noble Paul db577f5962 SOLR-6457
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622820 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 23:58:10 +00:00
Noble Paul ae797c0e18 SOLR-6457
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622817 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 23:40:05 +00:00
Robert Muir 3604769c3a LUCENE-5906: Use Files.delete everywhere instead of File.delete
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622506 13f79535-47bb-0310-9956-ffa450edef68
2014-09-04 15:56:25 +00:00
Anshum Gupta 7b378be2f8 SOLR-6073: Deprecate helper methods for CollectionsAPI SolrJ calls. Move towards using builder design for the calls.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622121 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 21:00:31 +00:00
Noble Paul 367df46c7d SOLR-6365: specify appends, defaults, invariants outside of the request handler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621414 13f79535-47bb-0310-9956-ffa450edef68
2014-08-30 02:53:26 +00:00
Mark Robert Miller a61a530190 SOLR-4580: Support for protecting content in ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621294 13f79535-47bb-0310-9956-ffa450edef68
2014-08-29 12:30:53 +00:00
Shalin Shekhar Mangar 6f1c5de38f SOLR-6437: Managed schema is not enabled with /update/json and /update/json/docs request handlers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620768 13f79535-47bb-0310-9956-ffa450edef68
2014-08-27 00:37:48 +00:00
Ryan Ernst 2e7acd8f73 LUCENE-5901:Replaced all occurences of LUCENE_CURRENT with LATEST for luceneMatchVersion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620718 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 20:00:51 +00:00
Mark Robert Miller 3f4ae2dafb SOLR-6426: SolrZkClient clean can fail due to a race with children nodes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620245 13f79535-47bb-0310-9956-ffa450edef68
2014-08-25 00:03:27 +00:00
Shawn Heisey f695231df7 SOLR-6390: CloudSolrServer constructor improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620146 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 16:08:25 +00:00
Mark Robert Miller bcddb85bca SOLR-6405: Update comment around retry pause padding.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619892 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 18:35:10 +00:00
Mark Robert Miller 9f4144e8e2 SOLR-6405: Remove unnecessary attemptCount > 0 check.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619879 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 18:13:21 +00:00
Mark Robert Miller f06d3bf977 SOLR-6405: ZooKeeper calls can easily not be retried enough on ConnectionLoss.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619810 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 14:02:06 +00:00
Mark Robert Miller 277136452a SOLR-6400: SolrCloud tests are not properly testing session expiration.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619612 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 22:29:12 +00:00
Mark Robert Miller f25288764a SOLR-5656: Add autoAddReplicas feature for shared file systems.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617919 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 12:32:27 +00:00
Chris M. Hostetter 910d467a93 SOLR-2894: Distributed query support for facet.pivot
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617789 13f79535-47bb-0310-9956-ffa450edef68
2014-08-13 18:23:53 +00:00
James Dyer b5e18c6ccb SOLR-3029: Spellcheck response format changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617572 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 19:40:10 +00:00
Noble Paul f6d0fe58ed SOLR-6304 wildcard fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617424 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 07:00:55 +00:00
Noble Paul 6caeac6c2c SOLR-6304 JsonLoader should be able to flatten an input JSON to multiple docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617287 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 14:07:38 +00:00
Uwe Schindler 498915a824 SOLR-6360: Remove bogus "Content-Charset" header in HttpSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617218 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 08:07:00 +00:00
Ryan Ernst 872bd9145c LUCENE-5871: Remove Version from IndexWriterConfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617004 13f79535-47bb-0310-9956-ffa450edef68
2014-08-09 18:54:35 +00:00
Tomas Eduardo Fernandez Lobbe ca8dd2347c SOLR-6283: Add support for Interval Faceting in SolrJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616628 13f79535-47bb-0310-9956-ffa450edef68
2014-08-07 23:27:19 +00:00
Mark Robert Miller 6aeceaeb86 SOLR-6261: Run ZooKeeper watch event callbacks in parallel to the ZooKeeper event thread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614244 13f79535-47bb-0310-9956-ffa450edef68
2014-07-29 03:04:35 +00:00
Robert Muir 2080ddc885 LUCENE-5593: speed up javadocs generation in build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614058 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 15:36:27 +00:00
Erick Erickson 2d1056e06f SOLR-6216: Better faceting for multiple intervals on DV fields. Thanks Tomas
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612889 13f79535-47bb-0310-9956-ffa450edef68
2014-07-23 17:43:23 +00:00
Mark Robert Miller f94f4952a7 SOLR-3345: BaseDistributedSearchTestCase should always ignore QTime.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612585 13f79535-47bb-0310-9956-ffa450edef68
2014-07-22 15:02:43 +00:00
Steven Rowe a0bc0c3d80 SOLR-6257: More than two "!"-s in a doc ID throws an ArrayIndexOutOfBoundsException when using the composite id router.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611934 13f79535-47bb-0310-9956-ffa450edef68
2014-07-19 17:48:53 +00:00
Timothy Potter e0af29f9e3 SOLR_6136: fix minor issues found by precommit checks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610902 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 02:18:38 +00:00
Timothy Potter 14e015dff7 SOLR-6136: Fix spin lock in blockUntilFinished (which eats CPU unnecessarily) using wait/notify and add a unit test for ConcurrentUpdateSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610856 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 21:29:01 +00:00
Shalin Shekhar Mangar 7087d374fe SOLR-6245: Socket and Connection configuration are ignored in HttpSolrServer when passing in HttpClient
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610683 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 13:28:14 +00:00
Shalin Shekhar Mangar 4173acfd04 SOLR-6240: Fix infinite recursion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610035 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 19:56:57 +00:00
Shalin Shekhar Mangar 92782a07db SOLR-6240: Removed unused coreName parameter in ZkStateReader.getReplicaProps
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610033 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 19:55:00 +00:00
Shalin Shekhar Mangar e6ce493374 Added a null check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608615 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 21:33:38 +00:00
Noble Paul 2f28cc16e0 reverting SOLR-5473 , SOLR-5474
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607587 13f79535-47bb-0310-9956-ffa450edef68
2014-07-03 11:13:35 +00:00
Noble Paul af18eeed89 SOLR-5473 one state.json per collection , SOLR-5474 support for one json per collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607418 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 16:50:32 +00:00
Shalin Shekhar Mangar e15ff59929 SOLR-5768: Add a distrib.singlePass parameter to make EXECUTE_QUERY phase fetch all fields and skip GET_FIELDS
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607360 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 13:22:14 +00:00
Noble Paul 51412938e5 SOLR-6048 the assert was not really failing the test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602138 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 12:18:21 +00:00
Shalin Shekhar Mangar 4f09e4d781 SOLR-6146: Close zk before setting interrupt status
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601905 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 14:20:02 +00:00
Shalin Shekhar Mangar 386d11c563 SOLR-6146: Incorrect configuration such as wrong chroot in zk server address can cause CloudSolrServer to leak resources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601621 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 12:37:41 +00:00
Chris M. Hostetter db538d864c SOLR-5285: Added a new [child ...] DocTransformer for optionally including Block-Join decendent documents inline in the results of a search
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601028 13f79535-47bb-0310-9956-ffa450edef68
2014-06-06 22:44:02 +00:00
Shalin Shekhar Mangar a627b55bcd SOLR-6116: Refactor DocRouter.getDocRouter to accept routerName as a String
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598212 13f79535-47bb-0310-9956-ffa450edef68
2014-05-29 07:26:35 +00:00
Dawid Weiss 4c29d60c62 Clean up SolrTestCaseJ4.recurseDelete a bit and remove hairy cases of removing the parent file in certain tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598012 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 13:34:52 +00:00
Joel Bernstein 1b9c63fc9d SOLR-5973: Pluggable Ranking Collectors and Merge Strategies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597775 13f79535-47bb-0310-9956-ffa450edef68
2014-05-27 13:19:15 +00:00
Shalin Shekhar Mangar 988df83885 SOLR-6108: Add support for 'addreplica' Collection API in SolrJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596819 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 11:50:31 +00:00
Dawid Weiss cf5a0caeb6 LUCENE-5650: Enforce read-only access to any path outside the temporary folder via security manager
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596767 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 06:15:26 +00:00
Timothy Potter 195317786c SOLR-5468: report replication factor that was achieved for an update request if requested by the client application.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596092 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 23:04:55 +00:00
Anshum Gupta c3692aa73d SOLR-5681: Make the OverseerCollectionProcessor multi-threaded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596089 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 22:40:41 +00:00
Timothy Potter eb3beb2d70 SOLR-5495: Hardening recovery scenarios after the leader receives an error trying to forward an update request to a replica.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593312 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 15:48:26 +00:00
Joel Bernstein 50c69361e2 SOLR-6035: CloudSolrServer directUpdate routing should use getCoreUrl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593174 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 03:13:25 +00:00
Noble Paul 2ce57608ee revert SOLR-5473 , SOLR-5474
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591253 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 11:24:06 +00:00
Shalin Shekhar Mangar b2a01a6504 SOLR-6025: Replace mentions of CommonsHttpSolrServer with HttpSolrServer and StreamingUpdateSolrServer with ConcurrentUpdateSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1590410 13f79535-47bb-0310-9956-ffa450edef68
2014-04-27 16:05:30 +00:00
Steven Rowe 61ed64ed8e SOLR-6006: Separate test and compile scope dependencies in the Solrj ivy.xml file, so that the derived Maven dependencies get filled out properly in the Solrj POM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589937 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 06:12:45 +00:00
Mark Robert Miller bbad949644 SOLR-5776: *sigh* Revert this for now.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588406 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 02:56:48 +00:00
Mark Robert Miller e2fb46a51e SOLR-5776: Enabled SSL tests can easily exhaust random generator entropy and block.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588388 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 23:20:27 +00:00
Mark Robert Miller 050342b8a4 SOLR-5868: HttpClient should be configured to use ALLOW_ALL_HOSTNAME hostname verifier to simplify SSL setup.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588312 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 17:28:01 +00:00
Mark Robert Miller b0cdbe2242 SOLR-5987: Add "collection" to UpdateParams.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587918 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 14:24:48 +00:00
Shai Erera 50e53475ef fix javadocs errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587893 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 12:41:06 +00:00
Noble Paul 3cb0a855a0 SOLR-5473: Make one state.json per collection , SOLR-5474: Have a new mode for SolrJ to support stateFormat=2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587834 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 08:37:26 +00:00
Steven Rowe 597912787c SOLR-5936: Removed deprecated non-Trie-based numeric & date field types.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586106 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 19:48:14 +00:00
Dawid Weiss bfecbc9274 Moved createTemp* to LuceneTestCase, removing it from SolrTestCaseJ4. Created common infrastructure that creates temporary files and folders under the suite's master folder. Created a rule that cleans up afterwards (or provides an explicit message if something fails to clean up).:
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584832 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 17:37:58 +00:00
Dawid Weiss bc43bebedf Merging with trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584603 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 10:27:05 +00:00
Shalin Shekhar Mangar a9e04127df SOLR-5943: SolrCmdDistributor does not distribute the openSearcher parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584083 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 16:31:47 +00:00
Joel Bernstein e081587dea SOLR-5829: Allow ExpandComponent to accept query and filter query parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583802 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 21:37:05 +00:00
Shalin Shekhar Mangar ca71f2f8d0 SOLR-5880: Fix test failure when n=1. Make it at least 2.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583721 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 15:50:12 +00:00
Uwe Schindler 6750845f9b LUCENE-5560: Followup: Cleanup charset handling for Java 7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583449 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 20:35:16 +00:00
Uwe Schindler 2f8192f3c5 LUCENE-5560: Cleanup charset handling for Java 7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583302 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 11:34:01 +00:00
Mark Robert Miller a44e0a82ba SOLR-5934: LBHttpSolrServer exception handling improvement and small test improvements.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583213 13f79535-47bb-0310-9956-ffa450edef68
2014-03-30 22:04:58 +00:00
Mark Robert Miller 6bf76b1015 SOLR-5914: Polish up createTempDir calls.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1583163 13f79535-47bb-0310-9956-ffa450edef68
2014-03-30 17:37:31 +00:00
Shalin Shekhar Mangar 3944c63ba4 SOLR-5466: A new List collections and cluster status API which clients can use to read collection and shard information instead of reading data directly from ZooKeeper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582734 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 12:54:47 +00:00
Mark Robert Miller 48c5ea550f SOLR-5914: Merge branch up to trunk, make all tests pass, make some other improvements and small changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582571 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 00:55:45 +00:00
Uwe Schindler 61c6ee3ce8 SOLR-5914: Fix missing close on Reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582549 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 23:49:03 +00:00
Mark Robert Miller 6afdd45556 SOLR-5914: Solr tests should use dataDir for tmp files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582413 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 17:23:40 +00:00
Dawid Weiss 688addbd50 Branch for solr5914
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582248 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 10:45:40 +00:00
Mark Robert Miller b7b0643115 SOLR-5914: Cleanup and fix Solr's test cleanup code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582038 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 20:30:16 +00:00
Alan Woodward 1dba8a6f6b SOLR-5903: SolrCore implements Closeable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581360 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 14:46:19 +00:00
Mark Robert Miller 69aee41967 SOLR-5880: Try syncing solrj test solr.xml up with core test solr.xml.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580922 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 17:16:05 +00:00
Alan Woodward 0e8d8fefae SOLR-4478: Allow cores to use configurations specified outside their instance directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580814 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 10:54:51 +00:00
Mark Robert Miller 7422c1e1ee SOLR-5884: Name executor threads and use execturo shutdown rather than shutdownNow.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580739 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 04:51:53 +00:00
Mark Robert Miller 7095d0178f SOLR-5884: When recovery is cancelled, any call to the leader to wait to see the replica in the right state for recovery should be aborted.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580714 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 03:05:04 +00:00
Mark Robert Miller 38e4a746e2 SOLR-5880: Revert last commit - confused the stack trace - instead, @BadApple this test method for now.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580674 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 00:30:07 +00:00
Mark Robert Miller c4b14c5863 tests: fix test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580669 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 00:09:11 +00:00
Mark Robert Miller 76ab559958 SOLR-5874: Unsafe cast in CloudSolrServer's RouteException. Change RouteException to handle Throwable rather than Exception.
SOLR-5899: CloudSolrServer's RouteResponse and RouteException should be publicly accessible.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580550 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 17:46:23 +00:00
Shalin Shekhar Mangar c263c714ce SOLR-5749: A new Overseer status collection API exposes overseer queue sizes, timing statistics, success and error counts and last N failures per operation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580463 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 07:22:28 +00:00
Mark Robert Miller 9994f6d7a1 tests: suppress SSL for all SolrExampleTests for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579651 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 15:06:18 +00:00
Noble Paul a2e34dd518 SOLR-5715 CloudSolrServer should choose URLs that match _route_
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579584 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 10:39:56 +00:00
Mark Robert Miller 1109c1275b SOLR-5883: Many tests do not shutdown SolrServer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579336 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 18:25:00 +00:00
Alan Woodward 7e8e19b7c0 SOLR-5858, SOLR-4812: Allow queryparser to be defined for highlight query, and edismax and dismax to be used for this purpose
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578800 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 09:46:48 +00:00
Anshum Gupta 6ea3907374 SOLR-5876: Fix self-calling createCollection(..) function.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578775 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 07:28:29 +00:00
Jan Høydahl 2c7fe979af SOLR-5863: Asserts wrong way around in TestSolrXml and a few other classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577539 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 14:04:39 +00:00
Noble Paul b2022c05d0 SOLR-5837 remove .equals from Solr doc objects
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577491 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 11:44:40 +00:00
Anshum Gupta 0371c620d3 SOLR-5477: Async execution of OverseerCollectionProcessor tasks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577444 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 08:01:18 +00:00
Steven Rowe 979230aca4 SOLR-5653: Create a RestManager to provide REST API endpoints for reconfigurable plugins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1576939 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 21:52:49 +00:00
Robert Muir 3b67b17493 LUCENE-5512: remove redundant typing (diamond operator) in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1576755 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 14:39:17 +00:00
Mark Robert Miller 54e1003047 SOLR-5837: Clean up issue: Add hashCode/equals to SolrDocument, SolrInputDocument and SolrInputField for testing purposes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1576004 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 17:10:04 +00:00
Noble Paul 85b7575a86 SOLR-5265 Add backward compatibility tests to JavaBinCodec's format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575932 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 13:02:56 +00:00
Noble Paul babbd07ed1 SOLR-5837 Added .equals method for SolrDocument, SolrInputDocument and SolrInputField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575886 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 10:18:42 +00:00
Erick Erickson 4bfbd583d3 SOLR-5825, Separate http request creation and execution in SolrJ. Thanks Steve.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575576 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 17:36:29 +00:00
Mark Robert Miller 3e2a817539 Fix javadoc spelling.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574577 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 17:20:36 +00:00
Joel Bernstein f48d27f241 SOLR-5720: Add ExpandComponent to expand results collapsed by the CollapsingQParserPlugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573589 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 15:45:59 +00:00
Mark Robert Miller aba8b8ae3c SOLR-5761: HttpSolrServer has a few fields that can be set via setters but are not volatile.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573442 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 04:35:45 +00:00
Mark Robert Miller a42db70dec SOLR-5760: ConcurrentUpdateSolrServer has a blockUntilFinished call when streamDeletes is true that should be tucked into the if statement below it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573438 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 04:22:26 +00:00
Mark Robert Miller 9441f0d4ce SOLR-5734: We should use System.nanoTime rather than System.currentTimeMillis when calculating elapsed time.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573425 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 02:08:45 +00:00
Mark Robert Miller 254324f5a6 SOLR-5799: Add assert to new test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573419 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 01:58:45 +00:00
Mark Robert Miller 57e5bfc8f2 SOLR-5799: Add TestRetryUtil.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573416 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 01:52:13 +00:00
Mark Robert Miller a828f6ff05 SOLR-5799: Fix impl.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573401 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 23:09:13 +00:00
Mark Robert Miller 5d7c4f5361 tests: raise zk connect timeout when building zk for tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573257 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 04:40:02 +00:00
Mark Robert Miller f1cddb92ee SOLR-5799: When registering as the leader, if an existing ephemeral registration exists, wait a short time to see if it goes away.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573242 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 00:27:25 +00:00
Mark Robert Miller baa8987cff SOLR-5776: Suppress SSL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572974 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 15:44:14 +00:00
Mark Robert Miller d98ee29e8e SOLR-5776: Suppress SSL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572408 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 02:23:20 +00:00
Mark Robert Miller 4d975ea3a9 tests: some doc improvements around SuppressSSL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572385 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 01:34:41 +00:00
Mark Robert Miller f502acd52d SOLR-5776: Suppress SSL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572275 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 21:38:48 +00:00
Mark Robert Miller 4effc2135b tests: enable test - no JIRA issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572143 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 16:23:25 +00:00
Mark Robert Miller ff0a6b3450 tests: enable test, supress ssl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572136 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 16:20:47 +00:00
Robert Muir 00e339395e SOLR-5775: disable constantly failing solr tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572036 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 12:55:22 +00:00
Mark Robert Miller c408c5258e SOLR-5770: All attempts to match a SolrCore with it's state in clusterstate.json should be done with the CoreNodeName.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571349 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:04:16 +00:00
Noble Paul 79e9707ce7 SORL-5609 Don't let cores create slices/named replicas , SOLR-5130 addReplica Collections API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571264 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 12:31:30 +00:00
Shalin Shekhar Mangar 55426d5070 SOLR-1880: Distributed Search skips GET_FIELDS stage if EXECUTE_QUERY stage gets all fields. Requests with fl=id or fl=id,score are now single-pass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571152 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 05:43:23 +00:00
Uwe Schindler 955282775c SOLR-5764: Fix recently added tests to not use absolute paths to load test-files, use SolrTestCaseJ4.getFile() and getResource() instead; fix morphlines/map-reduce to not duplicate test resources and fix dependencies among them.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570898 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 20:02:13 +00:00
Noble Paul 225459815c SOLR-5762 broke backward compatibility of Javabin format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570793 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 06:19:16 +00:00
Mark Robert Miller 42f445b035 tests: remove this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570001 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 00:06:21 +00:00
Mark Robert Miller b3044d6a04 SOLR-5620: ZKStateReader.aliases should be volatile to ensure all threads see the latest aliases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569603 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 01:58:16 +00:00
Benson Margulies 36b2f2512b LUCENE-5449: Rename _TestUtil to TestUtil.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569597 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 01:38:33 +00:00
Mark Robert Miller c95e1f4969 SOLR-5727: LBHttpSolrServer should only retry on Connection exceptions when sending updates. Affects CloudSolrServer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568857 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 23:29:23 +00:00
Mark Robert Miller 0b023e5236 SOLR-5718: Make LBHttpSolrServer zombie checks non-distrib and non-scoring.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568394 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 17:47:21 +00:00
Mark Robert Miller 43ab8b9ef2 SOLR-5731: The actual catch and loging.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568354 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 17:02:53 +00:00
Mark Robert Miller f8a0cae647 SOLR-5721: ConnectionManager can become stuck in likeExpired.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568337 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 15:36:00 +00:00
Mark Robert Miller 98810d1f54 SOLR-3854: Cleans up a lot of the tests by using a common function to build a consistent schemed URL (fixes SSL for SolrCmdDistributorTest) + disabled the "useClientAuth" property for OSX clients.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567643 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 15:11:24 +00:00
Mark Robert Miller cf3bef28fc SOLR-5649: Clean up some minor ConnectionManager issues.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567399 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 21:16:45 +00:00
Noble Paul ce3b4becb4 SOLR-5609 Reverting accidental commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567014 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 08:55:48 +00:00
Noble Paul 1588fd5f5a SOLR-5476 added testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567012 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 08:46:07 +00:00
Mark Robert Miller f5a1519069 SOLR-3854: Allows the test harness to perform two-way SSL handshakes, the two-way SSL will now be randomly selected during test runs. Also, cleaned up some of the code by breaking out the SSLConfig into a separate class. Also try and address failing the statics retained check.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566515 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 06:08:37 +00:00
Mark Robert Miller de6514e214 SOLR-3854: SSL support for SolrCloud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566456 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 22:39:48 +00:00
Shalin Shekhar Mangar e4ed871c5e SOLR-5659: Add test for compositeId ending with a separator char
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565572 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 08:13:47 +00:00
Shalin Shekhar Mangar 459aca19a2 SOLR-5644: SplitShard does not handle not finding a shard leader well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565555 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 07:03:22 +00:00
Mark Robert Miller fd85c3623b SOLR-5702: Log config name found for collection at info level.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565399 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 19:01:51 +00:00
Shalin Shekhar Mangar 95610a8c58 SOLR-4227: Wrap XML RequestWriter's OutputStreamWriter in a BufferedWriter to avoid frequent converter invocations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565099 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 07:50:17 +00:00
Mark Robert Miller 3b43c10bd1 SOLR-5672: Add logParamsList parameter to support reduced logging. Closes #23.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565072 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 05:08:11 +00:00
Mark Robert Miller 8b4ea8885e SOLR-5678: SolrZkClient should throw a SolrException when connect times out rather than a RuntimeException.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565056 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 03:01:36 +00:00
Shalin Shekhar Mangar aba50169d0 SOLR-5530: Remove empty throws clause
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564720 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 11:59:37 +00:00
Shalin Shekhar Mangar 315263e31f SOLR-5530: Fix forbidden-api-check failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564712 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 11:41:07 +00:00
Shalin Shekhar Mangar e262c75e81 SOLR-5530: Added a NoOpResponseParser for SolrJ which puts the entire raw response into an entry in the NamedList
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564709 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 11:03:26 +00:00
Noble Paul 732f295c4f SOLR-5610 New Collectio API called CLUSTERPROP
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563876 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 13:16:12 +00:00
Robert Muir 584fda3bdf LUCENE-5410: add fuzzy and near to SimpleQueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563558 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 02:57:02 +00:00
Shalin Shekhar Mangar 7b7a1b5592 SOLR-5634: SolrJ GroupCommand.getNGroups returns null if group.format=simple and group.ngroups=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563392 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 11:12:59 +00:00
Mark Robert Miller c0ae2fa0c1 SOLR-5676: SolrCloud updates rejected if talking to secure ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563189 13f79535-47bb-0310-9956-ffa450edef68
2014-01-31 17:39:03 +00:00
Shalin Shekhar Mangar fa2423a2ec SOLR-5673: HttpSolrServer doesn't set own property correctly in setFollowRedirects
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1562898 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 17:16:00 +00:00
Shalin Shekhar Mangar d5a8bdd767 SOLR-5658: Removing System.out.println in JavaBinUpdatedRequestCodec added for debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1562836 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 14:20:28 +00:00
Noble Paul 6849fe3286 SOLR-5476 tests were failing earlier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1562434 13f79535-47bb-0310-9956-ffa450edef68
2014-01-29 13:17:27 +00:00
Mark Robert Miller cb8b1cd32b SOLR-5577: Harden leaking Timer thread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561497 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 14:51:55 +00:00
Mark Robert Miller a9670cc6e7 SOLR-5658: commitWithin and overwrite are not being distributed to replicas now that SolrCloud uses javabin to distribute updates.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560859 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 00:53:06 +00:00
Mark Robert Miller 1941777fdc SOLR-5577: Protect against NPE race with close - spotted by Greg Chanan
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559844 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 22:25:44 +00:00
Mark Robert Miller f698963775 SOLR-5643: ConcurrentUpdateSolrServer will sometimes not spawn a new Runner thread even though there are updates in the queue.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559620 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 02:59:59 +00:00
Mark Robert Miller 3b5b96a3ef SOLR-5577: Harden leaking Timer thread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559587 13f79535-47bb-0310-9956-ffa450edef68
2014-01-19 21:20:58 +00:00
Mark Robert Miller a8b5fe376a SOLR-4260: If in blockUntilFinished and there are no Runners running and the queue is not empty, start a new Runner.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558996 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 02:36:26 +00:00
Mark Robert Miller 7a85486551 SOLR-4260: Guard against NPE.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558985 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 02:06:31 +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
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 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
Mark Robert Miller dd8dd70360 SOLR-5577: timer thread should be run as daemon
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1557136 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 14:42:16 +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
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 277728236b SOLR-5577: don't start timer thread on expiration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556002 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 19:55:12 +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 ba5ab6faa7 SOLR-5577: don't start timer thread in constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555610 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 18:49:31 +00:00
Mark Robert Miller e8b46f76a7 SOLR-5577: fix possible race on canceling timer on close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555204 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 19:06:22 +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 3b4a1c2c5f SOLR-5583: ConcurrentUpdateSolrServer#blockUntilFinished may wait forever if the executor service is shutdown.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554053 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 18:58:18 +00:00
Mark Robert Miller 419d644f40 SOLR-5577: Don't start a timer on disconnect if we are already closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553981 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 00:14:01 +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
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 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
Mark Robert Miller 136a2c7190 SOLR-5562: ConcurrentUpdateSolrServer constructor ignores supplied httpclient.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1552691 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 14:56:07 +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
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
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
Mark Robert Miller c7a3b96893 SOLR-5532: SolrJ Content-Type validation is too strict for some webcontainers / proxies.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548659 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 19:01:03 +00:00
Mark Robert Miller a758823bbe Clean up.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548587 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 16:41:08 +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
Uwe Schindler 7bf6ee0a92 Fix annotation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547631 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 22:56:56 +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
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
Mark Robert Miller 1e42240e89 SOLR-5482: add option to simulate hard jetty fails with iptables
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546863 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 21:58:45 +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 a6eb226481 boost the get leader timeout a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546679 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 02:30:56 +00:00
Mark Robert Miller 2912823f3a tests: up get leader timeout default to 2s from 1s
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545530 13f79535-47bb-0310-9956-ffa450edef68
2013-11-26 03:30:40 +00:00
Mark Robert Miller 9e7b76f893 tests: have TestLBHttpSolrServer extend SolrTestCaseJ4 so it runs jetty in test mode and is happier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545161 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 06:46:35 +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 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
Noble Paul 60e7475519 SOLR-4221 changed format router is stored
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524442 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 15:10:04 +00:00
Mark Robert Miller 7684f2b73d SOLR-4816: deal with leader=null case and init map with known size
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524170 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 18:45:39 +00:00
Mark Robert Miller 942dabba8c SOLR-4816: Don't create "loads" of LBHttpSolrServer's, shutdown LBHttpSolrServer when appropriate, get collection from nonRoutableParams.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522684 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:51:31 +00:00
Yonik Seeley f2b3d010b3 SOLR-5148: optimization - lazy create child doc list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522680 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:44:09 +00:00
Mark Robert Miller bd4f9b9896 SOLR-4816: CloudSolrServer can now route updates locally and no longer relies on inter-node update forwarding.
SOLR-3249: Allow CloudSolrServer and SolrCmdDistributor to use JavaBin.
SOLR-4816: CloudSolrServer now uses multiple threads to send updates by default.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521713 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 01:19:45 +00:00
Mark Robert Miller 19f9181c74 SOLR-5215: Fix possibility of deadlock in ZooKeeper ConnectionManager.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521236 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 18:36:11 +00:00
Erick Erickson e4bcd35ac0 SOLR-2548, Multithread faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1520645 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 17:53:40 +00:00
Erick Erickson 84063af19a SOLR-4817 Solr should not fall back to the back compat built in solr.xml in SolrCloud mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1517398 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 00:06:04 +00:00
Robert Muir 1f3159af08 SOLR-4764: When using NRT, just init the reader from IndexWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513945 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 16:09:49 +00:00
Noble Paul 2baecc2713 SOLR-5017 support for routeField in COmpositeId router also
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513356 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 05:49:17 +00:00
Yonik Seeley f28864213f SOLR-3076: block join parent and child queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513290 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 22:52:57 +00:00
Dawid Weiss 47c5d59d85 SOLR-4708: one more follow-up to a class that didn't extend from the base Solr test class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512322 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 14:32:48 +00:00
Noble Paul e5045d5538 SOLR-4221 SOLR-4808 SOLR-5006 SOLR-5017 SOLR-4222
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508968 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 17:53:02 +00:00
Robert Muir ecf245459b LUCENE-5154: move test logging config to where it will actually work in solrj tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508721 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 03:58:17 +00:00
Han Jiang 92021404d4 LUCENE-5138: remove executable attr from java files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507313 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 13:51:38 +00:00
Alan Woodward 30d15988b3 SOLR-5056: Further cleanup of ConfigSolr API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1506020 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 12:53:31 +00:00
Alan Woodward 5a42052fba SOLR-4914: Factor out core discovery and persistence logic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502276 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 16:35:01 +00:00
Mark Robert Miller 6455dec1e0 SOLR-4943: Add a new system wide info admin handler that exposes the system info that could previously only be retrieved using a SolrCore.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501898 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 18:28:00 +00:00
Shalin Shekhar Mangar dcbc79ce15 SOLR-4693: A "deleteshard" collections API that unloads all replicas of a given shard and then removes it from the cluster state. It will remove only those shards which are INACTIVE or have no range (created for custom sharding).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499655 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 05:04:21 +00:00
Alan Woodward f38c5163cc SOLR-4948: Tidy up CoreContainer construction logic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498990 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 15:50:49 +00:00
Mark Robert Miller e6497c1a9a SOLR-4933: if shard split fails with 500, wait a while to see if it succeeds on a retry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498763 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 03:10:43 +00:00
Mark Robert Miller e547a5c03a SOLR-4973: Adding getter method for defaultCollection on CloudSolrServer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497582 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 22:13:52 +00:00
Mark Robert Miller b9e1537a7e SOLR-4916: Add support to write and read Solr index files and transaction log files to and from HDFS.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497072 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 20:18:33 +00:00
Alan Woodward 450534ff3a Revert 1496505
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1496564 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 17:59:31 +00:00
Alan Woodward f47bb580ee SOLR-4948: Tidy up CoreContainer construction logic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1496505 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 14:55:26 +00:00
Chris M. Hostetter be9bf006c2 SOLR-4942: test improvements to randomize use of compound files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495668 13f79535-47bb-0310-9956-ffa450edef68
2013-06-22 06:00:18 +00:00
Mark Robert Miller 6b06ac1026 SOLR-4923: do not test if not sending to leaders first
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493861 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 17:58:07 +00:00
Mark Robert Miller fc9c0a8f14 SOLR-4923: Commits to non leaders as part of a request that also contain updates can execute out of order.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493779 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 14:31:22 +00:00
Erick Erickson 05eb306423 SOLR-4910, improvements to persisting solr.xml and misc other fixes, see CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493618 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 00:33:31 +00:00
Mark Robert Miller 4c57013878 SOLR-4224: Refactor JavaBinCodec input stream definition to enhance reuse.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491459 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 14:10:27 +00:00
Mark Robert Miller 5c052874e8 SOLR-4899: When reconnecting after ZooKeeper expiration, we need to be willing to wait forever, not just for 30 seconds.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491449 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 13:41:57 +00:00
Chris M. Hostetter 0800ccd3c2 SOLR-4853: Fixed SolrJettyTestBase so it may be reused by end users
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1489081 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 17:58:01 +00:00
Shawn Heisey b4bf678713 SOLR-4228: fix maven test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487602 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 19:21:14 +00:00
Shawn Heisey a41bfba673 SOLR-4228: Add full ping functionality to SolrPing in SolrJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487189 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 01:46:19 +00:00
Shawn Heisey 946de09d26 SOLR-4048: improve and clean up findRecursive
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484386 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 07:39:55 +00:00
Shawn Heisey 927308b528 SOLR-4048: add findRecursive method to NamedList
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484135 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 16:16:18 +00:00
Mark Robert Miller 971fae640f SOLR-4825: Port SolrLogFormatter to log4j
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483088 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 21:18:57 +00:00