Mark Robert Miller
d4b66af3b3
SOLR-3727: improve solrcloud close/shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372701 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 01:31:27 +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
Sami Siren
1d27c0364b
SOLR-3649: fix bug in JavabinLoader that caused deleteById(List<String> ids) to not work in SolrJ
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372346 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 09:56:33 +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
Yonik Seeley
932901bb01
SOLR-3715: remove sync around tlog serialization
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371379 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 18:53:19 +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
Mark Robert Miller
fec289ee99
SOLR-3710: Change CloudSolrServer so that update requests are only sent to leaders by default.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369484 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 22:03:42 +00:00
Mark Robert Miller
238c4274b6
SOLR-3709: Cache the url list created from the ClusterState in CloudSolrServer on each request.
...
SOLR-3708: Add hashcode to ClusterState so that structures built based on the ClusterState can be easily cached.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369465 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 21:22:45 +00:00
Mark Robert Miller
de3d41432c
rename CloudState to ClusterState
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369396 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 18:32:33 +00:00
Mark Robert Miller
7add2f7c62
LUCENE-3985: add close methods to Overseer and ConnectionManager and use them
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369236 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 22:34:08 +00:00
Mark Robert Miller
66dac680fe
assume that sometimes the zk state can be stale vs our watcher based state when checking our state matches zk state
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369189 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 20:03:16 +00:00
Mark Robert Miller
45030e76eb
SOLR-3639: Update ZooKeeper to 3.3.6
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369025 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 15:22:17 +00:00
Yonik Seeley
e397d26dea
SOLR-3154: add murmurhash3 that can work directly on a string
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367800 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 22:08:32 +00:00
Robert Muir
6d2a288be3
LUCENE-4262: add ivy sync=true, so when resolve runs, only jars that should be there are there
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366509 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 19:18:49 +00:00
Mark Robert Miller
6578d7f512
SOLR-3663: There are a couple of bugs in the sync process when a leader goes down and a new leader is elected.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364429 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 20:30:37 +00:00
Mark Robert Miller
b1fb39754b
don't treat 404 special and lost the http response code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363330 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 13:49:55 +00:00
Mark Robert Miller
24dae70408
SOLR-3639: Update ZooKeeper to 3.3.5 for a variety of bug fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363024 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 17:26:47 +00:00
Mark Robert Miller
83e07fec09
SOLR-3215: Clone SolrInputDocument when distrib indexing so that update processors after the distrib update process do not process the document twice.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363013 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:52:42 +00:00
Mark Robert Miller
e7d1278836
Add reload command to collections api - also improve tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361017 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 00:35:54 +00:00
Mark Robert Miller
46021d4575
SOLR-3460: Add cloud-scripts directory and a zkcli.sh|bat tool for easy scripting and interaction with ZooKeeper.
...
SOLR-3609: Change Solr's expanded webapp directory to be at a consistent path called solr-webapp rather than a temporary directory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360416 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 21:45:43 +00:00
Robert Muir
33e06a219d
LUCENE-4199: dont use ioutils here
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359324 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 18:15:52 +00:00
Robert Muir
aa13466422
LUCENE-4199: disallow deprecated jdk methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359322 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 18:11:36 +00:00
Robert Muir
123b645157
LUCENE-4199: fix remaining violations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359188 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 14:22:20 +00:00
Robert Muir
46cb8b9780
LUCENE-4199: fix more default locale/charset violations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359181 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 14:06:17 +00:00
Robert Muir
9df919c5ba
LUCENE-4199: fix more charset/locale usages
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358890 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 01:17:15 +00:00
Robert Muir
b6a4748f21
make Locale.ENGLISH/US -> ROOT for locale-independent operations, now that we are on java6
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358594 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 15:42:40 +00:00
Michael McCandless
fccd1be5e7
escape javadoc generics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356522 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 23:43:49 +00:00
Robert Muir
ea4d4cf670
remove no-arg @return
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356469 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 20:28:43 +00:00
Mark Robert Miller
38fc03163a
fix javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356435 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 19:43:52 +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
Dawid Weiss
51c387731b
LUCENE-4181: Change the semantics of @Slow on tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355310 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 10:55:26 +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
306081e328
SOLR-3582: Our ZooKeeper watchers respond to session events as if they are change events, creating undesirable side effects.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355004 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 13:23:49 +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
Sami Siren
0cf9ac0833
SOLR-3558 change SnapPuller to use solrj
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353889 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 09:28:03 +00:00
Jan Høydahl
59313cd115
SOLR-3351: eDismax: ps2 and ps3 params
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352726 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 23:40:05 +00:00
David Wayne Smiley
f12b94ab86
SOLR-3313 Rename Query Type to Request Handler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351932 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 04:23:07 +00:00
David Wayne Smiley
96d5d8e481
SOLR-2724 deprecate DefaultSearchField and defaultOperator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351931 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 04:17:04 +00:00
Sami Siren
a440c1c1ad
SOLR-139 add solrj test that exercises field update and optimistic locking
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350464 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 05:33:30 +00:00
Sami Siren
53a1ce8d69
SOLR-3543 do not catch exceptions in JavaBinLoader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350199 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 11:37:42 +00:00
Robert Muir
6c459114c3
check that response code is 200 before comparing bytes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349979 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 18:22:40 +00:00
Sami Siren
7fe65fcbb8
SOLR-3540 set data dir for core0 so that tests don't clash
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349671 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 07:58:34 +00:00
Sami Siren
34082f1a44
SOLR-3541 add missing solrj dependencies to binary package
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349664 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 07:41:41 +00:00
Sami Siren
40c18680ab
SOLR-3532 add shutdown to SolrServer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349127 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 05:45:09 +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
James Dyer
b232abb645
SOLR-3211: Allow parameter overrides when testing spellcheck collations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348936 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 17:17:04 +00:00
Erik Hatcher
680bc18340
Fix typo in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348924 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 16:04:43 +00:00
Sami Siren
35c2cfdab4
SOLR-3511 refactor Overseer to use a queue
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1347880 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 05:21:28 +00:00
Sami Siren
7eeef73f10
improve javadocs, remove unused constructor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346785 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 08:46:42 +00:00
James Dyer
ce20e7b133
SOLR-2993: fix test failures (SOLR-2993-fixes.patch)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346489 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 17:44:02 +00:00