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
Mark Robert Miller
7f2353defd
SOLR-3911: pass a context flag so that impls can use different strategies for index directories vs meta data file directories
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432670 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 17:38:26 +00:00
Shalin Shekhar Mangar
f41e563d7d
SOLR-4112: Fixed DataImportHandler ZKAwarePropertiesWriter implementation so
...
import works fine with SolrCloud clusters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432045 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 13:38:23 +00:00
Yonik Seeley
b85bf15d38
tests: improve stack traces
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428138 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 02:04:46 +00:00
Dawid Weiss
a25096e273
LUCENE-4650: Upgrade randomized testing to version 2.0.8: make the test framework more robust under low memory conditions.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427696 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 08:16:22 +00:00
Mark Robert Miller
6b6d1f65c2
tests: only add a delete if the doc add did not fail
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427618 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 01:26:04 +00:00
Mark Robert Miller
fc4ed67dc2
tests: fix - only do this check if there are actually different docs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427616 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 01:19:08 +00:00
Mark Robert Miller
a5d5c905e0
tests: only do this check if there are actually different docs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427606 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 00:47:23 +00:00
Uwe Schindler
ba52cd4e03
Revert SOLR-1972
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426230 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 15:48:37 +00:00
Mark Robert Miller
15bf918824
tests: parameterize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425818 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 04:44:50 +00:00
Mark Robert Miller
4bd6402d16
raise so timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424868 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 11:23:29 +00:00
Chris M. Hostetter
a5608fb81e
fix the 'double-slash' URL that has been taunting my nightmares ... doesn't appear to have any bearing on test correctness, but has definitely been confusing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424796 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 03:38:13 +00:00
Yonik Seeley
fb0a737ff6
tests: allow calling useFactory more than once
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424793 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 03:12:37 +00:00
Mark Robert Miller
719c4dd5e9
raise test so timeout for clients
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424611 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 17:57:22 +00:00
Mark Robert Miller
cb188b0679
don't alter recovery wait based on nightly or random multiplier
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424510 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 15:09:05 +00:00
Yonik Seeley
0fbb260f1e
tests: fix showDiff to only return differing ids
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423756 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 03:53:25 +00:00
Yonik Seeley
ad7c665177
tests: start single jetty in cloud mode w/ manual shard assignment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423753 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 03:44:29 +00:00
Yonik Seeley
2b800b3c0e
tests: don't start up default collection if numSlices<=0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423729 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 01:00:58 +00:00
Yonik Seeley
5f502ec003
SOLR-3180: improve logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423591 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 19:30:39 +00:00
Yonik Seeley
9a37c111db
tests: _version_ isn't comparable with control
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423182 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 22:03:27 +00:00
Yonik Seeley
3ad389d8f7
tests: show details of count mismatch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423179 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 21:59:25 +00:00
Uwe Schindler
59af60a806
SOLR-4205: Update randomized-testing framework to 2.0.7
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422836 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 10:36:40 +00:00
Mark Robert Miller
bebc60c979
raise test socket timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422797 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 08:48:29 +00:00
Mark Robert Miller
f5b5d3e17f
SOLR-4204: Make SolrCloud tests more friendly to FreeBSD blackhole 2 environments.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422728 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 00:38:03 +00:00
Uwe Schindler
497342bd6b
LUCENE-4632: Restrict test-framework's write permissions more: Only allow write to per-JVM CWD and the clover.db.dir; update randomizedtesting to 2.0.6
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422437 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 00:50:32 +00:00
Mark Robert Miller
38d16dc7b7
SOLR-4140: Allow access to the collections API through CloudSolrServer without referencing an existing collection.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421071 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 03:21:11 +00:00
Chris M. Hostetter
5992a831e4
SOLR-4136: fix hostContext randomization to never include double slashes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421034 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 23:02:20 +00:00
Chris M. Hostetter
50407282a7
Fix SolrCloud behavior when using "hostContext" containing "_" or"/" characters. This fix also makes SolrCloud more accepting of hostContext values with leading/trailing slashes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420497 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 00:26:09 +00:00
Yonik Seeley
c02c9dd262
SOLR-2592: cleanups - remove unneeded range info, rename getLeaderProps to getLeaderRetry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420284 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 17:02:13 +00:00
Shai Erera
e2f54df3ca
fix missing Overrides
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420195 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 14:31:01 +00:00
Yonik Seeley
6f6211d310
SOLR-4118: Fix replicationFactor to align with industry usage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419689 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 19:29:24 +00:00
Dawid Weiss
f26a84adca
LUCENE-4603: Upgrade randomized testing to version 2.0.5: print forked JVM PIDs on heartbeat from hung tests (Dawid Weiss)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419261 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 08:41:16 +00:00
Mark Robert Miller
ab00c42eff
SOLR-4158: When a core is registering in ZooKeeper it may not wait long enough to find the leader due to how long the potential leader waits to see replicas.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418818 13f79535-47bb-0310-9956-ffa450edef68
2012-12-09 05:52:08 +00:00
Yonik Seeley
2111cfecd8
tests: allow custom schema in ZK and copy to canonical schema name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418737 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 19:34:50 +00:00
Yonik Seeley
113437054c
SOLR-2592: more DocCollection refactoring in tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418507 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 22:06:37 +00:00
Robert Muir
8f9bcb02f9
SOLR-4147: 64-bit IBM jre miscompiles code for these tests, they pass with -Xint
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418082 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 21:06:49 +00:00
Yonik Seeley
e34b5ea98e
SOLR-2592: delegate query-time shard selection to collection router
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416744 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 02:01:02 +00:00
Shai Erera
2ae7bbed6d
disable doubleWrite check in MockDirectoryFactory, or otherwise TestReplicationHandler fails
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416491 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 12:38:54 +00:00
Yonik Seeley
1cee959d6b
SOLR-2592: progress - introduce DocCollection, add properties for collections, add a router collection property, add some builtin routers, rename HashPartitioner to DocRouter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416025 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 17:13:26 +00:00
Mark Robert Miller
2c91a229cd
don't set solrhome to null after test has run
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411707 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 15:45:48 +00:00
Mark Robert Miller
2f6b3ecc6f
clean up static fields in test base class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411544 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 05:38:32 +00:00
Mark Robert Miller
dad188820e
SOLR-3602: Update ZooKeeper to 3.4.5
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411527 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 03:36:14 +00:00
Mark Robert Miller
f902314d74
SOLR-3993: If multiple SolrCore's for a shard coexist on a node, on cluster restart, leader election would stall until timeout, waiting to see all of the replicas come up.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408313 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 15:10:47 +00:00
Chris M. Hostetter
b6db7c76f1
SOLR-3904: progress adding package.html files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406204 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 16:17:50 +00:00
Alan Woodward
03ed8213cb
SOLR-1972: Add extra query stats to RequestHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403555 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 22:13:03 +00:00
Mark Robert Miller
3a71167078
when we timeout waiting for recoveries to finish, print the zk cluster state and current stack traces for all threads
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403131 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 00:00:15 +00:00
Mark Robert Miller
2343f0d06a
more informative error msg in test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403056 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 18:04:23 +00:00
Dawid Weiss
e0e91d252f
Upgrade randomized testing to version 2.0.4: avoid hangs on shutdown
...
hooks hanging forever by calling Runtime.halt() in addition to
Runtime.exit() after a short delay to allow graceful shutdown (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402952 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 08:34:26 +00:00
Mark Robert Miller
5a6bb2b287
there should be a wait on this retry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402808 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 15:41:22 +00:00
Robert Muir
2cfc445f82
solr test failures unrelated to freebsd
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402798 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 14:17:47 +00:00
Mark Robert Miller
42f27adc1a
SOLR-3911: Make Directory and DirectoryFactory first class so that the majority of Solr's features work with any custom implementations.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402613 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 18:38:59 +00:00
Chris M. Hostetter
d4108c2b80
SOLR-3988: Fixed SolrTestCaseJ4.adoc(SolrInputDocument) to respect field and document boosts
...
SOLR-3981: Fixed bug that resulted in document boosts being compounded in <copyField/> destination fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401916 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 23:22:23 +00:00
Dawid Weiss
8fd5dd6bdd
Updating rr to 2.0.3
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1395778 13f79535-47bb-0310-9956-ffa450edef68
2012-10-08 21:05:46 +00:00
Michael McCandless
59a63c2f32
LUCENE-4451: upgrade to randomizedtesting-2.0.2.jar to reduce RAM overhead for tracking new threads
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1392541 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 19:29:53 +00:00
Uwe Schindler
b2b3a7aec3
Fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1392464 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 17:44:00 +00:00
Uwe Schindler
09720113f8
LUCENE-4445: Fix clover to correcty instrument all packages, improve permgen
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1391382 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 10:12:49 +00:00
Mark Robert Miller
d503f4a31f
SOLR-3892: Inconsistent locking when accessing cache in CachingDirectoryFactory from RAMDirectoryFactory and MockDirectoryFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390207 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 23:02:14 +00:00
Mark Robert Miller
c656ba11bf
SOLR-3869: A PeerSync attempt to it's replicas by a candidate leader should not fail on o.a.http.conn.ConnectTimeoutException.
...
Also turn on the use of jetty test mode with sys prop that was no longer being used - this improves the situation when we restart jetty. Both of these fixes should help our FreeBSD continuous build.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389160 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 22:58:40 +00:00
Robert Muir
f025322f81
fix all malformed javadocs (@code/deprecated/param/returns/throws with no args)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389133 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 19:54:23 +00:00
Sami Siren
b8f9525142
do not write to test-files dir, use dirs that are less likely to collide for jettys
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388492 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 13:43:28 +00:00
Robert Muir
38d3c8ccd3
add missing resolve dependency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388246 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 22:13:55 +00:00
Uwe Schindler
7405b9772b
SOLR-3733: First version of patch (without Robert's changes)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388082 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 15:37:42 +00:00
Dawid Weiss
5efe1b60ba
LUCENE-4406, LUCENE-4407: Upgrade to randomizedtesting 2.0.1.
...
Workaround for broken test output XMLs due to non-XML text unicode
chars in strings. Added printing of failed tests at the end of a
test run (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387577 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 13:19:12 +00:00
Erick Erickson
580b53efdd
Fixes for SOLR-3846 (very long tests on OS X for TestReplicationHandler)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387099 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 11:40:13 +00:00
Mark Robert Miller
4214846719
switch some of the localhost usage to 127.0.0.1
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386639 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 14:46:02 +00:00
Robert Muir
362975cd8e
try to reduce the TestReplicationHandler noise to the dev list by not failing here for freebsd
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386588 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 12:45:26 +00:00
Mark Robert Miller
43d1451624
raise test timeout a bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385139 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 17:45:01 +00:00
Mark Robert Miller
eb275c2b43
SOLR-3831: Atomic updates do not distribute correctly to other nodes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385136 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 17:39:28 +00:00
Mark Robert Miller
ba5b6a4a71
try a longer wait
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385069 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 14:18:46 +00:00
Mark Robert Miller
f0185fb9d5
SOLR-3833: When a election is started because a leader went down, the new leader candidate should decline if the last state they published was not active.
...
SOLR-3836: When doing peer sync, we should only count sync attempts that cannot reach the given host as success when the candidate leader is syncing with the replicas - not when replicas are syncing to the leader.
SOLR-3835: In our leader election algorithm, if on connection loss we found we did not create our election node, we should retry, not throw an exception.
SOLR-3834: A new leader on cluster startup should also run the leader sync process in case there was a bad cluster shutdown.
SOLR-3772: On cluster startup, we should wait until we see all registered replicas before running the leader process - or if they all do not come up, N amount of time.
SOLR-3756: If we are elected the leader of a shard, but we fail to publish this for any reason, we should clean up and re trigger a leader election.
SOLR-3812: ConnectionLoss during recovery can cause lost updates, leading to shard inconsistency.
SOLR-3813: When a new leader syncs, we need to ask all shards to sync back, not just those that are active.
SOLR-3807: Currently during recovery we pause for a number of seconds after waiting for the leader to see a recovering state so that any previous updates will have finished before our commit on the leader - we don't need this wait for peersync.
SOLR-3837: When a leader is elected and asks replicas to sync back to him and that fails, we should ask those nodes to recovery asynchronously rather than synchronously.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384923 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 21:05:15 +00:00
Chris M. Hostetter
1de28d8c21
SOLR-3826: Test framework improvements for specifying coreName on initCore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384872 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 18:07:23 +00:00
Yonik Seeley
b34c9a9683
SOLR-3815: separate ZkNodeProps from Replica, change properties from String values to Object values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382621 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 02:14:50 +00:00
Dawid Weiss
b3c300709c
LUCENE-4360: Support running the same test suite multiple times in parallel.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381123 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 10:05:44 +00:00
Mark Robert Miller
678e35aa58
SOLR-3782: A leader going down while updates are coming in can cause shard inconsistency.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380974 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 04:03:55 +00:00
Sami Siren
dc0ad3cc2b
increase timeouts and wait time so that RecoveryZkTest is more likely to pass on a slower machine
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380581 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 11:57:27 +00:00
Dawid Weiss
f45c48e097
Don't interrupt zookeeper's SyncThread because it invokes system.exit. We
...
should ban System.exit via the policy file. Unfortunately System.exit is
used by the runner itself too (otherwise it wouldn't be able to exit the
JVM in the presence of background threads) so the policy would need to be
selective and either ban certain packages or revoke the grant for the
runner.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380200 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 11:10:53 +00:00
Mark Robert Miller
2fdd58398a
SOLR-3750: On session expiration, we should explicitly wait some time before running the leader sync process so that we are sure every node participates.
...
SOLR-3772: On cluster startup, we should wait until we see all registered replicas before running the leader process or if they all do not come up, N amount of time.
SOLR-3752: When a leader goes down, have the Overseer clear the leader state in cluster.json
SOLR-3751: Add defensive checks for SolrCloud updates and requests that ensure the local state matches what we can tell the request expected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379002 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 16:23:16 +00:00
Mark Robert Miller
574d859d2b
work harder to shutdown jetty for cases where jetty was started but could not bind to the port - not perfect yet, but works better than a std stop - missed this class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378951 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 14:20:45 +00:00
Robert Muir
84fb1d09d0
LUCENE-4334: remove unnecessary ant-junit dependency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378090 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 11:50:28 +00:00
Chris M. Hostetter
769c9003cd
SOLR-3690: Fixed binary release packages to include dependencies needed for the solr-test-framework
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373553 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 18:30:04 +00:00
Mark Robert Miller
12cbfaf62a
SOLR-3730: Rollback is not implemented quite right and can cause corner case fails in SolrCloud tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373398 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 13:34:34 +00:00
Mark Robert Miller
c607f548bb
solrcloud: improve some logging, improve some testing, other minor tweaks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372981 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 17:16:43 +00:00
Mark Robert Miller
2c31ae30e5
SOLR-3727: improve solrcloud close/shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372626 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 21:22:08 +00:00
Dawid Weiss
d72080551a
Add issue pointer.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372316 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 08:41:40 +00:00
Dawid Weiss
cebfa0b9b9
LUCENE-3985: Upgrade to randomizedtesting 2.0.0. Added support for thread leak detection. Added support for suite timeouts. (Dawid Weiss)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372068 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 11:23:11 +00:00
Mark Robert Miller
f8bdd18671
fix test msg
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371397 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:21:04 +00:00
Chris M. Hostetter
90fdd55ae5
remove broken @returns from javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370908 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 19:36:21 +00:00
Mark Robert Miller
e528549a3b
still favor leaders with CloudSolrServer, but also fall back to replicas after leaders
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370864 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:01:11 +00:00
Yonik Seeley
0834c89f92
tests: fix test of unordered namedlist, skip explain comparisons
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369984 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 20:26:59 +00:00
Robert Muir
467faeaae0
LUCENE-4260: factor subPackages out of the resourceloader interface
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366360 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 12:15:03 +00:00
Robert Muir
8bfa167a73
LUCENE-4257: factor the getLines in REsourceLoader in WordListLoader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365992 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 13:43:28 +00:00
Yonik Seeley
19aa69b0cd
SOLR-3656 SOLR-3662: core reload improvements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364409 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 19:45:00 +00:00
Robert Muir
22b5c84800
LUCENE-4243: MockDirectoryWrapper synchronizes too much
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363971 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 22:09:26 +00:00
Yonik Seeley
cc90a37ed7
tests: test harness shouldn't hold core reference
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363819 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 15:04:23 +00:00
Mark Robert Miller
fc2d0ca5e6
raise default timeout a bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363512 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 20:05:07 +00:00
Yonik Seeley
66898c2659
tests: add core reload stress test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363082 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 20:05:11 +00:00
Robert Muir
e003b49cab
LUCENE-4228: refactor CharFilter to be a java.io.FilterReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362442 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 10:53:28 +00:00
Yonik Seeley
9875dc69fb
tests: fix AIOOB if last list element is skipped
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361517 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 10:25:08 +00:00
Yonik Seeley
e61e9134a8
SOLR-2702: add replication support to NRTCachingDirectoryFactory and make it the default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358650 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 21:48:19 +00:00
Robert Muir
6569c4854b
LUCENE-4185: don't apply CharFilters twice in Solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358481 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 00:32:28 +00:00
Mark Robert Miller
a5b001981d
fix test bug around closing cores
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357996 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 23:48:03 +00:00
Mark Robert Miller
3bbbd0bea3
SOLR-3488: Added a Collection management API for SolrCloud.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356313 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 15:57:12 +00:00
Steven Rowe
fd16190940
LUCENE-4172: clean up redundant throws clauses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355069 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 16:39:25 +00:00
Mark Robert Miller
1fc4347e41
SOLR-1770: Move the default core instance directory into a collection1 folder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354308 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 01:48:00 +00:00
Chris M. Hostetter
2ac3eb27c4
LUCENE-3949: fix license headers to not be javadoc style comments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348980 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 19:26:18 +00:00
Yonik Seeley
2b3ce2d435
tests: turn up logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341526 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 15:25:04 +00:00
Dawid Weiss
4652d65f0b
LUCENE-4047: Cleanup of LuceneTestCase: moved blocks of initialization/ cleanup code into JUnit instance and class rules.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1338826 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 18:47:45 +00:00
Christopher John Male
43fc21c41e
LUCENE-2510: Simplified analysis factory test hierarchy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1336462 13f79535-47bb-0310-9956-ffa450edef68
2012-05-10 01:06:43 +00:00
Ryan McKinley
800f5a54a6
SOLR-2857: add UpdateRequestHandler that handles xml,csv,json, and javabin
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1335768 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:06:10 +00:00
Yonik Seeley
e35df0b58f
SOLR-139 SOLR-3178 : Updateable documents, optimistic locking
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1335642 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 17:00:33 +00:00
Christopher John Male
0bad718d58
LUCENE-2510: Moved Analysis Factory parent classes into analysis module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1335331 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 03:23:47 +00:00
Yonik Seeley
612d9227de
SOLR-3427: fix NPE in UnInvertedField faceting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1333125 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 17:50:33 +00:00
Christopher John Male
d8898b662d
LUCENE-2510: Moved ResourceLoader/Aware into analysis module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1332037 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 01:34:48 +00:00
Christopher John Male
9dcae1a12f
SOLR-3402: Analysis Factory Lucene Version is now parsed outside of the Factories
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1331220 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 05:18:38 +00:00
Chris M. Hostetter
c0a94ba5f8
SOLR-2605: fixed tracking of the 'defaultCoreName' in CoreContainer so that CoreAdminHandler could return consistent information regardless of wether there is a a default core name or not
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1330028 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 21:42:19 +00:00
Robert Muir
ab3f63d279
LUCENE-4011: fix most broken links in solr javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329235 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 13:44:03 +00:00
David Wayne Smiley
81efc28978
SOLR-3161 TestHarness shouldn't configure 'qt' to be "standard" by default; let it be null to get the default handler.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329071 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 05:46:39 +00:00
Robert Muir
dad1d28085
LUCENE-3977: remove javadoc duplication in the website/binary release
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1328605 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 07:51:46 +00:00