Commit Graph

4632 Commits

Author SHA1 Message Date
Chris Hostetter fdcd17bef2 SOLR-8971: Preserve root cause when wrapping exceptions 2016-04-19 14:29:30 -07:00
Uwe Schindler b95bbb8092 Fix Java 9 problem with static field leakage 2016-04-19 10:16:12 +02:00
Noble Paul 3eb1ce6cf6 Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-04-19 13:11:38 +05:30
Noble Paul ffbbfbbe10 SOLR-8349: trying to address test failures 2016-04-19 13:11:18 +05:30
Steve Rowe bce490c4b7 javadoc: DateField->TrieDateField 2016-04-18 17:00:38 -04:00
anshum 55de1ba539 SOLR-8983: Cleanup clusterstate in case of a failed CREATE collection call 2016-04-18 12:25:48 -07:00
Timothy Potter 57270a5fb5 SOLR-9007: remove mention of managed_schema_configs 2016-04-18 11:49:42 -06:00
Noble Paul 999537f50e more logging to get which server failed 2016-04-18 19:46:51 +05:30
Noble Paul 5b680de13a SOLR-8349: Allow sharing of large in memory data structures across cores 2016-04-18 16:15:26 +05:30
Noble Paul 489acdb509 SOLR-8349: Allow sharing of large in memory data structures across cores 2016-04-18 16:13:53 +05:30
Varun Thacker ece296224c SchemaManager waits correctly for replicas to be notified of a new change 2016-04-17 21:58:21 +05:30
Christine Poerschke d69274b5d6 SOLR-8938: add -x as short-form of --excluderegex ZkCLI arg 2016-04-15 16:22:45 +01:00
Noble Paul 0e30fe1c39 SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 19:04:57 +05:30
Noble Paul f82a27aa5c SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 19:04:44 +05:30
Noble Paul 6c74669375 SOLR-8985: Added back support for 'includeDynamic' flag to /schema/fields endpoint 2016-04-15 13:25:10 +05:30
Dennis Gove 020f15f437 SOLR-8962: Adds a Sort stream w/sort function name 2016-04-14 21:46:48 -04:00
David Smiley f488dfac9c SOLR-8937: bin/post (SimplePostTool) should tell JDK to stream stdin instead of fully buffer
(cherry picked from commit 037a403)
2016-04-14 13:53:00 -04:00
Timothy Potter af8a962417 SOLR-8908: Fixed OnReconnect listener management in ZkController to allow for de-registering listeners.
Here's what this commit includes:
* Added the removeOnReconnectListener method to ZkController to allow OnReconnect listener implementations to de-register; avoids a memory leak
* Updated ZkIndexSchemaReader to add a CloseHook to the SolrCore it supports to de-register as an OnReconnect listener
* Added unit test to verify that after reloading and deleting a SolrCore in managed schema mode, the associated ZkIndexSchemaReader gets de-registered correctly
2016-04-14 10:25:14 -07:00
Anshum Gupta 5baf311c38 SOLR-8976: Add SolrJ support for REBALANCELEADERS Collections API 2016-04-13 15:58:04 -07:00
markrmiller fe85885868 SOLR-8914: ZkStateReader's refreshLiveNodes(Watcher) is not thread safe. 2016-04-13 09:56:49 -04:00
markrmiller 4b50c6f9ac tests: raise wait time 2016-04-13 09:56:40 -04:00
yonik 59e8c7b73c tests: better DocSetCollector tests, including better smallSetSize boundary testing 2016-04-09 19:21:56 -04:00
yonik 301e178681 SOLR-8922: optimize DocSetCollector to produce less garbage 2016-04-09 19:10:43 -04:00
Anshum Gupta f479f16d3a SOLR-8097: Implement builder pattern design for constructing SolrJ clients and deprecate direct construction of clients 2016-04-08 13:14:27 -07:00
Christine Poerschke 835dc33102 SOLR-8938: Add optional -excluderegex argument to ZkCLI. 2016-04-07 15:12:18 +01:00
Shalin Shekhar Mangar 6c7487351f SOLR-8948: OverseerTaskQueue.containsTaskWithRequestId encounters json parse error if a SolrResponse node is in the overseer queue
(cherry picked from commit 4205b1c)
2016-04-06 11:57:27 +05:30
Gregory Chanan 2b0963ee38 SOLR-8892: Allow SolrInfoMBeans to return different statistics for /jmx vs web ui calls 2016-04-05 12:07:18 -07:00
David Smiley 4cfd33f743 SOLR-8875: Fix null clusterState from ZkStateWriter. Revert my sanity check asserts in Overseer.
(cherry picked from commit 3bbf8aa)
2016-04-05 14:18:27 -04:00
Noble Paul 88d2b3bfbe SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 23:21:07 +05:30
Noble Paul d67ec54932 SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 23:20:55 +05:30
markrmiller d9c3c7e6f0 SOLR-8855: The HDFS BlockDirectory should not clean up it's cache on shutdown. 2016-04-01 15:51:34 -04:00
markrmiller 461c9b4fef SOLR-8856: Do not cache merge or 'read once' contexts in the hdfs block cache. 2016-04-01 10:26:54 -04:00
jbernste ffdfceba53 SOLR-8888: Add shortestPath Streaming Expression 2016-03-31 16:35:49 -04:00
nknize 08dae30f73 * LUCENE-7094: BBoxStrategy and PointVectorStrategy now support PointValues (in addition to legacy numeric trie). Their APIs were changed a little and also made more consistent. PointValues/Trie is optional, DocValues is optional, stored value is optional. 2016-03-30 18:42:50 -05:00
David Smiley 72f5eac2c5 SOLR-8904: switch from SimpleDateFormat to Instant.parse and format.
[value] and ms() and contrib/analytics now call DateMathParser to parse.  DateFormatUtil is now removed.
(cherry picked from commit 94c0423) (cherry picked from commit 39932f5)
2016-03-30 14:37:55 -04:00
markrmiller 28a51cef56 SOLR-8864: TestTestInjection needs to cleanup after itself. 2016-03-30 12:35:21 -04:00
Chris Hostetter b8c0ff66f9 SOLR-445: Merge remote-tracking branch 'refs/remotes/origin/branch_6x' into branch_6x
(picking up mid backport conflicts)
2016-03-25 14:07:06 -07:00
Ryan McKinley e26c0b7125 SOLR-8902: fix glob test (put back the fields.clear()) 2016-03-25 13:49:54 -07:00
Chris Hostetter 5b6eacb80b SOLR-445: new ToleranteUpdateProcessorFactory to support skipping update commands that cause failures when sending multiple updates in a single request.
SOLR-8890: New static method in DistributedUpdateProcessorFactory to allow UpdateProcessorFactories to indicate request params that should be forwarded when DUP distributes updates.

This commit is a squashed merge from the jira/SOLR-445 branch (as of b08c284b26b1779d03693a45e219db89839461d0)
2016-03-25 13:13:50 -07:00
Ryan McKinley 9cbaa028dc Merge branch 'branch_6x' of https://git-wip-us.apache.org/repos/asf/lucene-solr into branch_6x 2016-03-25 12:36:30 -07:00
Ryan McKinley 8254724bb1 SOLR-8902: Make sure ReturnFields only returns the requested fields 2016-03-25 12:22:44 -07:00
yonik ca374d9476 SOLR-8865: Real-time get sometimes fails to retrieve stored fields from docValues 2016-03-25 10:18:58 -04:00
yonik b978666d57 Fix StrField.toObject and toExternal to work with docValue IndexableField instances, optimize createFields 2016-03-23 20:44:22 -04:00
Kevin Risden 39270d9df8 SOLR-8819: Implement DatabaseMetaDataImpl getTables() and fix getSchemas(). (Trey Cahill, Joel Bernstein, Kevin Risden) 2016-03-23 15:50:22 -05:00
yonik 82a537795f SOLR-8886: fix TrieField.toObject(IndexableField) for docValues 2016-03-23 12:40:05 -04:00
Gregory Chanan dfab0a60f8 SOLR-8869: Optionally disable printing field cache entries in SolrFieldCacheMBean 2016-03-21 11:36:52 -07:00
markrmiller b3136e5459 SOLR-8857: HdfsUpdateLog does not use configured or new default number of version buckets and is hard coded to 256. 2016-03-21 14:11:19 -04:00
Alan Woodward 451ff488af SOLR-8837: Fix duplicate election node detection 2016-03-21 17:40:19 +00:00
Uwe Schindler 1d98753e2e SOLR-8082: Fix forbidden APIs 2016-03-21 00:10:06 +01:00
Steve Rowe 2668ff5abb SOLR-8082: Can't query against negative float or double values when indexed='false' docValues='true' multiValued='false' 2016-03-20 16:56:54 -04:00
Uwe Schindler 4d20feeeae SOLR-8877: Disable test on environments with whitespace 2016-03-19 15:59:09 +01:00
Uwe Schindler 0a89ffaf96 SOLR-8874: Make Solr tests work with Java 9 Jigsaw 2016-03-19 14:54:58 +01:00
Noble Paul 5c50124246 fixing git merge issues 2016-03-18 18:06:36 +05:30
yonik c195395d34 SOLR-8867: fix frange/FunctionValues.getRangeScorer to not match missing values, getRangeScorer refactored to take LeafReaderContext 2016-03-17 16:59:24 -04:00
Mike McCandless 4570ae8001 committed as part of 09aa951 2016-03-18 00:44:40 +05:30
Noble Paul 54e827e9b6 SOLR-8842: security rules made more foolproof by asking the requesthandler about the well known
permission name.
  The APIs are also modified to ue 'index' as the unique identifier instead of name.
  Name is an optional attribute
  now and only to be used when specifying well-known permissions
2016-03-17 23:36:18 +05:30
David Smiley 4ee908eb80 SOLR-8866: UpdateLog now throws an error if it can't serialize a field value
(cherry picked from commit a22099a)
2016-03-17 13:23:38 -04:00
Steve Rowe e30551db2a SOLR-8838: Remove obsolete comment 2016-03-16 19:01:15 -04:00
Steve Rowe efad5807b6 SOLR-8838: Returning non-stored docValues is incorrect for negative floats and doubles. 2016-03-16 19:00:48 -04:00
Ryan McKinley 7687667b5f SOLR-8859: read/write Shapes to String 2016-03-16 12:52:51 -07:00
Ryan McKinley 5731331be1 SOLR-8814: Support GeoJSON response format 2016-03-16 09:49:46 -07:00
anshum 4deb4cd1ba SOLR-8836: Return 400, and a SolrException when an invalid json is provided to the update handler instead of 500. 2016-03-15 11:49:56 -07:00
Tommaso Teofili 15fdfd3caa SOLR-7739 - applied patch from Alessandro Benedetti for integrating Lucene classification into Solr
(cherry picked from commit 5801caa)
2016-03-15 13:22:51 +01:00
yonik 5d7592bc14 SOLR-8835: fix faceting exception (uif) on multi-valued numeric docValues 2016-03-14 11:34:17 -04:00
yonik 164d6ccd2d SOLR-8831: allow _version_ field to be retrievable via docValues 2016-03-11 14:12:02 -05:00
Varun Thacker b8e454c1da SOLR-8804: Fix a race condition in the ClusterStatus API call 2016-03-11 14:41:58 +05:30
anshum bc41158648 SOLR-8765: Fix CollectionAdminRequest.SplitShard to accept requests without the 'shard' parameter 2016-03-10 17:06:35 -08:00
anshum 8fe11a06ce SOLR-8790: Add the node name to core responses in calls from the Overseer 2016-03-10 16:46:04 -08:00
Noble Paul 6689e1c55a SOLR-8135: SolrCloudExampleTest.testLoadDocsIntoGettingStartedCollection reproducible failure 2016-03-11 00:50:59 +05:30
Robert Muir a3f72fcdec LUCENE-7090, LUCENE-7075: deprecate single-valued LegacyNumerics fieldcaching, provide Points-based replacement. 2016-03-10 08:30:40 -05:00
Erick Erickson a7cec36165 SOLR-8813: Add test for MultiValued fields being returned in the correct order 2016-03-09 12:03:08 -08:00
Alan Woodward c1277cda11 SOLR-8765: Enforce required parameters in SolrJ Collections API 2016-03-09 12:51:53 +00:00
Shai Erera 122c248071 SOLR-8793: Fix stale commit files' size computation in LukeRequestHandler 2016-03-08 22:14:45 +02:00
Varun Thacker 981ad999d0 SOLR-8766: Remove support for admin/gettableFiles as well 2016-03-08 19:36:07 +05:30
Robert Muir 914003d19a LUCENE-7077: fail precommit on useless assignment 2016-03-08 06:43:35 -05:00
Alan Woodward 761618727d SOLR-8782: Improve async collections API 2016-03-08 10:55:40 +00:00
Noble Paul c187c46437 Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-03-07 22:49:51 +05:30
Noble Paul 5146e78a64 SOLR-8736: schema GET operations on fields, dynamicFields, fieldTypes, copyField are
reimplemented as a part of the bulk API with less details. The tests and write implementations are removed
2016-03-07 22:49:19 +05:30
Shalin Shekhar Mangar dd04b61739 SOLR-8745: Deprecate costly ZkStateReader.updateClusterState(), replace with a narrow forceUpdateCollection(collection)
(cherry picked from commit 093a8ce)
2016-03-07 18:38:09 +05:30
yonik 4d5a33e9ba SOLR-8155: fix UnInvertedField.collectDocsGeneric, used for facet.prefix or non-count sorting 2016-03-05 18:48:48 -05:00
Varun Thacker cb4a91eb7c SOLR-8449: Fix the core restore functionality to allow restoring multiple times on the same core 2016-03-06 04:13:55 +05:30
Noble Paul eab3a48ba2 Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-03-05 11:31:05 +05:30
Noble Paul 1df8aca394 SOLR-8788: CollectionTooManyReplicasTest.testDownedShards failures 2016-03-05 11:30:44 +05:30
anshum 2055b64ca1 SOLR-8790: Ignoring failing CollectionsAPISolrJTest test until this is fixed 2016-03-04 19:26:35 -08:00
anshum 0ac5d724b2 SOLR-8789: Remove the *Tests regular expression from the build xml, and instead rename CollectionsAPISolrJTests to CollectionsAPISolrJTest 2016-03-04 16:36:23 -08:00
Noble Paul 8d835f1231 SOLR-8750 : Use lambdas in code where SAM type interfaces are used 2016-03-04 18:55:29 +05:30
Luc Vanlerberghe 948a388778 LUCENE-7064: Split MultiPhraseQuery into an immutable class and a Builder
This closes #19
2016-03-04 14:21:42 +01:00
Noble Paul 201b8b02a4 SOLR-8728: ReplicaAssigner throws NPE when a partial list of nodes are only participating in replica
placement. splitshard should preassign nodes using rules, if rules are present
2016-03-04 16:33:00 +05:30
Robert Muir bea235f711 LUCENE-7063: add tests/docs for numericutils, rename confusing methods, remove overlap with LegacyNumericUtils 2016-03-03 21:55:08 -05:00
anshum ba039f7c8c SOLR-8769: Fix document exclusion in mlt query parser in Cloud mode for schemas that have non-'id' unique field 2016-03-03 15:42:00 -08:00
anshum 638b145376 SOLR-8423: DeleteShard and DeleteReplica should cleanup instance and data directory by default and add support for optionally retaining the directories 2016-03-03 13:26:00 -08:00
anshum 7e59ba4220 SOLR-8725: Allow hyphen in shard, collection, core, and alias names but not the first char 2016-03-03 13:22:15 -08:00
Steve Rowe d0d75c448e SOLR-7010: Remove facet.date client functionality 2016-03-03 14:40:13 -05:00
Steve Rowe eb0c3bd90a SOLR-8778: Deprecate CSVStrategy's setters, and make its pre-configured strategies immutable 2016-03-03 10:57:03 -05:00
Shalin Shekhar Mangar e4712bb028 SOLR-8722: Don't force a full ZkStateReader refresh on every Overseer operation
(cherry picked from commit 93133f5)
2016-03-03 18:21:16 +05:30
Shalin Shekhar Mangar d346af3994 * SOLR-7516: Improve javadocs for JavaBinCodec, ObjectResolver and enforce the single-usage policy
This closes #17
(cherry picked from commit d87d8da)
2016-03-03 18:11:40 +05:30
Varun Thacker 6b2d176e48 SOLR-8780: Remove unused OverseerCollectionMessageHandler#getClusterStatus method 2016-03-03 18:05:12 +05:30
David Smiley 6dcb01ccb4 SOLR-8764: test schema-latest.xml spatial dist units should be kilometers
(no test uses yet?)
(cherry picked from commit deb6a49)
2016-03-02 23:05:37 -05:00
David Smiley b90dbd4b5d LUCENE-7060: Spatial4j 0.6 upgrade. Package com.spatial4j.core -> org.locationtech.spatial4j
(cherry picked from commit 569b6ca)
2016-03-02 21:08:43 -05:00
Steve Rowe 8bbb1dcace SOLR-8764: Remove deprecated methods and classes 2016-03-02 09:26:26 -05:00