Commit Graph

3035 Commits

Author SHA1 Message Date
David Wayne Smiley 0ffce18e13 SOLR-6281: Made PostingsSolrHighlighter more configurable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614702 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 16:27:13 +00:00
Robert Muir 3f4b2b472f LUCENE-5859: remove Version param from LuceneTestCase.newIndexWriterConfig, the grand sum of 2 tests making use of it can use the 3-arg version and reduce the noise everywhere else
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614698 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 16:20:24 +00:00
Timothy Potter 8fa6c59beb SOLR-6020: Fix broken JavaDoc found by precommit.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614498 13f79535-47bb-0310-9956-ffa450edef68
2014-07-29 21:48:17 +00:00
Shalin Shekhar Mangar 73503c4f66 SOLR-6020: Auto-generate a unique key in schema-less example if data does not have an id field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614416 13f79535-47bb-0310-9956-ffa450edef68
2014-07-29 16:46:26 +00:00
Mark Robert Miller 6aeceaeb86 SOLR-6261: Run ZooKeeper watch event callbacks in parallel to the ZooKeeper event thread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614244 13f79535-47bb-0310-9956-ffa450edef68
2014-07-29 03:04:35 +00:00
Shalin Shekhar Mangar dcb260ad14 SOLR-6290: Harden and speed up CollectionsAPIAsyncDistributedZkTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614194 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 21:42:52 +00:00
Mark Robert Miller b2e631846f SOLR-6264: Distributed commit and optimize are executed serially across all replicas.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614118 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 18:45:23 +00:00
Robert Muir 2080ddc885 LUCENE-5593: speed up javadocs generation in build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614058 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 15:36:27 +00:00
Shalin Shekhar Mangar 63b9f12570 SOLR-6286: Add logging on how long we slept and how many docs were found
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1613838 13f79535-47bb-0310-9956-ffa450edef68
2014-07-27 20:27:35 +00:00
Erick Erickson 0b11b8ab6b SOLR-6267: Let user override Interval Faceting key with LocalParams. Thanks Tomas
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1613308 13f79535-47bb-0310-9956-ffa450edef68
2014-07-24 21:43:18 +00:00
Mark Robert Miller 62059a4fdc SOLR-6274: UpdateShardHandler should log the params used to configure it's HttpClient.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1613182 13f79535-47bb-0310-9956-ffa450edef68
2014-07-24 16:39:08 +00:00
Shalin Shekhar Mangar 4b40a46634 SOLR-6270: Increased timeouts for MultiThreadedOCPTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612999 13f79535-47bb-0310-9956-ffa450edef68
2014-07-24 05:15:29 +00:00
Chris M. Hostetter d9660bcd42 SOLR-6232: fix logging of core init failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612896 13f79535-47bb-0310-9956-ffa450edef68
2014-07-23 17:50:10 +00:00
Erick Erickson 2d1056e06f SOLR-6216: Better faceting for multiple intervals on DV fields. Thanks Tomas
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612889 13f79535-47bb-0310-9956-ffa450edef68
2014-07-23 17:43:23 +00:00
Mark Robert Miller f94f4952a7 SOLR-3345: BaseDistributedSearchTestCase should always ignore QTime.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612585 13f79535-47bb-0310-9956-ffa450edef68
2014-07-22 15:02:43 +00:00
Shalin Shekhar Mangar 1c6508b284 SOLR-6231: Harden the RollingRestartTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612499 13f79535-47bb-0310-9956-ffa450edef68
2014-07-22 08:01:39 +00:00
Mark Robert Miller 514e04fe7f SOLR-6252: A couple of small improvements to UnInvertedField class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612422 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 22:29:31 +00:00
Chris M. Hostetter 61967d99a4 SOLR-5746: Bugs in solr.xml parsing have been fixed to more correctly deal with the various datatypes of options people can specify, additional error handling of duplicated/unidentified options has also been added
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612419 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 22:18:38 +00:00
Mark Robert Miller a141498428 fix formatting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612410 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 21:54:56 +00:00
Shalin Shekhar Mangar 27d68500ee SOLR-5968: BinaryResponseWriter fetches unnecessary stored fields when only pseudo-fields are requested
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612200 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 07:25:24 +00:00
Steven Rowe a0bc0c3d80 SOLR-6257: More than two "!"-s in a doc ID throws an ArrayIndexOutOfBoundsException when using the composite id router.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611934 13f79535-47bb-0310-9956-ffa450edef68
2014-07-19 17:48:53 +00:00
Timothy Potter 02f4d97cf9 SOLR-6241: disable this test on Jenkins until we can track down the cause of the No registered leader was found after waiting for 60000ms , collection: c8n_1x3_lf slice: shard1 problem
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611922 13f79535-47bb-0310-9956-ffa450edef68
2014-07-19 17:11:44 +00:00
Shalin Shekhar Mangar c8261a41d3 SOLR-6259: Reduce CPU usage by avoiding repeated costly calls to Document.getField inside DocumentBuilder.toDocument for use-cases with large number of fields and copyFields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611852 13f79535-47bb-0310-9956-ffa450edef68
2014-07-19 07:10:36 +00:00
Steven Rowe 63a925d578 SOLR-6137: Disable SSL for TestCloudSchemaless
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611445 13f79535-47bb-0310-9956-ffa450edef68
2014-07-17 19:29:59 +00:00
Alan Woodward 1abbfdb1f7 SOLR-6232: Missed a configset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611147 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 19:21:37 +00:00
Alan Woodward 26f2106743 SOLR-6232: Allow unloading of cores that have failed to init
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611047 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 15:23:43 +00:00
Shalin Shekhar Mangar ce7e042052 SOLR-6137: Fix off-by-one error in array access
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610909 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 05:02:36 +00:00
Steven Rowe 2671418cfb SOLR-6137: Schemaless concurrency improvements:
- Fixed an NPE when reloading a managed schema with no dynamic copy fields
- Moved parsing and schema fields addition to after the distributed phase
- AddSchemaFieldsUpdateProcessor now uses a fixed schema rather than always retrieving the latest, and holds the schema update lock through the entire schema swap-out process

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610725 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 15:23:57 +00:00
Shalin Shekhar Mangar 7ece5859b3 SOLR-6208: JettySolrRunner QueuedThreadPool's configuration code is never executed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610408 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 13:35:13 +00:00
Shalin Shekhar Mangar 10ecbc5a97 SOLR-6241: Harden the HttpPartitionTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610364 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 08:58:54 +00:00
Shalin Shekhar Mangar ef998ce538 SOLR-6235: Fix comparison to use coreNodeName on both sides in ElectionContext.startLeaderInitiatedRecoveryOnReplicas
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610361 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 08:53:30 +00:00
Shalin Shekhar Mangar 6069b78cc0 SOLR-6235: Improved logging in RecoveryStrategy and fixed a mistake in ElectionContext logging that I had made earlier.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610351 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 07:46:59 +00:00
Shalin Shekhar Mangar 473e0189c6 SOLR-6240: Fixed broken tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610088 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 23:52:03 +00:00
Shalin Shekhar Mangar 92782a07db SOLR-6240: Removed unused coreName parameter in ZkStateReader.getReplicaProps
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610033 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 19:55:00 +00:00
Shalin Shekhar Mangar 31d361d6ec SOLR-6235: Leader initiated recovery should use coreNodeName instead of coreName to avoid marking all replicas having common core name as down
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610028 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 19:34:39 +00:00
David Wayne Smiley 4a7b55d258 SOLR-6183: bug, BBoxField didn't propagate docValues configuration.
And numberType is now a required attribute.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1609291 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 20:31:37 +00:00
James Dyer 4007157b14 SOLR-2853: unit test for "spellcheck.maxCollationTries=0"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1609171 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 14:22:08 +00:00
David Wayne Smiley 7cffcc7422 SOLR-6183: Spatial BBoxField using BBoxSpatialStrategy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608998 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 03:42:09 +00:00
David Wayne Smiley d1d8101289 SOLR-6183: AbstractSpatialFieldType: refactor getValueSourceFromSpatialArgs out of getQueryFromSpatialArgs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608991 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 02:24:19 +00:00
Shalin Shekhar Mangar beeeba528f SOLR-6229: Make SuggestComponent return 400 instead of 500 for bad dictionary selected in request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608680 13f79535-47bb-0310-9956-ffa450edef68
2014-07-08 07:29:30 +00:00
Steven Rowe 954f3dfdc5 SOLR-6180: Callers of ManagedIndexSchema mutators should hold the schemaUpdateLock.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608646 13f79535-47bb-0310-9956-ffa450edef68
2014-07-08 03:20:54 +00:00
Chris M. Hostetter 474d846bb5 LUCENE-5790: Fix compareTo in MutableValueDouble and MutableValueBool, this caused incorrect results when grouping on fields with missing values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608639 13f79535-47bb-0310-9956-ffa450edef68
2014-07-08 01:23:11 +00:00
Shalin Shekhar Mangar 6c0539dd7f SOLR-6228: Make sure that versions are checked after index and config replication is complete
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608601 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 20:37:33 +00:00
Shalin Shekhar Mangar cec47f9baf SOLR-5596: Remove initCore call from afterClass
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608562 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 19:05:58 +00:00
Shalin Shekhar Mangar b30059948e SOLR-6225: Add the url of the node on which commitWithin failed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608138 13f79535-47bb-0310-9956-ffa450edef68
2014-07-05 21:58:20 +00:00
Shalin Shekhar Mangar 35d479f1b7 Increase timeout to 90 seconds to make it pass on slow jenkins machine
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608127 13f79535-47bb-0310-9956-ffa450edef68
2014-07-05 20:21:46 +00:00
Uwe Schindler 4cdfa19970 LUCENE-5803: Add DelegatingAnalyzerWrapper, an optimized variant of AnalyzerWrapper that doesn't allow to wrap components or readers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607998 13f79535-47bb-0310-9956-ffa450edef68
2014-07-05 11:32:31 +00:00
Shalin Shekhar Mangar 271576ed0f SOLR-6223: SearchComponents may throw NPE when using shards.tolerant and there is a failure in the 'GET_FIELDS/GET_HIGHLIGHTS/GET_DEBUG' phase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607897 13f79535-47bb-0310-9956-ffa450edef68
2014-07-04 17:54:53 +00:00
Noble Paul 2f28cc16e0 reverting SOLR-5473 , SOLR-5474
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607587 13f79535-47bb-0310-9956-ffa450edef68
2014-07-03 11:13:35 +00:00
Timothy Potter d96d20fbdb SOLR-6157: Disable this test for now as it is still hanging on Jenkins.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607420 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 16:57:40 +00:00
Noble Paul af18eeed89 SOLR-5473 one state.json per collection , SOLR-5474 support for one json per collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607418 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 16:50:32 +00:00
Shalin Shekhar Mangar e15ff59929 SOLR-5768: Add a distrib.singlePass parameter to make EXECUTE_QUERY phase fetch all fields and skip GET_FIELDS
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607360 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 13:22:14 +00:00
Timothy Potter 5c75969c04 SOLR-6179: Fix unit test breakage by using InMemory storage if config dir is not writable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607128 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 16:06:59 +00:00
Timothy Potter f512330b14 SOLR-6157: Refactor the ensureAllReplicasAreActive method into base class and ensure the ClusterState is updated to address intermittent test failures on Jenkins.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607110 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 15:16:36 +00:00
Timothy Potter 59a18c685b SOLR-6179: Better strategy for handling empty managed data to avoid spurious warning messages in the logs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607102 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 14:49:26 +00:00
Shalin Shekhar Mangar 7c103dbf62 SOLR-6159: A ZooKeeper session expiry during setup can keep LeaderElector from joining elections
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606996 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 07:00:04 +00:00
Alan Woodward c96ff1d7cf SOLR-6171: Remove SolrCores coreNameToOrig map
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606918 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 20:25:24 +00:00
Alan Woodward 3fb008e7f0 SOLR-6170: Merge CoreContainer preRegisterInZk and register methods into create method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606891 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 19:41:07 +00:00
Steven Rowe b7290e523b SOLR-6215: TrieDateField should directly extend TrieField instead of forwarding to a wrapped TrieField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606794 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 15:46:54 +00:00
Steven Rowe cbdbaa05a3 SOLR-6211: TrieDateField doesn't default to omitNorms=true.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606734 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 13:43:24 +00:00
Dawid Weiss 680286c00e Temporarily disabling SSLMigrationTest; SOLR-6213 it's hanging the build server.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606671 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 10:26:27 +00:00
Shalin Shekhar Mangar 98503b6c55 SOLR-6181: Deleting SliceStateUpdateTest since it has become redundant with ShardSplitTest and MigrateRouteKeyTest coming in.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606299 13f79535-47bb-0310-9956-ffa450edef68
2014-06-28 06:22:54 +00:00
Shalin Shekhar Mangar 5f22d328a4 SOLR-6044: The 'clusterstatus' API should return live_nodes as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606046 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 12:14:57 +00:00
Shalin Shekhar Mangar 70709b224a SOLR-6069: The 'clusterstatus' API should return 'roles' information
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606034 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 11:29:14 +00:00
Shalin Shekhar Mangar 96b85b3970 SOLR-6072: The 'deletereplica' API should remove the data and instance directory by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605993 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 09:00:00 +00:00
Shalin Shekhar Mangar d91568be77 SOLR-5309: Do not try to delete document ids whose addition had failed earlier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605883 13f79535-47bb-0310-9956-ffa450edef68
2014-06-26 19:20:28 +00:00
Shalin Shekhar Mangar fa405e1a59 SOLR-6196: The overseerstatus collection API instruments amILeader and ZK state update calls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605805 13f79535-47bb-0310-9956-ffa450edef68
2014-06-26 14:54:44 +00:00
Shalin Shekhar Mangar c296d9df0f SOLR-6206: The migrate collection API fails on retry if temp collection already exists
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605771 13f79535-47bb-0310-9956-ffa450edef68
2014-06-26 12:58:19 +00:00
Shalin Shekhar Mangar 54b11b3eba SOLR-6197: The MIGRATE collection API doesn't work when legacyCloud=false is set in cluster properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605362 13f79535-47bb-0310-9956-ffa450edef68
2014-06-25 12:09:57 +00:00
Timothy Potter b24d80fba3 SOLR-6189: Don't publish the state as down if the node is not live when determining if a replica should be in leader-initiated recovery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605134 13f79535-47bb-0310-9956-ffa450edef68
2014-06-24 16:47:53 +00:00
Noble Paul f2eacfd18b SOLR-5902: Corecontainer level mbeans are not exposed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605081 13f79535-47bb-0310-9956-ffa450edef68
2014-06-24 13:53:52 +00:00
Chris M. Hostetter bbd4f58af5 expand test to show BQ skipping limit the number of times a nested func is called
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604990 13f79535-47bb-0310-9956-ffa450edef68
2014-06-24 01:16:57 +00:00
Chris M. Hostetter 665fc4df87 fix false assumptions about doc index order in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604898 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 18:20:32 +00:00
Timothy Potter c7b6dfad62 SOLR-6157: Hang occurred again, somewhere in tearDown ... changing the code to close the socket proxies after super.tearDown, if that doesn't work, I'll add the AwaitsFix back to the code to ignore this test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604868 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 16:26:08 +00:00
Noble Paul f220845368 SOLR-6095 wait for http responses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604791 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 13:13:49 +00:00
Uwe Schindler 0e9d6de916 SOLR-6178, LUCENE-5775: Deprecate JaspellLookupFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604122 13f79535-47bb-0310-9956-ffa450edef68
2014-06-20 10:16:48 +00:00
Timothy Potter e18a021fa4 SOLR-6182: correctly cast managedData as a List<Object> when loading stored RestManager data; solution verified with manual testing only as the unit tests use in-memory storage so will need to re-work the backing store to test this behavior in the unit test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604078 13f79535-47bb-0310-9956-ffa450edef68
2014-06-20 03:24:37 +00:00
Chris M. Hostetter 2867f2c593 use Chaos Monkey's utility method for (re)starting up jetty so that we get it's automatic rety mechanism in the event that the old jetty process hasn't finished releasing the port
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604033 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 21:16:24 +00:00
Michael McCandless ec2eaaafad LUCENE-5752: switch to simpler Automaton implementation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603752 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 08:22:08 +00:00
Shalin Shekhar Mangar 2fbc511c38 SOLR-6161: Walk the entire cause chain looking for an Error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603708 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 04:32:50 +00:00
Alan Woodward 23a3287f00 SOLR-6064: Return DebugComponent track output as JSON object
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603608 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 19:55:28 +00:00
Alan Woodward ac9f70adc8 SOLR-6125: Allow SolrIndexWriter to close without waiting for merges
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603600 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 19:33:51 +00:00
Shalin Shekhar Mangar c0d5fbb829 SOLR-6173: Fixed wrong failure message in TestDistributedSearch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603494 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 15:47:16 +00:00
Michael McCandless 8f0c046ef6 LUCENE-5752: merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1603492 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 15:45:58 +00:00
Noble Paul 76f4abe306 SOLR-6095 Uncaught Exception causing test failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603467 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 14:46:38 +00:00
Noble Paul 3ed3a46057 SOLR-6095 SolrCloud cluster can end up without an overseer with overseer roles
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603382 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 09:39:34 +00:00
David Wayne Smiley 67eef54ff2 SOLR-6160: bugfix when facet query or range with group facets and distributed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603310 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 23:01:56 +00:00
Steven Rowe bdd350df8f SOLR-6164: Copy Fields Schema additions are not distributed to other nodes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603300 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 22:24:29 +00:00
Shalin Shekhar Mangar 726607a6fc SOLR-6175: Assert that exception message is not null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603236 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 17:50:29 +00:00
Shalin Shekhar Mangar 30fa1375cd SOLR-6175: Fix failing test by removing assert that matches exception message. They might be different between platforms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603233 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 17:44:07 +00:00
Michael McCandless a135294eda LUCENE-5752: merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1603107 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 09:41:54 +00:00
Shalin Shekhar Mangar 2fe64e65ac SOLR-6175: DebugComponent throws NPE on shard exceptions when using shards.tolerant
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603061 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 05:45:07 +00:00
Michael McCandless be3cca1e44 LUCENE-5752: renames
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1603012 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 22:23:11 +00:00
Adrien Grand e7f81b4d6c LUCENE-5767: OrdinalMap optimizations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602997 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 20:33:44 +00:00
Michael McCandless 63c2842d87 LUCENE-5752: merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1602968 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 19:26:19 +00:00
Timothy Potter 5755634db6 SOLR-5956: Use getInstanceDir instead of getRawInstanceDir as that was causing issues when trying to create a backup of an index on Linux when solr.solr.home is a symbolic link.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602953 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 18:36:08 +00:00
Timothy Potter 46daa9178a SOLR-6157: Added some logging and re-opened the socket proxy to try to figure out why this test is hanging; reenabling temporarily to see if these changes help diagnose the cause of the hang.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602924 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 16:44:15 +00:00
Robert Muir ff3582d5a8 LUCENE-5761: Remove DiskDocValuesFormat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602862 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 13:14:01 +00:00
Dawid Weiss dc8e53b11a SOLR-6151: Intermittent TestReplicationHandlerBackup failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602854 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 12:17:57 +00:00
Alan Woodward 8dc0acca45 SOLR-6169: Properly remove deprecated CoreAdminHandler handleAlias action
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602825 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 09:17:23 +00:00
Shalin Shekhar Mangar a99904a2bd SOLR-6153: ReplicationHandler backup response format should contain backup name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602592 13f79535-47bb-0310-9956-ffa450edef68
2014-06-14 14:57:30 +00:00
Shalin Shekhar Mangar a52a82bec5 SOLR-6161: SolrDispatchFilter should throw java.lang.Error back even if wrapped in another exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602590 13f79535-47bb-0310-9956-ffa450edef68
2014-06-14 14:46:10 +00:00
Chris M. Hostetter e785f602bd SOLR-5426: Fixed a bug in ReverseWildCardFilter that could cause InvalidTokenOffsetsException when highlighting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602525 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 21:15:50 +00:00
Robert Muir 1ea4ad0b03 LUCENE-5757: move RamUsageEstimator reflector to test-framework
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602515 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 20:41:17 +00:00
Adrien Grand 6f7949c940 LUCENE-5695: DocIdSet implements Accountable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602387 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 11:39:43 +00:00
Michael McCandless acf8672b4d LUCENE-5752: move det to the testcase; clarify javadocs that getCommonPrefix requires det automaton
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1602279 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 19:53:15 +00:00
Robert Muir 398af4596b LUCENE-5748: Add SORTED_NUMERIC docvalues type
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602277 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 19:40:36 +00:00
Michael McCandless fe6ba518c9 LUCENE-5752: finish cutover
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1602228 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 16:57:33 +00:00
Shalin Shekhar Mangar 1ab2c1c6eb Fix typo, rf is actually 3 in code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602210 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 15:45:08 +00:00
Noble Paul 51412938e5 SOLR-6048 the assert was not really failing the test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602138 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 12:18:21 +00:00
Shalin Shekhar Mangar 41fc77fa33 SOLR-6056: Don't publish recovery state until recovery runs to avoid overwhelming the overseer state queue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602123 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 11:18:33 +00:00
Joel Bernstein 94b5cbe462 SOLR-6150: Improving AnalyticsMergeStrategyTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601997 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 19:35:19 +00:00
Uwe Schindler 386ad97623 SOLR-5940: post.jar reports back detailed error in case of error responses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601970 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 17:50:45 +00:00
Uwe Schindler 9e91ecf59f Fix test bug on Windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601893 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 13:38:08 +00:00
Steven Rowe 1b049e26ac SOLR-6145: In AddSchemaFieldsUpdateProcessor.processAdd(), handle ManagedIndexSchema.addFields() failures that won't benefit from retrying.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601775 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 21:23:09 +00:00
Steven Rowe 5f2af20b04 SOLR-6145: Fix Schema API optimistic concurrency by moving it out of ManagedIndexSchema.add(Copy)Fields() into the consumers of those methods: CopyFieldCollectionResource, FieldCollectionResource, FieldResource, and AddSchemaFieldsUpdateProcessorFactory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601770 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 20:57:00 +00:00
Alan Woodward 0b621ca842 SOLR-6158: Fix configSetBaseDir path resolution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601758 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 19:48:11 +00:00
Uwe Schindler 43a3f7edb8 SOLR-6157: Disable test that hangs indefinitely
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601678 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 16:39:48 +00:00
Joel Bernstein bcdd9d7ad8 SOLR-6150: Add new AnalyticsQuery to support pluggable analytics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601664 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 15:08:48 +00:00
Anshum Gupta 84e1847228 SOLR-6123: Fix an occasional failing Jenkins build.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601521 13f79535-47bb-0310-9956-ffa450edef68
2014-06-09 22:59:00 +00:00
Chris M. Hostetter 3e7f0ae52e SOLR-6067: Refactor duplicate Collector code in SolrIndexSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601511 13f79535-47bb-0310-9956-ffa450edef68
2014-06-09 21:26:26 +00:00
Shalin Shekhar Mangar 07aeef7a71 SOLR-6149: Specifying the query value without any index value does not work in Analysis browser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601317 13f79535-47bb-0310-9956-ffa450edef68
2014-06-09 06:38:28 +00:00
Anshum Gupta fde58d3d67 SOLR-6148: Trying to fix Jenkins failures by not LazyLoading the ParallelExecutor in CoreAdminHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601047 13f79535-47bb-0310-9956-ffa450edef68
2014-06-07 00:53:56 +00:00
Chris M. Hostetter 247464ae9c SOLR-5285: use FieldType methods to be less brittle
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601044 13f79535-47bb-0310-9956-ffa450edef68
2014-06-07 00:48:48 +00:00
Anshum Gupta df6d417c44 SOLR-6148: Trying to fix Jenkins failures by not LazyLoading the ParallelExecutor in CoreAdminHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601038 13f79535-47bb-0310-9956-ffa450edef68
2014-06-06 23:44:43 +00:00
Chris M. Hostetter db538d864c SOLR-5285: Added a new [child ...] DocTransformer for optionally including Block-Join decendent documents inline in the results of a search
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601028 13f79535-47bb-0310-9956-ffa450edef68
2014-06-06 22:44:02 +00:00
Joel Bernstein 77edd9d5ac SOLR-6088: Add query re-ranking with the ReRankingQParserPlugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600720 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 18:28:30 +00:00
Robert Muir 8f267c8560 LUCENE-5703: BinaryDocValues producers don't allocate or copy bytes on each access anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600688 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 15:54:49 +00:00
David Wayne Smiley eee1f14787 SOLR-6103: DateRangeField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600557 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 02:05:27 +00:00
David Wayne Smiley 1e24c0218f SOLR-6103: Add QParser arg to AbstractSpatialFieldType.parseSpatialArgs(). Make getQueryFromSpatialArgs protected no private.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600556 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 02:04:36 +00:00
Anshum Gupta 19da2d5f1e SOLR-6123: Make CLUSTERSTATE Api unblocked and non-blocking always
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600535 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 23:02:56 +00:00
Robert Muir 9e6c1432a6 LUCENE-5731: split out direct packed ints from in-ram ones
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600412 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 18:26:04 +00:00
Steven Rowe d330799888 LUCENE-5650: Reset solr.hdfs.home correctly to allow TestRecoveryHdfs tests to pass
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600310 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 15:49:05 +00:00
Dawid Weiss fc27c11d17 SOLR-6119: refactored doTestBackup into a separate class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599943 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 06:11:24 +00:00
Uwe Schindler 5dbdedb42f LUCENE-5678: Remove more seeking stuff
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599568 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 14:22:40 +00:00
Simon Willnauer 2eed3f94d3 LUCENE-5725: MoreLikeThis#like now accetps multiple values per field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599442 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 07:51:55 +00:00
Dawid Weiss bb9116c485 SOLR-6119: TestReplicationHandler attempts to remove open folders (and other fixes).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599422 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 06:21:14 +00:00
Anshum Gupta 22174ac432 SOLR-6026: Also check work-queue while processing a REQUESTSTATUS Collection API Call
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599248 13f79535-47bb-0310-9956-ffa450edef68
2014-06-02 15:47:26 +00:00
Michael McCandless ef57126633 LUCENE-5711: fix solr tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598853 13f79535-47bb-0310-9956-ffa450edef68
2014-05-31 11:29:21 +00:00
Adrien Grand add1e44fd7 LUCENE-5700: Add oal.util.Accountable and make all classes that can compute their memory usage implement it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598470 13f79535-47bb-0310-9956-ffa450edef68
2014-05-30 07:01:31 +00:00
Dawid Weiss cc199eb1af SOLR-6119: a quick workaround for the problem of removing files that are still open during the test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598205 13f79535-47bb-0310-9956-ffa450edef68
2014-05-29 05:43:09 +00:00
David Wayne Smiley df42236e4a Fix cast. IntelliJ didn't seem to care.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598143 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 21:22:57 +00:00
David Wayne Smiley d61e0f7527 Auto index & optimize imports. And switch to java5 for-each in place of some iterators, generics issues.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598141 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 21:15:43 +00:00
David Wayne Smiley 36c9276bba SOLR-6118: expand.sort bug for function queries; needed to sort.rewrite(searcher)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598138 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 20:52:24 +00:00
Dawid Weiss 4c29d60c62 Clean up SolrTestCaseJ4.recurseDelete a bit and remove hairy cases of removing the parent file in certain tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598012 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 13:34:52 +00:00
Joel Bernstein b6d96d1ca8 SOLR-5973: Pluggable Ranking Collectors and Merge Strategies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597921 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 03:02:13 +00:00
Joel Bernstein 1b9c63fc9d SOLR-5973: Pluggable Ranking Collectors and Merge Strategies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597775 13f79535-47bb-0310-9956-ffa450edef68
2014-05-27 13:19:15 +00:00
Shalin Shekhar Mangar a912f7f8f1 SOLR-6112: Increase default timeout of 10 seconds to 90 seconds to pass on slow machines
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597391 13f79535-47bb-0310-9956-ffa450edef68
2014-05-25 05:20:57 +00:00
Adrien Grand ed66d23ebc LUCENE-5701: Move core closed listeners to AtomicReader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597180 13f79535-47bb-0310-9956-ffa450edef68
2014-05-23 20:54:51 +00:00
Anshum Gupta f6452d8120 SOLR-5681: Add synchronization while printing tracking maps to a fix jenkins failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597137 13f79535-47bb-0310-9956-ffa450edef68
2014-05-23 17:37:06 +00:00
Shalin Shekhar Mangar 7954c8584d SOLR-6111: The 'deleteshard' collection API should be able to delete a shard in 'construction' state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597077 13f79535-47bb-0310-9956-ffa450edef68
2014-05-23 12:33:15 +00:00
Timothy Potter 8a220db194 SOLR-6015: improved strategy for handling managed synonyms when ignoreCase=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596928 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 18:03:37 +00:00
Timothy Potter 1cc70e75fc SOLR-5468: Add a little wait for state to propagate after healing partitions; to address intermittent Jenkins failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596916 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 16:33:45 +00:00
Shalin Shekhar Mangar 75b9821eb4 SOLR-6101: Shard splitting doesn't work when legacyCloud=false is set in cluster properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596828 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 12:10:38 +00:00
Shalin Shekhar Mangar 2af3939769 SOLR-6104: The 'addreplica' Collection API does not support 'async' parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596822 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 11:58:07 +00:00
Shalin Shekhar Mangar 988df83885 SOLR-6108: Add support for 'addreplica' Collection API in SolrJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596819 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 11:50:31 +00:00
Dawid Weiss cf5a0caeb6 LUCENE-5650: Enforce read-only access to any path outside the temporary folder via security manager
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596767 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 06:15:26 +00:00
Timothy Potter 8ca3abe369 SOLR-5468: Improve reporting of cluster state when assertions fail; to help diagnose cause of Jenkins failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596652 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 18:56:59 +00:00
Timothy Potter 6abe8b86c4 SOLR-5495: Print cluster state in assertion failure messages if a leader cannot be found to determine root cause of HttpPartitionTest failures in Jenkins.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596636 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 18:05:53 +00:00
Robert Muir d1e607f5df LUCENE-5689: FieldInfo.setDocValuesGen should not be public
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596553 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 12:23:28 +00:00
Shalin Shekhar Mangar 8c87db7a50 SOLR-5309: Fix DUP.processDelete to route delete-by-id to one sub-shard only. Enable ShardSplitTest again.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596510 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 08:41:42 +00:00
Robert Muir 1e524542e1 make this assert more robust
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596346 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 18:17:30 +00:00
Timothy Potter b49788abfe SOLR-5468: Add wait loop to see replicas become active after restoring partitions; to address intermittent Jenkins test failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596234 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 13:20:28 +00:00
Timothy Potter b1035b1a9e SOLR-5495: Raise the amount of time the test waits for replicas to become active after partitions are healed (to address intermittent Jenkins failures)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596103 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 02:07:26 +00:00
Timothy Potter 195317786c SOLR-5468: report replication factor that was achieved for an update request if requested by the client application.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596092 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 23:04:55 +00:00
Anshum Gupta c3692aa73d SOLR-5681: Make the OverseerCollectionProcessor multi-threaded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596089 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 22:40:41 +00:00
Uwe Schindler c4bdb2dad0 LUCENE-5678: Use FileOutputStream instead of RandomAccessFile to write index data. BufferedIndexOutput and related APIs were removed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596057 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 21:08:16 +00:00
Robert Muir 7aeac4f07b LUCENE-4371: Replace IndexInputSlicer with IndexInput.slice
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595480 13f79535-47bb-0310-9956-ffa450edef68
2014-05-17 13:44:09 +00:00
Robert Muir 3c78c32c37 LUCENE-5666: merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1595228 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 15:04:20 +00:00
Uwe Schindler 67b7b43b49 Simplify for Java 7, which has support for new IOException(message, cause)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595223 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 14:55:37 +00:00
Noble Paul db8a1c7338 log the message when required only
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594801 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 07:46:19 +00:00
Joel Bernstein 18c9215bc1 SOLR-5973: Pluggable Ranking Collectors and Merge Strategies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594698 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 20:12:12 +00:00
Robert Muir c85da1a6a9 LUCENE-5666: merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594507 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 07:46:44 +00:00
Robert Muir 2078b86ba7 LUCENE-5666: clear nocommits and fix precommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594505 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 07:44:05 +00:00
Robert Muir 69d59acc31 LUCENE-5666: support the 2 crazy instances of insanity that are too hard for me to fix :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594492 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 07:05:47 +00:00
Robert Muir 7b63afc003 LUCENE-5166: clear most nocommits, move ord/rord to solr (and speed them up), nuke old purging stuff
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594464 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 05:51:24 +00:00
Robert Muir b3a556bb32 LUCENE-5666: remove insanity during distributed grouping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594452 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 04:22:07 +00:00
Robert Muir cce7c4db9c LUCENE-5666: still return missing count etc when there are no terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594445 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 01:57:38 +00:00
Robert Muir fe8dd29a74 LUCENE-5666: fix StatsComponent insanity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594441 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 01:25:48 +00:00
Robert Muir 9374fcc6e9 LUCENE-5666: fix rewrite bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594418 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 23:24:44 +00:00
Robert Muir ff8e841fa1 LUCENE-5666: fix test failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594417 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 23:17:45 +00:00
Robert Muir 1829663cc7 LUCENE-5666: fix test and bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594327 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 18:55:27 +00:00
Robert Muir 85e4dc3300 LUCENE-5666: fix bug (null is no longer allowed)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594316 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 18:27:03 +00:00
Robert Muir 37d3efbc62 LUCENE-5666: fix some tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594311 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 18:08:30 +00:00
Robert Muir c58788c27a LUCENE-5666: fix test to assert from raw reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594258 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 16:07:36 +00:00
Robert Muir 1489085807 LUCENE-5666: get solr started
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594254 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 15:49:10 +00:00
Robert Muir 9714faa314 LUCENE-5666: get solr compiling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1593856 13f79535-47bb-0310-9956-ffa450edef68
2014-05-11 20:38:21 +00:00
Timothy Potter b9e38c0a10 SOLR-5495: Fix HttpPartitionTest to dynamically select the port the Jetty and the SocketProxy binds to, was causing Jenkins failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593791 13f79535-47bb-0310-9956-ffa450edef68
2014-05-11 13:51:09 +00:00
Robert Muir 9df7b5c7cf LUCENE-5666: current state to branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1593790 13f79535-47bb-0310-9956-ffa450edef68
2014-05-11 13:49:39 +00:00
Ryan Ernst 050b0b8af9 SOLR-6043: Add ability to set http headers in solr response
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593423 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 21:26:37 +00:00
Timothy Potter eb3beb2d70 SOLR-5495: Hardening recovery scenarios after the leader receives an error trying to forward an update request to a replica.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593312 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 15:48:26 +00:00
Noble Paul b1a81fe2bc SOLR-5340 removing a nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593308 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 15:24:31 +00:00
Robert Muir 56ab1d1102 LUCENE-5654: Fix close methods that would suppress OOME or similar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593152 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 22:44:18 +00:00
Noble Paul 4a84567693 SOLR-5340: Add support for named snapshots
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592957 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 10:12:29 +00:00
Uwe Schindler 0086a6e644 LUCENE-5640: Refactor Token, add new PackedTokenAttributeImpl, make use of Java 7 MethodHandles in DEFAULT_ATTRIBUTE_FACTORY
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592914 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 22:24:58 +00:00
Chris M. Hostetter e9d549b889 SOLR-6039: fixed debug output when no results in response
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592605 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 18:54:08 +00:00
James Dyer 14d72257a6 SOLR-5090: SpellCheckComponent sometimes throws NPE when "spellcheck.alternativeTermCount" is set to zero
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592591 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 17:56:10 +00:00
Shalin Shekhar Mangar 88846a958d Fixed a few typos in the javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592572 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 17:04:15 +00:00
Robert Muir 6e9cbf3986 LUCENE-5638: pack the core attributes into one impl by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592353 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 14:36:27 +00:00
Shalin Shekhar Mangar d67884a07c SOLR-6023: FieldAnalysisRequestHandler throws NPE if no parameters are supplied
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592195 13f79535-47bb-0310-9956-ffa450edef68
2014-05-03 13:01:36 +00:00