Commit Graph

420 Commits

Author SHA1 Message Date
Mark Robert Miller e1b693ddb2 SOLR-3933: Distributed commits are not guaranteed to be ordered within a request.
SOLR-3939: An empty or just replicated index cannot become the leader of a shard after a leader goes down.
  
SOLR-3971: A collection that is created with numShards=1 turns into a numShards=2 collection after starting up a second core and not specifying numShards.

SOLR-3932: SolrCmdDistributorTest either takes 3 seconds or 3 minutes.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401798 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 17:52:15 +00:00
Dawid Weiss 53fd5c850d Clean up fields after each test, static->instance scope.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1394382 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 06:51:59 +00:00
Chris M. Hostetter 8fbb2b627e SOLR-3903: Fixed MissingFormatArgumentException in ConcurrentUpdateSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1393794 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 22:07:09 +00:00
Yonik Seeley c98f935688 SOLR-3897: hl.preserveMulti to preserve all multiValued field values when highlighting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1393171 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 20:45:54 +00:00
David Wayne Smiley 15076ecf28 SOLR-2255 local-param support for pivot faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389680 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 01:56:33 +00:00
Uwe Schindler c08962374e LUCENE-4409: Improve ECJ-Linter (permgen, taskname) + fix whitespace bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389491 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 17:25:14 +00:00
Robert Muir 798fd49a76 LUCENE-4409: implement javadocs linting with eclipse ecj compiler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389188 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 02:56:46 +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
Uwe Schindler 37413e4ede SOLR-3733: Fix NPE, now it seems to work - sorry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388150 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 18:13:28 +00:00
Uwe Schindler be1dcd3b84 SOLR-3733: make field final...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388134 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:46:24 +00:00
Uwe Schindler d8b3452432 SOLR-3733: More improvements: don't hang on the died threads until forever...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388133 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:44:41 +00:00
Robert Muir 024e22c873 fix broken links
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388131 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:44:07 +00:00
Uwe Schindler 7071771000 SOLR-3733: fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388124 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:32:26 +00:00
Uwe Schindler 39757948fe SOLR-3733: Fix crazy zookeeper test-only stuff by reflection.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388122 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:31:19 +00:00
Robert Muir 8b6c905e7c SOLR-3733: nuke this o.a.zookeeper package, Uwe your turn
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388105 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 16:32:14 +00:00
Robert Muir 2aa725773f SOLR-3733: add links (some broken ones in documentation-lint still, but in general working)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388094 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 16:15:10 +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
Chris M. Hostetter 52d9fdb780 SOLR-3783: Fixed Pivot Faceting to work with facet.missing=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387824 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 00:17:57 +00:00
Robert Muir c529308734 fix javadocs bugs found by my IDE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387823 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 00:17:50 +00:00
Yonik Seeley 9be371a198 SOLR-3815: preserve shard properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387747 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 20:42:04 +00:00
Yonik Seeley 7ae776e2d1 SOLR-3815: fix overseer.setShardLeader to not modify existing state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387354 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 20:48:09 +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
Yonik Seeley 8c5fc86a38 SOLR-3815: change clusterstate structure to add properties to slices
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386858 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 21:40:51 +00:00
Erick Erickson ded01621a4 Fix for LUCENE-4362, ban tabs-indent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386681 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 16:01:56 +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 ee1e747c29 SOLR-3628: SolrInputField and SolrInputDocument are now consistently backed by Collections passed in to setValue/setField, and defensively copy values from Collections passed to addValue/addField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383520 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 18:38:45 +00:00
Robert Muir 6d0060a45f fix broken javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382777 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 11:59:27 +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
Robert Muir 8eb52eb9ab SOLR-3686: clean this up for consistency
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381835 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 00:59:22 +00:00
Robert Muir 8a72b10926 SOLR-3686: compile solrj/src/java only with its correct dependencies (tests still have the same classpath as before)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381834 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 00:57:24 +00:00
Robert Muir ddda1b6089 SOLR-3686: fix solr/core and solr/solrj not to share a lib directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381792 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 22:47:01 +00:00
Steven Rowe d3383239f8 LUCENE-4365: split maven modules into main/test sub-modules for the four modules with cyclic dependencies on the Lucene or Solr test-framework modules: lucene-core, lucene-codecs, solr-core, and solr-solrj
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381779 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 22:17:03 +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
Mark Robert Miller 278200cfaa SOLR-3772,SOLR-3750: make optional, wait time configurable, default to off
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@1380299 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 17:14:25 +00:00
Yonik Seeley 7af7d1de48 SOLR-3755: shard splitting - create cores, use writers from cores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380287 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 16:36:20 +00:00
Yonik Seeley 7754d1d105 SOLR-3755: basic shard splitting code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379195 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 22:31:56 +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 e31ddf3554 use sendToLeaders rather than replicas != null to determine if we add repicas to end of the list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378922 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 13:18:29 +00:00
Sami Siren ae43103d15 reuse existing code, baseUrl and coreName can no longer be null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378512 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 12:06:03 +00:00
Sami Siren fdc313d3bc fix test, remove unused method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378458 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 06:58:38 +00:00
Sami Siren 96767652d7 SOLR-3726 allow more flexibility in configuring solr http clients
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374964 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 10:32:52 +00:00
Yonik Seeley 84a8768b5d SOLR-3715: fix FastOutputStream, FastWriter when buffer sizes can change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374480 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 00:15:04 +00:00
Uwe Schindler 5a940c12d8 Don't use IOUtils in SolrJ! Sorry, hope maven build did not start in this time frame *g*
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374079 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:57:13 +00:00
Uwe Schindler 00167f1514 Fix bug in test by using a local file instead of HTTP URL. Also fix unclosed file in FileStream.getContentType(), remove dead code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374072 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:50:41 +00:00
Uwe Schindler a59f38a03a Better verbosity, also fix bug in while loop with char==0.
I have one explanation for this: Maybe Apaches SVN server returns something (like error message) that's not UTF8?

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374022 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:53:45 +00:00
Robert Muir 2a83b58506 use assertEquals so we will see whats going on when this fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373994 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:24:31 +00:00
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
Tommaso Teofili 71ccfc3a15 [SOLR-3464] - fixing javadoc for commit with softCommit parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346419 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 15:21:23 +00:00
James Dyer c70cb208fa SOLR-2993: ignore test (temp.)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346208 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 01:07:58 +00:00
James Dyer 848a7cc01b SOLR-2993: revert r1346116
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346168 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 21:33:36 +00:00
James Dyer 050f6c7a3c SOLR-2993: fix (2) for fail on TestSpellCheckResponse: ConjunctionSolrSpellChecker was not preserving original Token Freqs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346116 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 19:48:26 +00:00
James Dyer 649dfb6e79 SOLR-2993: fix (1) for fail on TestSpellCheckResponse
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346088 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 19:01:31 +00:00
Sami Siren 872f71e0d9 SOLR-3480: move httpclient details into a utility class, improve javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1343690 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 12:01:24 +00:00
Sami Siren fc48a07bfb SOLR-3487: handle named lists in xml response
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1342553 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 09:57:46 +00:00
James Dyer ec1649300c SOLR-2585: Context-Sensitive Spelling Suggestions & Collations (spellcheck.alternativeTermCount & spellcheck.maxResultsForSuggest)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341894 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 15:27:29 +00:00
Tommaso Teofili 8c037c2115 [SOLR-3464] - added softCommit option to SolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341658 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 22:00:08 +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
Yonik Seeley 9d70bf609b SOLR-2824: parse query in fromCore for cross-core join
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1338231 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 14:46:01 +00:00
Yonik Seeley 015d8601c8 SOLR-2824: don't rewrite join subquery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1337955 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 18:08:28 +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 1538ebb339 LUCENE-2510: Moved deprecated ResourceLoader into solr-core to remove solrj dependency on lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1334277 13f79535-47bb-0310-9956-ffa450edef68
2012-05-05 00:41:16 +00:00
Christopher John Male a8beeff4e9 tidied some spelling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1333753 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 03:44:55 +00:00
Christopher John Male 5898dc5a83 LUCENE-2510: Added bw compat support for ResourceLoader/Aware
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1333751 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 03:31:50 +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
Sami Siren efcd62f311 SOLR-2020: use echoParams, remove SOP
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1331286 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 08:09:58 +00:00
Sami Siren fcfa443d3c SOLR-2020: fix another bug with param encoding with multipart request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1330803 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 12:17:58 +00:00
Ryan McKinley 14560553b4 SOLR-3413: support multiple copies in return fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1330568 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 21:26:51 +00:00
Chris M. Hostetter d2875edd99 SOLR-2690: New support for a "TZ" request param which overrides the TimeZone used when rounding Dates in DateMath expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329837 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 16:35:41 +00:00
Tommaso Teofili b3241a23b3 [SOLR-3396] - avoid NPEs on appendMap method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329640 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 11:18:59 +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
Robert Muir 6f0b19c7a7 fix HTML escaping in solrj javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329049 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 03:08:19 +00:00
Christopher John Male a17404983b LUCENE-4011: Fixed broken javadoc links in solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329023 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 01:55:02 +00:00
Ryan McKinley a583705403 SOLR-2020: don't send a null mime-type
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1328539 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 23:44:30 +00:00
Ryan McKinley 728bf1a914 SOLR-2020: fix FormBodyPart - The 2nd param is the contentType, not the name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1328536 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 22:41:43 +00:00
Sami Siren e15f553903 SOLR-3380: add some more basic testing for HttpSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1328332 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 11:39:35 +00:00
Sami Siren 5a61a06a4a SOLR-2755: verify that passed parameters work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327838 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 06:16:46 +00:00
Sami Siren 85bb7984b7 SOLR-3139: remove sop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327836 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 06:01:34 +00:00
Sami Siren fe98ebf7ec SOLR-2020: restore internals to be much more like they used to be
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327635 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 19:19:20 +00:00
Sami Siren 0daa4b0aac SOLR-3341: add more javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327053 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 12:03:20 +00:00
Christopher John Male a4cbd8a605 SOLR-3357: Added expected Class type to ResourceLoader.newInstance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326879 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 02:03:05 +00:00
Dawid Weiss cf85aab1a0 LUCENE-3808: Switch LuceneTestCaseRunner to RandomizedRunner. Enforce Random sharing contracts. Enforce thread leaks.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326351 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 14:41:44 +00:00
Sami Siren 91b6b379cd SOLR-3139: send UpdateRequest.getParams() as HTTP request params
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1325884 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 18:04:16 +00:00
Christopher John Male 649cad2a75 SOLR-3343: Moved non-shared utils out of solrj
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1325094 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 01:32:29 +00:00
Ryan McKinley e240c0f0fb remove old javadoc comment (it is already in common)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1324899 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 18:08:23 +00:00
Chris M. Hostetter bc700fa5aa SOLR-3302: Upgraded SLF4j to version 1.6.4 (hossman)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1311558 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 02:34:24 +00:00
Steven Rowe bb59b83358 LUCENE-3959: remove all @author tags from Lucene/Solr sources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1310622 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 22:29:35 +00:00
Ryan McKinley 81ddd8cbe2 SOLR-3329: Dropping getSourceID() from SolrInfoMBean and most of the svn:keywords
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1310219 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 08:13:15 +00:00
Robert Muir 2fe2e82584 LUCENE-1866: better RAT reporting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1309248 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 05:03:53 +00:00
Robert Muir e00a7dce89 nuke relics of fake noggit release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308886 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 13:08:02 +00:00
Robert Muir 86c7878963 svn:eolstyle=native
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308638 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 00:59:11 +00:00
Jan Høydahl 058179d177 SOLR-1052: Deprecate/Remove <indexDefaults> and <mainIndex> in favor of <indexConfig> in solrconfig.xml (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308608 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 22:55:37 +00:00
Robert Muir 73db5ff5fc SOLR-2435: nuke confusing duplicate junit dependency
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308529 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 20:15:01 +00:00
Robert Muir 8f0d7cc135 LUCENE-3930: nuke jars from source tree and use ivy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307563 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 18:04:43 +00:00
Erick Erickson b005bcb790 Fixes (documentation only) for SOLR-3297 and SOLR-3298
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307543 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 17:17:52 +00:00
Sami Siren d46c69e9ad deprecation cleaning
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307347 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 10:21:29 +00:00
Sami Siren 42141717a3 remove deprecated api
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307319 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 09:03:09 +00:00
Yonik Seeley 95f80348f6 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307194 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 01:08:11 +00:00
Yonik Seeley 6209a4123b tests: increase connection timeouts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307123 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 21:39:30 +00:00
Sami Siren b5f8deb795 SOLR-2020: migrate to Java client that uses Apache Http Components http client (4.x)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1306800 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 12:11:37 +00:00
Robert Muir 3a8241485d SOLR-3112: rename abstract -Test to -TestCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304455 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 15:43:30 +00:00
Robert Muir c1cab4323a SOLR-3112: license header on test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304449 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 15:37:18 +00:00
Robert Muir 2590469186 SOLR-3112: Fix tests not to write to src/test-files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304441 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 15:32:44 +00:00
Robert Muir a6fd306dfb add missing license headers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303738 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 11:33:45 +00:00
Martijn van Groningen a25cb028e1 SOLR-3052: Added jdocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303206 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 23:26:19 +00:00
James Dyer 255f763640 SOLR-2124: do not log stack trace for Service Disabled / 503
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1302970 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 16:18:11 +00:00
Erick Erickson 401924c273 Fix for SOLR-3236, javadoc only
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300168 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 14:56:29 +00:00
Ryan McKinley 29a1f13e35 SOLR-3209 -- sorry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298659 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 23:59:34 +00:00
Ryan McKinley 2488497c69 StartSolrJetty now emulates java -jar start.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298528 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 19:26:49 +00:00
Ryan McKinley 455ba2465f SOLR-3209: FieldStatsInfo returns Object rather then Double
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298527 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 19:25:30 +00:00
Martijn van Groningen d22b750992 SOLR-2898: Support grouped faceting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298186 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 22:51:18 +00:00
Dawid Weiss 1242fb0437 Fixing imports.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298156 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 22:10:00 +00:00
Ryan McKinley a57f29a367 SOLR-3159: Upgrade example and tests to run with Jetty 8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298108 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 20:49:28 +00:00
Ryan McKinley 5811b6229a SOLR-141: Errors and Exceptions are formated by ResponseWriter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297749 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 21:59:31 +00:00
Ryan McKinley 58e3736862 SOLR-3202: remove JSP support and the old admin UI
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297578 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 17:04:19 +00:00
Uwe Schindler 989530e17e LUCENE-3850: Fix rawtypes warnings for Java 7 compiler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297048 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 13:34:40 +00:00
Dawid Weiss ff27ca3738 LUCENE-3847: LuceneTestCase will now check for modifications of System properties before and after each test (and suite). If changes are detected, the test will fail. A rule can be used to reset system properties to before-scope state (and this has been used to make Solr tests pass).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1296888 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 22:03:20 +00:00
Dawid Weiss 9d55bcc9ca Fixed a test failing on Windows (slash/backslash inconsistency). I check for an alternative, don't know if it should be normalized on persist.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1296150 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 11:29:48 +00:00
Chris M. Hostetter 29a7c260fe LUCENE-2604: add '/' to the list of chars in the various escape functions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294965 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 03:58:41 +00:00
Mark Robert Miller f75eae6217 throw a good error rather than NPE when no collection is found to request against
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294894 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 23:36:53 +00:00
Yonik Seeley 7464d5360b SOLR-3170: don't use default params
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294400 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 23:48:22 +00:00
Yonik Seeley ec52a87046 SOLR-3157: improve test logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294212 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 16:48:19 +00:00
Mark Robert Miller 51ca380dd8 SOLR-3137: test+fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293415 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 21:02:51 +00:00
Mark Robert Miller 6d2ef6a1e4 this should be volatile
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293345 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 17:16:16 +00:00
Yonik Seeley b7fa7354fc logging: log versions of update commands, improve toString of solr docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293055 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 01:40:10 +00:00
Ryan McKinley d1abb09612 SOLR-3134: Include shard info in distributed response when shards.info=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292717 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 09:07:31 +00:00
Sami Siren 6ff799d4b3 SOLR-3037: simplify method as suggested by Jörg Maier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292690 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 08:07:06 +00:00
Sami Siren 9e1e2d40a4 fix CoreAdminRequest so that it uses correct key for shard id, use same key for shard id in CoreAdminParams and ZkStateReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292238 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 11:14:06 +00:00
Yonik Seeley ecc836d028 tests: improve SolrInputDocument.toString for debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291066 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 21:39:37 +00:00
Mark Robert Miller 458ff3ead7 SOLR-3126: hardening around peer sync and tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245836 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 02:00:03 +00:00
Mark Robert Miller 91dc7befa4 SOLR-3137: When solr.xml is persisted, you lose all system property substitution that was used.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245217 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 22:24:04 +00:00
Mark Robert Miller 9897a0e792 SOLR-3138: Add node roles to core admin handler 'create core' and solrj.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245202 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 22:02:39 +00:00
Mark Robert Miller 56f12201b7 SOLR-3122: allow interrupting zkcmdoperations and some test work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244231 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 21:58:16 +00:00
Mark Robert Miller fe0c6ae0ae add shardId to create cmd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244212 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 21:19:32 +00:00
Yonik Seeley ff49481d93 debug: add useful toString for SolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243666 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 19:41:47 +00:00
Mark Robert Miller 17ac9321a9 unignore this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242927 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 21:15:18 +00:00
Mark Robert Miller 3c5d8633d9 SOLR-3108: Error in SolrCloud's replica lookup code when replica's are hosted in same Solr instance (test)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242324 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 13:59:11 +00:00
Mark Robert Miller dfdd1b7363 SOLR-3108: Error in SolrCloud's replica lookup code when replica's are hosted in same Solr instance (fix only)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242212 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 03:15:44 +00:00
Robert Muir 4710d32447 LUCENE-3749: replace SimilarityProvider with PerFieldSimilarityWrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241001 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 12:48:01 +00:00
Simon Willnauer dfce8dd760 Retrieve CoreContainer from EmbeddedSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240980 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 11:23:33 +00:00
Yonik Seeley f6e4fceda2 SOLR-3078: only return update versions on request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239437 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 02:17:54 +00:00
Grant Ingersoll b912f6da98 SOLR-1726: add deep paging support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239181 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 16:01:34 +00:00
Yonik Seeley 8e357cac55 SOLR-3062: implement openSearcher=false, make commitWithin soft, refactor commit param parsing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239155 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 14:51:07 +00:00
Mark Robert Miller 0d8d2f48e4 allow for over closing SolrZkClient as we do with SolrCore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238680 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:58:18 +00:00
Mark Robert Miller 1c24188e0b don't add to the num open count until the constructor is finished
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236958 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 02:17:37 +00:00
Mark Robert Miller ac664ba310 fix bad javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236884 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 20:53:15 +00:00
Yonik Seeley 7784c42dd1 refactor: make javabin use ByteUtils for encoding/decoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236860 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:45:26 +00:00
Steven Rowe 02d4bd91df SOLR-2358: Add new solrj dependency apache-solr-noggit-*.jar to solrj-lib/ when producing a distribution.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236859 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:44:42 +00:00
Yonik Seeley 0545651342 revive ByteUtils to remove lucene dependency in solrj, refactor JavaBinCodec to reuse UTF8 encoding function
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236828 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:01:06 +00:00
Mark Robert Miller 924857fc44 remove this check and use of lucene core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236774 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 17:34:54 +00:00
Robert Muir a7d6e5237c fix javadocs error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236673 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 13:11:10 +00:00