Commit Graph

601 Commits

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