Commit Graph

634 Commits

Author SHA1 Message Date
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