Yonik Seeley
fa3b4c9623
SOLR-8472: tests - pull up common errorHook code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724069 13f79535-47bb-0310-9956-ffa450edef68
2016-01-11 15:54:38 +00:00
Mark Robert Miller
7986b8248f
SOLR-8468: Raise some test zk connection timeouts up from 10 seconds and remove some test timeout magic numbers.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723888 13f79535-47bb-0310-9956-ffa450edef68
2016-01-09 22:42:46 +00:00
Shalin Shekhar Mangar
96360c78c4
SOLR-7339: Revert Jetty 9.3 upgrade
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723604 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 17:51:57 +00:00
Mark Robert Miller
84005ad61f
SOLR-8279: One of two tests was not calling TestInjection#clear after using it. Call clear in the Solr base test class instead.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720841 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 19:02:30 +00:00
Mark Robert Miller
d74968d925
SOLR-8279: Do not fail tests due to searcher tracking - just use that for waiting and use ObjectReleaseTracker for the fail since it has more detailed info.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720631 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 19:08:43 +00:00
Mark Robert Miller
8043424046
SOLR-8279: end searcher tracking before object release tracker.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720627 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 18:42:00 +00:00
Mark Robert Miller
fe7ef38b2e
SOLR-8279: Add a new test fault injection approach and a new SolrCloud test that stops and starts the cluster while indexing data and with random faults.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720613 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 17:08:10 +00:00
Christine Poerschke
f81f939b54
SOLR-8414: AbstractDistribZkTestBase.verifyReplicaStatus could throw NPE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719981 13f79535-47bb-0310-9956-ffa450edef68
2015-12-14 18:16:44 +00:00
Christine Poerschke
8575e3fb3a
LUCENE-6925: add ForceMergePolicy class in lucene test-framework and RandomForceMergePolicy class in solr test-framework, plus Test[Random]ForceMergePolicy test classes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719449 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 15:19:29 +00:00
Christine Poerschke
bd777ac22d
Remove outdated comment line in RandomMergePolicy.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717660 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 18:15:51 +00:00
Anshum Gupta
6caaa0c454
SOLR-8330: Standardize and fix logger creation and usage so that they aren't shared across source files.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717590 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 09:22:22 +00:00
Christine Poerschke
c4404701b5
${message}
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717526 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 20:52:57 +00:00
Shalin Shekhar Mangar
c10dd7daa7
SOLR-7339: Upgrade Jetty to v9.3.6.v20151106
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717377 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 04:21:34 +00:00
Alan Woodward
e5be9136a6
SOLR-8336: CoreDescriptor takes a Path for its instance dir, rather than a String
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717254 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 14:02:45 +00:00
David Wayne Smiley
0442747f05
LUCENE-6900: Grouping sortWithinGroup shouldn't be null; use Sort.RELEVANCE.
...
Enhanced related Solr side a bit.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716569 13f79535-47bb-0310-9956-ffa450edef68
2015-11-26 04:56:47 +00:00
Alan Woodward
0f3aecfdff
SOLR-8302: SolrResourceLoader takes a Path for its instance directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715342 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 12:12:05 +00:00
Christine Poerschke
491bb5ba90
SOLR-8298: small preferLocalShards implementation refactor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715208 13f79535-47bb-0310-9956-ffa450edef68
2015-11-19 16:20:53 +00:00
Mark Robert Miller
31da6a3535
SOLR-8279: Add a new SolrCloud test that stops and starts the cluster while indexing data.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714216 13f79535-47bb-0310-9956-ffa450edef68
2015-11-13 14:46:58 +00:00
Alan Woodward
eb0da10bb4
SOLR-8278: Use NIO2 APIs in ConfigSetService
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713996 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 09:43:26 +00:00
Alan Woodward
9cbae39ab8
SOLR-8259: Add getCoreContainer() method to JettySolrRunner
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713601 13f79535-47bb-0310-9956-ffa450edef68
2015-11-10 10:06:49 +00:00
Alan Woodward
be10d9e501
SOLR-8260: Use nio2 API in core discovery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713490 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 17:50:19 +00:00
Alan Woodward
4921f13576
SOLR-8255: MiniSolrCloudCluster should use a thread-safe list to hold its child nodes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713457 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 15:24:42 +00:00
Alan Woodward
ccfdb5dce2
SOLR-8253: Ensure ZK server is always shutdown in AbstractDistribZkTestBase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713443 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 14:34:18 +00:00
Varun Thacker
b5b4292afc
SOLR-8215: Only active replicas should handle incoming requests against a collection
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712601 13f79535-47bb-0310-9956-ffa450edef68
2015-11-04 17:59:37 +00:00
Alan Woodward
2018b052db
SOLR-8221: Ensure that SSL config is passed to MiniSolrCloudCluster
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711112 13f79535-47bb-0310-9956-ffa450edef68
2015-10-28 19:57:58 +00:00
Alan Woodward
cb234d3c6b
SOLR-8221: MiniSolrCloudCluster creates subdirectories for its child nodes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711041 13f79535-47bb-0310-9956-ffa450edef68
2015-10-28 15:43:51 +00:00
Christine Poerschke
676a0e4f2f
SOLR-8196: TestMiniSolrCloudCluster.testStopAllStartAll case plus necessary MiniSolrCloudCluster tweak
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710824 13f79535-47bb-0310-9956-ffa450edef68
2015-10-27 14:13:40 +00:00
Mark Robert Miller
9981ce1749
SOLR-8129: Raise no kill by monkey warning from 30 to 45.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710371 13f79535-47bb-0310-9956-ffa450edef68
2015-10-24 18:22:23 +00:00
Jan Høydahl
b831a14ba5
SOLR-7888: Analyzing suggesters can now filter suggestions by a context field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1707907 13f79535-47bb-0310-9956-ffa450edef68
2015-10-10 19:01:59 +00:00
Yonik Seeley
f3910125c8
tests: minor formatting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1704893 13f79535-47bb-0310-9956-ffa450edef68
2015-09-23 16:42:57 +00:00
Uwe Schindler
8d44733846
Revert the AbstractZkTestCase changes for now
...
was: LUCENE-6795: Fix Solr tests that break RamUsageTester on Java 9 Jigsaw
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702831 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 21:32:48 +00:00
Uwe Schindler
b57234a745
LUCENE-6795: Fix Solr tests that break RamUsageTester on Java 9 Jigsaw
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702770 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 12:25:40 +00:00
Gregory Chanan
679dd8f790
SOLR-7789: Introduce a ConfigSet management API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698043 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 02:18:36 +00:00
Uwe Schindler
1331a57e3d
LUCENE-6732: Remove tabs in JS and XML files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695395 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 23:00:39 +00:00
Ramkumar Aiyengar
b4aafbb606
SOLR-7859: Clamp down on use of System.currentTimeMillis
...
- Use RTimer where currentTimeMillis is used for timing
- Abstract out a new class TimeOut for when currentTimeMillis/nanoTime
is used to timeout operations.
- Used `new Date()` in some cases where that is the logical intent.
- Deprecated a couple of APIs which were publicly exposing epoch time,
in favour of Date objects to make the intent clearer.
- A couple of cases had currentTimeMillis in dead code.
- In some cases where currentTimeMillis was used to just generate a name,
used nanoTime instead (really it should be some sequence/random number
in such a case).
- In some other cases where stamps were used for SQL queries, HTTP headers,
comparing against data in external files, ZK etc., used SuppressForbidden.
- Also currently allow the use of currentTimeMillis in commit data,
this is then used in replication -- this is concerning since absolute
times are being compared, but that can be dealt with separately.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694798 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 13:39:58 +00:00
Noble Paul
db2ccb1d41
SOLR-7757: Improved security framework where security components can be edited/reloaded, Solr now watches /security.json. Components can choose to make their configs editable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694552 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 18:57:34 +00:00
Gregory Chanan
589a27eb27
SOLR-7855: OverseerCollectionProcessor: separate general task management from collection message handling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694406 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 06:07:32 +00:00
Christine Poerschke
2de2e0a16f
SOLR-7766: support creation of a coreless collection via createNodeSet=EMPTY
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694181 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 11:34:46 +00:00
Noble Paul
40e2cded26
SOLR-6625: Remove the HttpContext which provides our request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693931 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 16:23:01 +00:00
Shalin Shekhar Mangar
2a8bef841a
SOLR-7854: Remove unused ZkStateReader.updateClusterState(false) method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693681 13f79535-47bb-0310-9956-ffa450edef68
2015-08-01 06:24:04 +00:00
Christine Poerschke
22d67a637a
SOLR-7823: TestMiniSolrCloudCluster.testCollectionCreateSearchDelete async collection-creation (sometimes)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693616 13f79535-47bb-0310-9956-ffa450edef68
2015-07-31 15:35:10 +00:00
Anshum Gupta
9cb8523c59
SOLR-6625: Set HttpClientImpl in SolrTestCaseJ4 for tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693483 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 19:29:20 +00:00
Noble Paul
b09a4553f7
SOLR-6625: Enable registering interceptors for the calls made using HttpClient and make the
...
request object available at the interceptor context
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693432 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 14:28:20 +00:00
Jan Høydahl
2d5f162bb8
SOLR-7735: Look for solr.xml in Zookeeper by default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692673 13f79535-47bb-0310-9956-ffa450edef68
2015-07-26 00:15:27 +00:00
Shalin Shekhar Mangar
8649f3f3bd
SOLR-7825: Forbid all usages of log4j and java.util.logging classes in Solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692624 13f79535-47bb-0310-9956-ffa450edef68
2015-07-25 14:34:47 +00:00
Uwe Schindler
50f168ed4c
SOLR-7803: Prevent class loading deadlock in TrieDateField; refactor date formatting and parsing out of TrieDateField and move to static utility class DateFormatUtil
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691893 13f79535-47bb-0310-9956-ffa450edef68
2015-07-20 09:07:50 +00:00
Noble Paul
422694f9c0
SOLR-7793: Refactor some utility methods to a separate utility class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690935 13f79535-47bb-0310-9956-ffa450edef68
2015-07-14 13:55:46 +00:00
Michael McCandless
a6301dd900
LUCENE-6659: remove IWC's max thread states limit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690299 13f79535-47bb-0310-9956-ffa450edef68
2015-07-10 18:09:58 +00:00
Noble Paul
eb1542030e
SOLR-7651: New response format added wt=smile
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687256 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 12:50:19 +00:00
Ramkumar Aiyengar
b255b716c3
SOLR-7714: Reduce SearchHandler's use of ShardHandler objects across shards in a search
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687143 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 22:08:22 +00:00
Anshum Gupta
4b16875058
SOLR-5886: Store async call results in zk so that they can be returned by the REQUESTSTATUS API. Also, restrict the number of stored response to 10,000 each as a safety net.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686089 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 18:46:10 +00:00
Ramkumar Aiyengar
f9cca2eba1
SOLR-7680: Use POST instead of GET when finding versions for mismatches with CloudInspectUtil
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685488 13f79535-47bb-0310-9956-ffa450edef68
2015-06-14 23:40:43 +00:00
Mark Robert Miller
ed6fd884b0
SOLR-7512: SolrOutputFormat creates an invalid solr.xml in the solr home zip for MapReduceIndexerTool.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684494 13f79535-47bb-0310-9956-ffa450edef68
2015-06-09 18:18:10 +00:00
Uwe Schindler
20c022e0ab
LUCENE-6530: Fix iptables helper (was broken because of more strict error checking, sorry!). I tested it on my linux box, works fine!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684045 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 16:43:07 +00:00
Uwe Schindler
a8cf56b222
LUCENE-6530: Refactoring: Simplify ProcessBuilder code at various places
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684040 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 15:49:10 +00:00
Shalin Shekhar Mangar
18c72d87b5
SOLR-7599: Remove invokeCollectionAPI method from base test class and use solrj classes throughout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683417 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 19:22:49 +00:00
Mark Robert Miller
e9cc66e0a3
tests: raise 'concern' limit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682479 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 14:15:20 +00:00
Mark Robert Miller
d38212a458
SOLR-7601: We should only check that tests have properly closed resources if the tests passed.
...
Speeds up test fails and cleans up Jenkin's failure reports.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682454 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 13:18:09 +00:00
Shalin Shekhar Mangar
8ea0d522ed
SOLR-7599: Inline startCloudJetty method into ShardRoutingCustomTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682340 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 21:29:12 +00:00
Shalin Shekhar Mangar
c6afa72f07
SOLR-7599: More clean up of duplicate methods, renamed some methods and variable names
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682258 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 14:58:47 +00:00
Mark Robert Miller
88640a507c
SOLR-7361: Slow loading SolrCores should not hold up all other SolrCores that have finished loading from serving requests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682060 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 15:37:29 +00:00
Mark Robert Miller
feb1f86d84
SOLR-7590: Finish and improve MDC context logging support.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682020 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 13:33:32 +00:00
Shalin Shekhar Mangar
60298db833
SOLR-7146: MiniSolrCloudCluster based tests can fail with ZooKeeperException NoNode for /live_nodes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682002 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 12:48:28 +00:00
Mark Robert Miller
a545b66008
SOLR-7589: A few improvements to the ObjectReleaseTracker to make test fail debugging a little easier.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681585 13f79535-47bb-0310-9956-ffa450edef68
2015-05-25 12:42:41 +00:00
Ramkumar Aiyengar
852e04e3d0
SOLR-7081: TestMiniSolrCloudCluster.testBasics tidies up after itself, adds collection create/delete/create test case.
...
TestMiniSolrCloudCluster.testBasics now re-creates the server it removed for test purposes,
thus restoring the original NUM_SERVERS count. TestMiniSolrCloudCluster.testBasics now also deletes
the collection it created for test purposes (this revision adds MiniSolrCloudCluster.deleteCollection
and AbstractDistribZkTestBase.waitForCollectionToDisappear methods).
Sometimes TestMiniSolrCloudCluster.testBasics runs its create-collection/search-collection/delete-collection
logic twice, thus creating a create/delete/create-collection test case.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675590 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 12:29:52 +00:00
Uwe Schindler
f4207755d9
LUCENE-6420: Add missing suppressAnnotation declaration on forbiddenapis ANT task in test-frameworks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674939 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 16:26:26 +00:00
Shalin Shekhar Mangar
2c9ae41b78
SOLR-7381: Improve logging by adding node name in MDC in SolrCloud mode and adding MDC to all thread pools
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673116 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 06:09:53 +00:00
Timothy Potter
35f0e80a02
SOLR-6944: see if NoHttpResponse exceptions are due to the socket timeout being set too low in the SocketProxy, change from 10 to 100 seconds
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671861 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 14:49:56 +00:00
Shai Erera
2d15d935f0
SOLR-7336: Add State enum to Replica
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671240 13f79535-47bb-0310-9956-ffa450edef68
2015-04-04 07:02:20 +00:00
Shai Erera
2dd6c36cec
SOLR-7318: AbstractFullDistribZkTestBase.getRelativeSolrHomePath doesn't work on Windows
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669542 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 11:36:39 +00:00
Ramkumar Aiyengar
83c0c952b6
SOLR-7291: Test indexing on ZK disconnect with ChaosMonkey tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669026 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 00:03:33 +00:00
Mark Robert Miller
57b47fed01
SOLR-7134: Replication can still cause index corruption.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668779 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 03:19:37 +00:00
Mark Robert Miller
84adc8604d
SOLR-7289: Tests should not ignore all leaking threads and instead just ignore the known leaking threads.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668771 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 02:16:13 +00:00
Mark Robert Miller
5c735c2728
SOLR-6414: These two files for another issue should not have gone in here.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668769 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 02:14:06 +00:00
Mark Robert Miller
0476534d96
SOLR-6414: Update to Hadoop 2.6.0.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668652 13f79535-47bb-0310-9956-ffa450edef68
2015-03-23 14:16:33 +00:00
Yonik Seeley
3dc5ed33c5
SOLR-7214: JSON Facet API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666856 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 04:40:23 +00:00
Ramkumar Aiyengar
24b20a53ff
SOLR-7246: Speed up BasicZkTest, TestManagedResourceStorage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666749 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 21:33:16 +00:00
Yonik Seeley
d4cba95df4
tests: give json matching tests a way to fail on repeated keys instead of overwriting with the last key
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666438 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 13:17:56 +00:00
Timothy Potter
f3bc0ad731
SOLR-7173: Fix ReplicationFactorTest on Windows
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666266 13f79535-47bb-0310-9956-ffa450edef68
2015-03-12 17:58:29 +00:00
Yonik Seeley
0ff3ea426f
tests: let json parser handle single quoted strings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666167 13f79535-47bb-0310-9956-ffa450edef68
2015-03-12 12:47:30 +00:00
Chris M. Hostetter
10dd59701c
SOLR-6349 + SOLR-6682: Added support for stats.field localparams to enable/disable individual stats; Fix response when using EnumField with StatsComponent
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665579 13f79535-47bb-0310-9956-ffa450edef68
2015-03-10 15:34:06 +00:00
Alan Woodward
b4ee7b6eb4
SOLR-7180: MiniSolrCloudCluster starts up and shuts down its jetties in parallel
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665353 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 20:51:28 +00:00
Alan Woodward
1968413943
SOLR-7206: MiniSolrCloudCluster should deal with SSL mode
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665159 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 09:15:57 +00:00
Ramkumar Aiyengar
65b033712b
SOLR-6359: Allow customization of the number of records and logs kept by UpdateLog
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664825 13f79535-47bb-0310-9956-ffa450edef68
2015-03-07 11:40:37 +00:00
Alan Woodward
739e9b489d
SOLR-7179: Stop using sysprops to configure test jettys
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664292 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 09:54:06 +00:00
Ramkumar Aiyengar
de381d2816
SOLR-6804: Untangle SnapPuller and ReplicationHandler
...
This closes #110
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664126 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 19:45:09 +00:00
Yonik Seeley
8d6657a246
tests: fix double close of request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663821 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 22:49:22 +00:00
Chris M. Hostetter
821ab8b0d9
SOLR-7171: BaseDistributedSearchTestCase now clones getSolrHome() for each subclass, and consistently uses getSolrXml()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663381 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 18:07:55 +00:00
Alan Woodward
d7eefdd7a7
SOLR-7151: SolrClient query methods throw IOException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662670 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 12:17:51 +00:00
Alan Woodward
46ede7622e
SOLR-7166: Encapsulate JettySolrRunner config
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662449 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 14:05:24 +00:00
Mark Robert Miller
f2c9067e59
SOLR-7113: Multiple calls to UpdateLog#init is not thread safe with respect to the HDFS FileSystem client object usage.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662324 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 23:19:08 +00:00
Shalin Shekhar Mangar
0096d32bc2
SOLR-7147: Handle multiple replicas correctly in getShardRequests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662300 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 20:17:33 +00:00
Alan Woodward
c5507b0c21
SOLR-7160: Decouple CoreContainer config from xml representation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662232 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 14:45:51 +00:00
Shalin Shekhar Mangar
6ae36bc6e9
SOLR-7147: Introduce new TrackingShardHandlerFactory for monitoring what requests are sent to shards during tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662209 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 13:33:55 +00:00
Robert Muir
7c36d012f6
LUCENE-6265: add extrasfs to return bonus files/subdirs with directories
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661251 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 00:09:35 +00:00
Alan Woodward
f013c438ee
SOLR-7125: Allow upload and download of configs via CloudSolrClient
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660919 13f79535-47bb-0310-9956-ffa450edef68
2015-02-19 15:58:55 +00:00
Shalin Shekhar Mangar
f89cab00d1
SOLR-7118: Use the right schema fields to avoid spurious failures and other misc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660313 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 08:18:51 +00:00
Robert Muir
12b30db6ce
LUCENE-4797: fix remaining html violations, engage linter in solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658539 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 19:02:32 +00:00
Adrien Grand
87b7393360
LUCENE-6224: cut over more package.htmls
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658525 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 18:47:17 +00:00
Alan Woodward
3018576b67
SOLR-6954: SolrClient implements Closeable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655263 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 11:55:57 +00:00
Erick Erickson
7fda449473
SOLR-6902: Use JUnit rules instead of inheritance with distributed Solr tests to allow for multiple tests without the same class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654256 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 16:13:32 +00:00
Noble Paul
ec01b5aeb5
SOLR-6988 Make stateformat=2 as default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653867 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 14:12:52 +00:00
Steven Rowe
ab8d012df6
SOLR-7008: Exclude server/etc/solrtest.keystore and create-solrtest.keystore.sh from the binary release packages
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653551 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 15:11:39 +00:00
Alan Woodward
344be1a6b1
SOLR-6976: Remove methods and classes deprecated in 4.x
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653549 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 15:06:04 +00:00
Gregory Chanan
e7045badaa
SOLR-6987: SSL support for MiniSolrCloudCluster
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653402 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 23:06:46 +00:00
Alan Woodward
e61cd9654b
SOLR-6840: Remove support for old-style solr.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652995 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 13:25:29 +00:00
Gregory Chanan
a4e089e662
SOLR-6915: SaslZkACLProvider and Kerberos Test Using MiniKdc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651264 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 02:03:58 +00:00
Mark Robert Miller
b870aed9b9
SOLR-6932: All HttpClient ConnectionManagers and SolrJ clients should always be shutdown in tests and regular code.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650608 13f79535-47bb-0310-9956-ffa450edef68
2015-01-09 17:33:04 +00:00
Michael McCandless
41fcc722ff
LUCENE-6119: CMS dynamically rate limits IO writes of each merge depending on incoming merge rate
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649532 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 14:28:28 +00:00
Timothy Potter
c96668e207
SOLR-6874: There is a race around SocketProxy binding to it's port the way we setup JettySolrRunner and SocketProxy.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649154 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 00:20:46 +00:00
Erick Erickson
362ddae754
SOLR-6483, Refactor some methods in MiniSolrCloudCluster tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648923 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 19:19:12 +00:00
Alan Woodward
ef809a0f10
SOLR-6895: Deprecate SolrServer classes and replace with SolrClient
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648697 13f79535-47bb-0310-9956-ffa450edef68
2014-12-31 14:05:48 +00:00
Steven Rowe
2189b7a761
LUCENE-6134: fix typos: it's->its, its->it's, etc.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647735 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 05:48:58 +00:00
Mark Robert Miller
ec9fdd5943
SOLR-5776: Use less SSL in a test run.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647147 13f79535-47bb-0310-9956-ffa450edef68
2014-12-21 14:55:00 +00:00
Timothy Potter
f8da9b85ca
SOLR-6773: Remove the multicore example as the DIH and cloud examples illustrate multicore behavior
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1644461 13f79535-47bb-0310-9956-ffa450edef68
2014-12-10 15:46:35 +00:00
Alan Woodward
01542923b0
Fix test failures when LTC uses anonymous MergeScheduler classes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640703 13f79535-47bb-0310-9956-ffa450edef68
2014-11-20 10:03:26 +00:00
Uwe Schindler
c429f437f0
LUCENE-5953: Restructure Directory and LockFactory APIs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637665 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 12:18:03 +00:00
Noble Paul
30db71bbde
SOLR-6533,SOLR-6654
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636862 13f79535-47bb-0310-9956-ffa450edef68
2014-11-05 12:38:06 +00:00
Timothy Potter
05ad610074
SOLR-3619: Rename 'example' dir to 'server'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635666 13f79535-47bb-0310-9956-ffa450edef68
2014-10-31 04:30:52 +00:00
Steven Rowe
38f182593a
LUCENE-6007: Regularize ivy.xml files to use configurations that map to remote master configurations, so that Ivy won't try to download extraneous crap
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632430 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 20:13:48 +00:00
Timothy Potter
c44e4ee0ff
SOLR-6249: support re-establishing a new watcher on the managed schema znode after zk session expiration.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629229 13f79535-47bb-0310-9956-ffa450edef68
2014-10-03 15:28:41 +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
Timothy Potter
3f31f26d3d
SOLR-6511: Fencepost error in LeaderInitiatedRecoveryThread; refactor HttpPartitionTest to resolve jenkins failures.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627347 13f79535-47bb-0310-9956-ffa450edef68
2014-09-24 15:21:47 +00:00
Timothy Potter
9f9be3f3c2
SOLR-6370: Allow tests to report/fail on many ZK watches being parallelly requested on the same data (This closes #84 )
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626253 13f79535-47bb-0310-9956-ffa450edef68
2014-09-19 15:48:44 +00:00
Shalin Shekhar Mangar
237478f09b
SOLR-6115: Cleanup enum/string action types in Overseer, OverseerCollectionProcessor and CollectionHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625891 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 05:43:04 +00:00
Uwe Schindler
1866163a72
SOLR-6519: Make DirectoryFactory#create() take LockFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625644 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 16:30:46 +00:00
Uwe Schindler
0dcd2f3e65
SOLR-6518: CachingDirectoryFactory subclasses must init directory with NoLockFactory, because the real lock factory gets set later via injectLockFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624928 13f79535-47bb-0310-9956-ffa450edef68
2014-09-15 00:49:27 +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
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
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
Michael McCandless
7a189a3aca
LUCENE-5904: fix corruption case caused by virus checker after an unclean IW shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621389 13f79535-47bb-0310-9956-ffa450edef68
2014-08-29 21:14:15 +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
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
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
8e69f04527
SOLR-6089: When using the HDFS block cache, when a file is deleted, it's underlying data entries in the block cache are not removed, which is a problem with the global block cache option.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619427 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 15:03:29 +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
Shai Erera
c8e9209383
LUCENE-5883: Move MergePolicy to LiveIndexWriterConfig
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617910 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 11:18:51 +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
Mark Robert Miller
693a0c0291
SOLR-6291: RollingRestartTest is too slow.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617482 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 14:14:33 +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
Robert Muir
3f4b2b472f
LUCENE-5859: remove Version param from LuceneTestCase.newIndexWriterConfig, the grand sum of 2 tests making use of it can use the 3-arg version and reduce the noise everywhere else
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614698 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 16:20:24 +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
Alan Woodward
26f2106743
SOLR-6232: Allow unloading of cores that have failed to init
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611047 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 15:23:43 +00:00
Shalin Shekhar Mangar
0f8e3fd973
SOLR-5596: Set system property zookeeper.forceSync=no for Solr test cases
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608555 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 19:01:46 +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
Timothy Potter
f512330b14
SOLR-6157: Refactor the ensureAllReplicasAreActive method into base class and ensure the ClusterState is updated to address intermittent test failures on Jenkins.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607110 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 15:16:36 +00:00
Michael McCandless
be3cca1e44
LUCENE-5752: renames
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1603012 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 22:23:11 +00:00
Michael McCandless
63c2842d87
LUCENE-5752: merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1602968 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 19:26:19 +00:00
Michael McCandless
fe6ba518c9
LUCENE-5752: finish cutover
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1602228 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 16:57:33 +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
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
Michael McCandless
ef57126633
LUCENE-5711: fix solr tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598853 13f79535-47bb-0310-9956-ffa450edef68
2014-05-31 11:29:21 +00:00
Michael McCandless
43be0a77b5
LUCENE-5708: remove IWC.clone
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598489 13f79535-47bb-0310-9956-ffa450edef68
2014-05-30 08:16:37 +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
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
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
Robert Muir
c85da1a6a9
LUCENE-5666: merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594507 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 07:46:44 +00:00
Robert Muir
7b63afc003
LUCENE-5166: clear most nocommits, move ord/rord to solr (and speed them up), nuke old purging stuff
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594464 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 05:51:24 +00:00
Noble Paul
8da5f6301c
check null or exists before deleting file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593884 13f79535-47bb-0310-9956-ffa450edef68
2014-05-12 03:24:35 +00:00
Robert Muir
9714faa314
LUCENE-5666: get solr compiling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1593856 13f79535-47bb-0310-9956-ffa450edef68
2014-05-11 20:38:21 +00:00
Uwe Schindler
0086a6e644
LUCENE-5640: Refactor Token, add new PackedTokenAttributeImpl, make use of Java 7 MethodHandles in DEFAULT_ATTRIBUTE_FACTORY
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592914 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 22:24:58 +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
Dawid Weiss
48d08fea07
Soft limit on the sysout bytes instead of a yes/no switch.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE-5622@1591214 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 08:27:23 +00:00
Dawid Weiss
943f0cab26
Catching up with trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE-5622@1591209 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 07:59:31 +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
b7ae53146e
Remove obsolete "hadoop.version" entity
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589935 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 05:59:13 +00:00
Dawid Weiss
5767c9a835
Branch for LUCENE-5622
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE-5622@1589645 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 09:22:03 +00:00
Mark Robert Miller
521361d252
SOLR-5996: Add deleteId and not Id for failed delete tracking.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589127 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 13:47:39 +00:00
Mark Robert Miller
2ce470fa6c
SOLR-5996: Improve request fail logging by including id.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588846 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 03:04:03 +00:00
Mark Robert Miller
07470a07f9
SOLR-5996: Fix checkIfDiffIsLegal, add some testing, refactor out a few methods into CloudInspectUtil.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588486 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 15:00:25 +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
abed84e836
SOLR-5989: Pass add and delete fails to checkShardConsistency call in ChaosMonkeyNothingisSafeTest so that legal differences are ignored.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588403 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 02:37:12 +00:00
Mark Robert Miller
389a4b93dc
SOLR-5776: Set the server side to SHA1PRNG as in Steve's original patch.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588402 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 02:22:51 +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
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
Mark Robert Miller
856cdf8d3e
SOLR-5980: AbstractFullDistribZkTestBase#compareResults always returns false for shouldFail.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586781 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 21:31:50 +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
ee084bbe60
Cleanups and refactorings after Mark's suggestions.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584633 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 12:04:49 +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
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
Mark Robert Miller
64ad96afb1
SOLR-5914: Need to use ensureClosed boolean everywhere in SolrTestCaseJ4.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582826 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 16:55:24 +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
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
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
b838ab4b96
tests: improve test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580755 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 05:39:44 +00:00
Mark Robert Miller
1567665c96
LUCENE-5543: Add allowReadingFilesStillOpenForWrite to MockDirectoryFactory and MockDirectoryWrapper and set it to true for cloud tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580707 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 02:47:53 +00:00
Mark Robert Miller
b2335520fe
SOLR-5865: Testing improvements.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579951 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 15:00:07 +00:00
Mark Robert Miller
5c20f7dfba
SOLR-5865: Un@Ignore test again.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579679 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 16:30:28 +00:00
Mark Robert Miller
2ce105ed45
SOLR-5888: Speed up SyncSliceTest as well as some other tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579539 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 05:03:14 +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
Mark Robert Miller
07dc96fd0c
SOLR-5880: Start using zookeeper.forceSync=false in tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579252 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 15:05:13 +00:00
Mark Robert Miller
d05076d5f2
SOLR-5880: Stop using zookeeper.forceSync=false for now.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579242 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 14:42:55 +00:00
Mark Robert Miller
daa10a5435
SOLR-5880: Start using zookeeper.forceSync=false in tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579120 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 03:39:49 +00:00
Mark Robert Miller
69de1dd4ab
SOLR-5865: Provide a MiniSolrCloudCluster to enable easier testing.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579116 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 03:11:03 +00:00
Mark Robert Miller
0914b1bd60
Revert CollectionAPIDistributedZkTest for a bit - needs some more work.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578744 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 05:34:06 +00:00
Mark Robert Miller
855617a528
Improve CollectionsAPIDistributedZkTest.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578739 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 05:04:48 +00:00
Shalin Shekhar Mangar
c446aec1ed
SOLR-5838: Relative SolrHome Path Bug At AbstractFullDistribZkTestBase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578089 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 14:46:02 +00:00
Shalin Shekhar Mangar
e790ae64c0
SOLR-5550: shards.info is not returned by a short circuited distributed query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578078 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 14:11:07 +00:00
Steven Rowe
8db8c88def
Create a stopword filter factory that is (re)configurable, and capable of reporting its configuration, via REST API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577540 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 14:05:49 +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
Jan Høydahl
44bec7cfe4
SOLR-5853: Return status for AbstractFullDistribZkTestBase#createCollection() and friends
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577156 13f79535-47bb-0310-9956-ffa450edef68
2014-03-13 13:38:20 +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
f38c82b7a2
SOLR-5714: You can now use one pool of memory for for the HDFS block cache that all collections share.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573847 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 03:18:47 +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
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
Robert Muir
9c450302e5
SOLR-5771: Add SuppressSSL instead of static boolean in SolrTestCaseJ4
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571691 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 13:50:03 +00:00
Uwe Schindler
00339db708
SOLR-5764: More improvements.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570937 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 22:34:19 +00:00
Uwe Schindler
94db09410f
SOLR-5764: Make error message of SolrTestCaseJ4.getFile() more readable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570931 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 21:55:59 +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
Mark Robert Miller
8dda84ca74
tests: raise default connection timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569891 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 20:03:08 +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
cae15ce7b6
SOLR-5740: Improve ChaosMonkey to not fail on expected fails due to client add/delete fails.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569120 13f79535-47bb-0310-9956-ffa450edef68
2014-02-17 22:17:37 +00:00
Mark Robert Miller
1748d7b695
tests: raise timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568848 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 22:22:46 +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
Chris M. Hostetter
55424a558a
cleanup RestTestBase in @AfterClass
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567226 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 17:32:57 +00:00
Mark Robert Miller
9dfefa81a4
SOLR-3854 : Reset ALLOW_SSL in afterClass.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566883 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 00:14:31 +00:00
Alan Woodward
ce571f0242
SOLR-5704: new cores should be created under coreRootDirectory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566598 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 12:45:04 +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
37fc18ef9f
SOLR-3854: Boost test timeouts - SSL can be slower.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566483 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 00:50:23 +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
Mark Robert Miller
e7c1b36636
SOLR-5625: Add testing around SolrCmdDistributor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561079 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:23:16 +00:00
Mark Robert Miller
df7c5e7772
tests: try harder to not kill the last replica in a shard
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560557 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 23:13:01 +00:00
Robert Muir
ab0e85fafe
LUCENE-5388: remove Reader from Tokenizer ctor ( closes #16 )
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556801 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 13:27:29 +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
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
6f3c74ebd3
tests: raise connect timeout from 15 to 30
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554056 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 19:13:10 +00:00
Mark Robert Miller
227ce7c228
SOLR-5573: ChaosMonkey should randomly turn off Solr's commit on shutdown option.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553159 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 17:34:24 +00:00
Mark Robert Miller
8f6343fb83
SOLR-5548: Give DistributedSearchTestCase / JettySolrRunner the ability to specify extra filters.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550508 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 20:15:52 +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
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
Mark Robert Miller
bbd4548428
SOLR-5509: Better string ids for these tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546821 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 15:52:08 +00:00
Mark Robert Miller
4460efe729
tests: remove start the deadpool option when monkey stops
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546677 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 02:19:12 +00:00
Steven Rowe
921bd47919
SOLR-5354: Distributed sort is broken with CUSTOM FieldType
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546457 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 21:00:28 +00:00
Mark Robert Miller
295ce29bfb
tests: have ChaosMonkeyNothingIsSafeTest start up down nodes at the end so that any final updates won't fail because there is no leader coming
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545409 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 21:14:11 +00:00
Mark Robert Miller
dc147b8ee0
tests: mark the control requests in logging output for deletes as well
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545399 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 20:46:17 +00:00
Mark Robert Miller
78a40b68fb
tests: remove extra control add from last commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545359 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 18:09:40 +00:00
Mark Robert Miller
42ead72e6f
tests: mark the control requests in logging output
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545336 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 16:25:51 +00:00
Mark Robert Miller
2cd275ce25
SOLR-5417: make forbidden API's happy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545128 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 01:27:56 +00:00
Mark Robert Miller
56a116aae8
SOLR-5417: fail if the chaosmonkey runs for over 20 seconds and doesn't kill a jetty
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545125 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 01:11:51 +00:00
Mark Robert Miller
262e0c4190
SOLR-5497: Did not help.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545107 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 23:15:51 +00:00
Mark Robert Miller
aca845c6a0
SOLR-5497: Do not try and start a jetty that is not stopped
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545066 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 20:20:10 +00:00
Mark Robert Miller
ac8cd42ebd
SOLR-5497: See if this helps.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545049 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 19:12:50 +00:00
Mark Robert Miller
1f2baa27f3
SOLR-5497: Try and explicit set so linger to 0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544913 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 05:22:38 +00:00
Mark Robert Miller
da585d78ed
tests: tweak timeouts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542730 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 14:20:10 +00:00
Mark Robert Miller
a30b4ef94d
SOLR-5439: raise so timeout for this client to 60s from 30s - also remove sync idiom that I see failing under contention
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542536 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 17:25:28 +00:00
Erick Erickson
7f2b8bc419
SOLR-5287: Allow at least solrconfig.xml and schema.xml to be edited via the admin screen
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1542345 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 17:53:20 +00:00
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
Mark Robert Miller
dab5e2aa89
tests: allow the monkey to be disabled and bring back some randomization to exp and conn loss
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538390 13f79535-47bb-0310-9956-ffa450edef68
2013-11-03 15:54:18 +00:00
Shai Erera
ec4720f4c2
LUCENE-5189: rename internal API following NumericDocValues updates
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538143 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 04:38:47 +00:00
Mark Robert Miller
d24357e87b
SOLR-5417: The ChaosMonkey tests are not causing any disruption.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538110 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 00:44:29 +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
1c8595c86a
SOLR-5384: randomlyEnableAutoSoftCommit in ChaosMonkeySafeLeaderTest is buggy.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1535204 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 22:37:47 +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
Yonik Seeley
086ec7c493
SOLR-5330: make copy of term bytes before calling next
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1532900 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 20:45:48 +00:00
Ryan Ernst
9fecedb68e
SOLR-5329: moved AbstractBadConfigTestBase to test-framework
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1532676 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 08:04:31 +00:00
Steven Rowe
7dc46c9f2d
LUCENE-5273: Fix slowdown when running 'ant example': unless called from the 'create-package' target, the 'lucene-jars-to-solr' and 'module-jars-to-solr' targets no longer depend on '-unpack-lucene-tgz', pulling lucene-*.jar from lucene/build/*/ instead.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531750 13f79535-47bb-0310-9956-ffa450edef68
2013-10-13 21:04:31 +00:00
Steven Rowe
6f06bb1708
LUCENE-5273: Binary artifacts in Lucene and Solr convenience binary distributions accompanying a release, including on Maven Central, should be identical across all distributions.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531354 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 16:58:36 +00:00
Mark Robert Miller
0c6a64493c
SOLR-5325: ZooKeeper connection loss can cause the Overseer to stop processing commands.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531313 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 14:34:49 +00:00
Mark Robert Miller
33f7d2b5ea
SOLR-5317: SolrCore persistence bugs if defining SolrCores in solr.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530856 13f79535-47bb-0310-9956-ffa450edef68
2013-10-10 04:10:33 +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
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
Mark Robert Miller
8eca0a7ccd
SOLR-5274: Allow JettySolrRunner SSL config to be specified via a constructor.
...
Updating org.apache.httpcomponents above 4.2.2 causes tests using SSL to fail.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526494 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 13:57:29 +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
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
Erick Erickson
2ddb8154f4
SOLR-4688, add tests related to reporting ore init failures and lazy loaded cores
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1519180 13f79535-47bb-0310-9956-ffa450edef68
2013-08-31 13:20:48 +00:00
Mark Robert Miller
cb439e9482
SOLR-5188: Bring back a test that checks the default LogWatcher enabled setting.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1517816 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 13:41:34 +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
Mark Robert Miller
b1f419fbaf
SOLR-5164: fix relative solr.home testing on Windows
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514939 13f79535-47bb-0310-9956-ffa450edef68
2013-08-17 03:20:54 +00:00
Mark Robert Miller
d0bb1cc471
SOLR-5164: add relative solr.home testing to some tests, explicitly check for expected instanceDir handling with relative solr.home
...
SOLR-5099: explicity check for proper solrcore.properties creation
Speed up some tests by setting leaderVoteWait to 0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514857 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 19:12:29 +00:00
Chris M. Hostetter
d9ad5bfb76
make RandomMergePolicy log what MP it is wrapping
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514815 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 17:41:44 +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
25bd977a3c
SOLR-4708: a follow-up commit that disables the clustering component in tests. This is needed because core tests are executed before the contribs are compiled so certain classes are not yet available (unless you already have them locally). An alternative would be to compile everything before any tests are executed, but it seems that it'd add an extra unnecessary overhead to every build.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512278 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 12:15:59 +00:00
Chris M. Hostetter
6c8e6e00f3
SOLR-4952: use solrconfig.snippet.randomindexconfig.xml in solrconfig.xml and crazy-path-to-config.xml; this included removing some unneccessary checks for indexConfig settings that already have their own explicit tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510802 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 23:17:39 +00:00
Chris M. Hostetter
26a914558b
SOLR-2570: randomize more indexConfig settings in tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510637 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 18:18:39 +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
Chris M. Hostetter
c78b4f80bb
SOLR-4951: Better randomization of MergePolicy in Solr tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508521 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 16:57:37 +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
Alan Woodward
417f1ba3b4
SOLR-5028,SOLR-5029: Fix ShardHandlerFactory creation and persistence
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502231 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 14:15:35 +00:00
Steven Rowe
b2bc345a60
SOLR-4916: Move MiniDfsCluster test dependencies from solr test-framework to solr-core; download solr-core test dependencies to solr/core/test-lib/ instead of solr/core/lib/; download DIH test dependencies to solr/contrib/dataimporthandler/test-lib instead of [...]/lib/
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502105 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 04:03:24 +00:00
Yonik Seeley
90d792dd1d
tests: ignore expected exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502006 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 21:19:26 +00:00
Yonik Seeley
8607f3b76e
tests: add regex capability to JSON test format
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501933 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 19:34:56 +00:00
Yonik Seeley
7f1765f1fa
tests: use single quoted json for readability
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501809 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 15:54:35 +00:00
Erick Erickson
3b640360fd
Fix for SOLR-4982, creating cores with sysprops does not dereference them properly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500284 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 14:45:47 +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
6235e48896
SOLR-4967: Supporting passing on multi value params when forwarding allowed params in DistributedUpdateProcessor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497812 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 15:25:11 +00:00
Mark Robert Miller
8bcc141fb9
SOLR-4916: Update NOTICE file and remove log4j from test-framework dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497133 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 22:11:33 +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
Erick Erickson
0b6fa118f5
SOLR-4932 some extra parameters persisted to solr.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493982 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 01:30:49 +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
Mark Robert Miller
d35702de9a
SOLR-4805,SOLR-4843: SolreCore#reload should not call preRegister and publish a DOWN state to ZooKeeper.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491310 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 22:51:21 +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
Chris M. Hostetter
e38d831c4f
SOLR-4858: svn add missing test class, and remove nocommit that was overriding randomization of updateLog in SolrTestCaseJ4
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1488431 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 23:42:51 +00:00
Yonik Seeley
b3acf03c7e
SOLR-4858: increase ulog test coverage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1488365 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 19:40:51 +00:00
Dawid Weiss
84d08b269c
LUCENE-4987: Upgrade randomized testing to version 2.0.10:
...
Test framework may fail internally due to overly aggresive J9 optimizations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480457 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 21:04:04 +00:00
Chris M. Hostetter
a039f476c8
SOLR-4622: Hardcoded SolrCloud defaults for hostContext and hostPort that were deprecated in 4.3 have been removed completely.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480160 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 04:52:38 +00:00
Adrien Grand
fa76c30147
LUCENE-4963: Completely remove deprecated options in 5.0.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479171 13f79535-47bb-0310-9956-ffa450edef68
2013-05-04 20:25:51 +00:00
Alan Woodward
f35a93ef67
SOLR-4778: Move LogWatcher init code out of CoreContainer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478152 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 19:25:52 +00:00
Mark Robert Miller
79f996a31b
SOLR-4757: Change the example to use the new solr.xml format and core discovery by directory structure.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476227 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 14:32:35 +00:00
Mark Robert Miller
33abacf125
SOLR-4749: Clean up and refactor CoreContainer code around solr.xml and SolrCore management.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470758 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 00:09:30 +00:00
Mark Robert Miller
87e248f2d5
SOLR-4749: Clean up and refactor CoreContainer code around solr.xml and SolrCore management.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470674 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 19:35:10 +00:00
Steven Rowe
28b7111dc7
SOLR-3251: Dynamically add fields to schema.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470539 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 14:26:55 +00:00
Steven Rowe
c91f22b0b0
SOLR-4658:
...
- Fix class name shortening issues, for SimilarityFactory's, FieldType's, and analysis factories: persisted class names' original forms are preserved in both shortened form (e.g. 'solr.TextField') and fully qualified form (e.g. 'org.apache.solr.schema.TextField')
- luceneMatchVersion on analysis factories is now persisted only when explicitly specified in the original; previously the default value was persisted when it was absent in the original
- Add MockTokenFilterFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466720 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 22:36:19 +00:00
Erick Erickson
ae84b6a178
=SOLR-4663, SOLR-4347, SOLR-1905. Warn for bad core configs, persist transient cores correctly, do not persist implicit properties
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466291 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 23:46:24 +00:00
Steven Rowe
6de43dea0a
LUCENE-4877: more param parsing verbs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463335 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 23:45:33 +00:00
Robert Muir
29b5142e79
LUCENE-4877: throw exception for invalid arguments in analysis factories
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463191 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 16:30:00 +00:00
Steven Rowe
b1e4ba6843
SOLR-4658: In preparation for REST API requests that can modify the schema, a "managed schema" is introduced.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463182 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 16:16:03 +00:00
Steven Rowe
61875d4c8f
LUCENE-4879: Finish solr upgrade: upgrade randomizedtesting-runner and junit4-ant dependencies in solr/test-framework/ivy.xml; and add junit4-ant 2.0.9 SHA1 to solr/licenses/
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461280 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 19:40:56 +00:00
Steven Rowe
5c7ca6aa48
SOLR-4623: Provide REST API read access to all elements of the live schema. Add a REST API request to return the entire live schema, in JSON, XML, and schema.xml formats. Move REST API methods from package org.apache.solr.rest to org.apache.solr.rest.schema, and rename base functionality REST API classes to remove the current schema focus, to prepare for other non-schema REST APIs. Change output path for copyFields and dynamicFields from "copyfields" and "dynamicfields" (all lowercase) to "copyFields" and "dynamicFields", respectively, to align with all other schema REST API outputs, which use camelCase.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460519 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 04:29:33 +00:00
Robert Muir
1e656d42c5
SOLR-4606: set the random seed used to shuffle shards within tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457821 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 15:40:41 +00:00
Robert Muir
edc777e22e
SOLR-4607: use noggit 0.5 release jar
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457811 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 15:28:35 +00:00
Mark Robert Miller
d5bcb41586
SOLR-4605: Rollback does not work correctly.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457784 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 14:52:49 +00:00
Steven Rowe
67083534ff
LUCENE-4642:
...
* TokenizerFactory.create(Reader) is made final, and calls the AttributeFactory-accepting version with AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY
* TokenizerFactory.create(AttributeFactory, Reader) is made abstract
* Added AttributeFactory-accepting constructors to all Tokenizer's with existing TokenizerFactory subclasses that didn't already have them
* Removed create(Reader) from all TokenizerFactory subclasses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456768 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 04:41:50 +00:00
Steven Rowe
092545884e
LUCENE-4642: Add create(AttributeFactory) to TokenizerFactory and subclasses with ctors taking AttributeFactory, and remove Tokenizer's and subclasses' ctors taking AttributeSource.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455670 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 19:04:06 +00:00
Erick Erickson
325ab7dfe1
Fix for assumption in the test harness uncovered by SOLR-4317
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455368 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 00:12:48 +00:00
Erick Erickson
f5b524f434
fix for SOLR-4317, don't requre 'collection1' in test harness. Thanks Tricia.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455196 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 15:46:52 +00:00
Mark Robert Miller
5ea281a9d6
SOLR-4555: When forceNew is used with CachingDirectoryFactory#get, the old CachValue should have it's path set to null.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454993 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 04:20:14 +00:00
Mark Robert Miller
2fa013d7df
SOLR-4475: Fix various places that still assume File based paths even when not using a file based DirectoryFactory.
...
SOLR-4551: CachingDirectoryFactory needs to create CacheEntry's with the fullpath not path.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454913 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 20:14:31 +00:00
Mark Robert Miller
09f4fa2191
SOLR-4497: Collection Aliasing.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453687 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 05:52:23 +00:00
Steven Rowe
4618a5a0fe
SOLR-4503: Add REST API methods to get schema information: fields, dynamicFields, fieldTypes, and copyFields. Restlet 2.1.1 is integrated and is used to service these requests.
...
Also fixes bugs in dynamic copyField logic described in SOLR-3798.
Also fixes a bug with proxied SolrCloud requests (SOLR-4210) when using the GET method.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453161 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 04:50:33 +00:00
Mark Robert Miller
61eca4446b
tests: speed test up a bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452113 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 19:42:31 +00:00
Erick Erickson
aa22ceb97d
SOLR-4196, steps toward making solr.xml obsolete
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451797 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 01:01:12 +00:00
Mark Robert Miller
99b77c04aa
SOLR-4513: We can speed up the Collections API test quite a bit by not loading any cores on startup.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451214 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 14:30:30 +00:00
Mark Robert Miller
f3be2a55fa
tests: tweak syncslicetest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450600 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 04:40:20 +00:00
Mark Robert Miller
d0d2ff9209
SOLR-4078: Allow custom naming of SolrCloud nodes so that a new host:port combination can take over for a previous shard.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450012 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 04:09:52 +00:00
Steven Rowe
83fa975ae9
LUCENE-4789: fix typos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448400 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 20:53:46 +00:00
Chris M. Hostetter
881c0b21eb
SOLR-4394: phase 2, promoted SSL randomization logic up to SolrJettyTestBase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447885 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 19:52:16 +00:00
Mark Robert Miller
aee1929695
tests: fix compare bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447071 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 20:34:01 +00:00
Mark Robert Miller
902e34af55
tests: improve some cloud tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446935 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 20:21:33 +00:00
Mark Robert Miller
384d42b5e3
SOLR-4421,SOLR-4165: On CoreContainer shutdown, all SolrCores should publish their state as DOWN.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446914 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 16:59:53 +00:00
Chris M. Hostetter
9e767a667d
SOLR-4394: Tests and example configs demonstrating SSL with both server and client certs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445971 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 23:04:38 +00:00
Mark Robert Miller
dd9ffb9bc5
SOLR-3911: Replicate after startup option would not replicate until the IndexWriter was lazily opened.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440508 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 16:29:05 +00:00