Commit Graph

6135 Commits

Author SHA1 Message Date
Cao Manh Dat 22ec456b0c SOLR-11045: The new replica created by MoveReplica will have to have same name and coreName as the old one in case of HDFS 2017-07-13 13:43:21 +07:00
Anshum Gupta 47731ce0a4 SOLR-11060: Randomize PointFields in schema-custom-field.xml and all related tests 2017-07-12 17:04:00 -07:00
Anshum Gupta 7b5c50c3c8 SOLR-11059: Randomize PointFields in schema-blockjoinfacetcomponent.xml and all related tests 2017-07-12 16:19:44 -07:00
Anshum Gupta 8d7e3cc929 SOLR-11048: Randomize PointsFields in schema-add-schema-fields-update-processor.xml in solr-core collection1 and all affected tests 2017-07-12 14:36:15 -07:00
Steve Rowe 00b5930cc9 SOLR-10796: comment out debug printing 2017-07-12 11:59:15 -04:00
Steve Rowe 6188c8ce38 SOLR-10796: fix long overflow in testLongPointFieldRangeFacet() 2017-07-12 11:56:21 -04:00
Joel Bernstein d35da77b72 SOLR-11046: Add residuals Stream Evaluator 2017-07-12 10:28:52 -04:00
Cao Manh Dat f22dc37718 SOLR-11041: Move testDataDirAndUlogAreMaintained() to another class, so it won't affect MoveReplicaTest.test() 2017-07-12 17:12:48 +07:00
Cao Manh Dat 61c612efd7 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-07-12 14:07:43 +07:00
Cao Manh Dat ad7f2a787d SOLR-11041: MoveReplicaCmd do not specify ulog dir in case of HDFS 2017-07-12 14:07:27 +07:00
Steve Rowe 8a3ca50c1a SOLR-10796: try again to fix failing stats tests: fix hard-coded assertions to depend on doc count where it's affected by the random multiplier. 2017-07-11 15:02:49 -04:00
Steve Rowe 5dbcb28acc SOLR-10796: fix failing stats tests by starting with an empty index. 2017-07-11 10:49:16 -04:00
Tomas Fernandez Lobbe 57f7493c1a Suppress object release tracker for TestPullReplicaErrorHandling 2017-07-10 19:07:55 -07:00
Steve Rowe 5bb09e0852 SOLR-10796: TestPointFields: increase randomized testing of non-trivial values 2017-07-10 19:58:23 -04:00
Chris Hostetter 20153595a4 SOLR-10898: Fix SOLR-10898 to not deterministicly fail 1/512 runs 2017-07-10 14:41:33 -07:00
Ishan Chattopadhyaya b29951ff2b SOLR-10920: Warning for production use of _default configset's data-driven functionality 2017-07-09 17:05:38 +05:30
Scott Blum cd2f635f0b SOLR-11025: fix OverseerTest.testShardLeaderChange() failures 2017-07-07 15:56:09 -04:00
Varun Thacker df3a9b3531 SOLR-11021: The elevate.xml config-file is now optional in the ElevationComponent. The default configset doesn't ship with an elevate.xml file anymore 2017-07-07 12:42:49 -07:00
Christine Poerschke b123ebad48 SOLR-10985: Remove unnecessary toString() calls in solr-core's search package's debug logging.
(Michael Braun via Christine Poerschke)
2017-07-07 17:37:19 +01:00
Chris Hostetter 5d1f57f882 SOLR-10989: Fixup to correct SOLR-11020 test failures (root discrepency caused by SOLR-10924) 2017-07-07 08:06:10 -07:00
Ishan Chattopadhyaya 5f28780e5d SOLR-10282: bin/solr support for enabling Kerberos authentication 2017-07-07 15:31:03 +05:30
Joel Bernstein 01d0ce3258 SOLR-11019: Add addAll Stream Evaluator 2017-07-06 15:22:47 -04:00
Chris Hostetter d81daf54b4 SOLR-11016: Fix TestCloudJSONFacetJoinDomain test-only bug 2017-07-06 09:33:20 -07:00
Steve Rowe 510608decb SOLR-9526: fix javadocs 2017-07-06 11:46:21 -04:00
Jan Høydahl a60ec1b432 SOLR-9526: Data driven schema now indexes text field "foo" as both "foo" (text_general) and as "foo_str" (string) to facilitate both search and faceting 2017-07-06 15:56:51 +02:00
Jan Høydahl 80b1430a3e SOLR-10748: Make stream.body configurable and disabled by default 2017-07-06 15:02:55 +02:00
Mikhail Khludnev b200ba5bf4 SOLR-10668: fix NPE at sort=childfield(..) .. on absent values 2017-07-06 10:42:49 +03:00
Scott Blum 380eed838d SOLR-10983: Fix DOWNNODE -> queue-work explosion 2017-07-05 20:01:52 -04:00
Varun Thacker d13e70f683 SOLR-10967: Cleanup the schema for the default configset 2017-07-05 14:49:54 -07:00
Tomas Fernandez Lobbe 16a1a6f76f SOLR-11015: Use a higher socket timeout for creating testcollection in ChaosMonkeyNothingIsSafe* 2017-07-05 14:01:24 -07:00
Mike McCandless 6abff51ede LUCENE-7899: rename FieldValueQuery to DocValuesFieldExistsQuery 2017-07-05 10:50:34 -04:00
Andrzej Bialecki 48b4960e0c SOLR-11010 Tentative fix for jenkins test failures. 2017-07-05 11:30:01 +02:00
Andrzej Bialecki cb23fa9b4e SOLR-10879: Make sure we don't lose single replicas when deleting a node. 2017-07-04 20:19:08 +02:00
Andrzej Bialecki ddfa074214 SOLR-10878: Fix precommit. 2017-07-04 19:46:30 +02:00
Adrien Grand 1e6e4022cf LUCENE-7892: Add "slow" to factory methods of doc-values queries. 2017-07-04 16:44:13 +02:00
Christine Poerschke db71c5615a SOLR-10957: Changed SolrCoreParser.init to use the resource loader from getSchema() instead of the resource loader from getCore(). 2017-07-04 14:13:00 +01:00
Christine Poerschke d3c67cf5e4 SOLR-10827: Factor out abstract FilteringSolrMetricReporter class. 2017-07-04 14:13:00 +01:00
Andrzej Bialecki bc37e8b4cc SOLR-10878: MOVEREPLICA command may lose data when replicationFactor==1. 2017-07-04 13:25:47 +02:00
Anshum Gupta 6c163658bb SOLR-10456: Deprecate timeout related setters from SolrClients, and replace with Builder based implementation 2017-07-03 21:44:18 -07:00
Anshum Gupta 8218a5b2c6 Merge branch 'upgrade-master-to-8' of https://github.com/anshumg/lucene-solr for 7.0 release ( closes #119 ) 2017-07-03 12:11:52 -07:00
Shalin Shekhar Mangar 157ff9a4e1 SOLR-10914: RecoveryStrategy's sendPrepRecoveryCmd can get stuck for 5 minutes if leader is unloaded 2017-07-03 19:50:33 +05:30
Andrzej Bialecki 5966f75663 SOLR-10565 Use unique scope and domain names in this test to avoid collisions. 2017-07-03 14:21:12 +02:00
Adrien Grand bc9c4144df Remove unnecessary backward compatibility. 2017-07-03 14:17:09 +02:00
Uwe Schindler 20dcb56da8 SOLR-6671: More generic fix to assert Solr's dataHome 2017-07-03 08:15:54 +02:00
Uwe Schindler 7b322bd67e SOLR-6671: Fix precommit and use the Lucene-Constant to detect Windows. Also allow other local drives! 2017-07-02 11:44:10 +02:00
Jan Høydahl 8000b25cab SOLR-6671: Fix tests on Windows 2017-07-02 01:36:09 +02:00
Noble Paul 2e56e7eb28 SOLR-10954: this was supposed to be in the solrj package 2017-07-01 11:44:22 +09:30
Chris Hostetter f3c851a015 SOLR-10864: Fixup: Restore the DV vs trie vs points intent of TestRandomDVFaceting 2017-06-30 11:23:28 -07:00
Chris Hostetter 26d2ed7c4d SOLR-10989: Randomize PointFields and general cleanup in schema files where some Trie fields were unused 2017-06-30 10:39:28 -07:00
Noble Paul 15118d40c5 SOLR-1095: Refactor code to standardize replica assignment 2017-06-30 15:50:23 +09:30
Noble Paul 196d84b9e0 SOLR-1095: Refactor code to standardize replica assignment 2017-06-30 15:49:40 +09:30
Chris Hostetter 0159d494f5 SOLR-10979: Randomize PointFields in schema-docValues*.xml and all affected tests 2017-06-29 15:09:39 -07:00
Chris Hostetter b7fb61d7b9 SOLR-10977: Randomize the usage of Points based numerics in schema15.xml and all impacted tests 2017-06-29 12:05:15 -07:00
Ishan Chattopadhyaya 46bfd9cf7e SOLR-10272: Fix for test failure, while comparing directory contents of _default configsets 2017-06-29 21:52:19 +05:30
Ishan Chattopadhyaya 85069cacf4 SOLR-10272: Adding user _default configset to test-files, fixing solr & solr.cmd script bugs 2017-06-29 10:46:14 +05:30
Erick Erickson 8f71bb40a5 SOLR-10910: Clean up a few details left over from pluggable transient core and untangling CoreDescriptor/CoreContainer references 2017-06-28 21:02:14 -07:00
David Smiley 811621c6ea SOLR-6807: fix _stateVer_ param check to not depend on handleSelect setting 2017-06-28 23:44:03 -04:00
Chris Hostetter c98e2a528f SOLR-10971: Randomize PointFields in CdcrBootstrapTest 2017-06-28 14:55:29 -07:00
Chris Hostetter 89abc98907 SOLR-10970: Randomize PointFields in all tests using schema-*sort* files 2017-06-28 14:52:40 -07:00
David Smiley 82a44beb3c SOLR-6807: requestDispatcher/@handleSelect now defaults to false; stop using it.
Deprecated StandardRequestHandler; stop using it.
2017-06-28 17:22:44 -04:00
Dennis Gove d5963bebc4 SOLR-10123: Upgraded the Analytics Component to version 2.0 2017-06-28 14:13:37 -04:00
Uwe Schindler 85a27a231f SOLR-10966, HADOOP-14586: Add workaround for Hadoop-Common 2.7.2 incompatibility with Java 9 2017-06-28 17:47:24 +02:00
Uwe Schindler 02caab4ce1 Revert "SOLR-10951, HADOOP-14586: Add a hack to make Hadoop's Shell work with Java 9 release"
This reverts commit 1e93367c00.
2017-06-28 17:46:16 +02:00
Uwe Schindler 1e93367c00 SOLR-10951, HADOOP-14586: Add a hack to make Hadoop's Shell work with Java 9 release 2017-06-28 17:41:28 +02:00
Uwe Schindler cdc2cc5afa Revert "SOLR-10951: Hadoop does not work on Java 9, disable tests that break"
This reverts commit e43253312f.
2017-06-28 17:37:29 +02:00
Ishan Chattopadhyaya 13a3ae2922 SOLR-10931: Refactoring the package name for autoscaling client classes 2017-06-28 07:55:40 +05:30
Ishan Chattopadhyaya ab319eab24 SOLR-10272: Fix precommit (the correct way) 2017-06-27 21:59:32 +05:30
Alan Woodward 2f2e00ffe2 LUCENE-7737: Remove spatial-extras dependency on queries module 2017-06-27 15:53:39 +01:00
Christine Poerschke 808171ac00 Fix three ex[c]eption typos. 2017-06-27 15:07:40 +01:00
Christine Poerschke 701c73d45a SOLR-10506: Fix memory leak (upon collection reload or ZooKeeper session expiry) in ZkIndexSchemaReader.
(Torsten Bøgh Köster, Christine Poerschke, Jörg Rathlev, Mike Drob)
2017-06-27 15:07:40 +01:00
Ishan Chattopadhyaya e6f48ca6bc SOLR-10272: More detailed error message, explaining what to do 2017-06-27 18:23:15 +05:30
Ishan Chattopadhyaya e4d0bb7dc4 SOLR-10272: Fixing precommit 2017-06-27 17:01:01 +05:30
Shalin Shekhar Mangar 5d442437b5 SOLR-10406: Remove workaround for SOLR-10768 2017-06-27 10:09:44 +05:30
Ishan Chattopadhyaya ee572b052a SOLR-10272: Use _default config set if config name is not specified with CREATE collection 2017-06-27 09:07:05 +05:30
Christine Poerschke 945bf8fa82 SOLR-10907: add @SuppressWarnings("resource") in ExpandComponent 2017-06-26 20:33:02 +01:00
Christine Poerschke 44860bd48a SOLR-10823: Add reporting period to SolrMetricReporter base class. 2017-06-26 16:26:37 +01:00
Mikhail Khludnev 7c448623cc SOLR-10824: fixing stats tests: ignore local scores from query result cache. 2017-06-26 12:11:51 +03:00
Ishan Chattopadhyaya e4a7fc59ad SOLR-10574: Adding _default configset, replacing data_driven_schema_configs and basic_configs 2017-06-26 04:58:02 +05:30
Cao Manh Dat d070ca6051 SOLR-10818: Fix bug in construct payload with special characters in testCollectionsApi() 2017-07-03 15:38:05 +07:00
Mikhail Khludnev 3b07e7241e SOLR-10824: fixing NPE ExactSharedStatsCache, avoid maxdocs skew on
unique terms.
2017-06-12 21:27:53 +03:00
Uwe Schindler e43253312f SOLR-10951: Hadoop does not work on Java 9, disable tests that break 2017-06-24 15:35:00 +02:00
Cao Manh Dat f7b8cc7be0 SOLR-8256: Fixing test failures when enable legacyCloud=false as default 2017-06-24 12:53:53 +07:00
Anshum Gupta e46d39bd5a SOLR-10915: Make builder based SolrClient constructors to be the only valid way to construct client objects and increase the visibility of builder elements to be protected so extending the builder, and the clients is possible. 2017-06-23 11:30:50 -07:00
Christine Poerschke 05433eb709 Revert "SOLR-10907: Fix Resource Leak warning in ExpandComponent."
This reverts commit 55b0227d8c.
2017-06-23 19:26:21 +01:00
Chris Hostetter c20d3aff94 SOLR-10177: replace adhoc points randomization with new standard introduced by SOLR-10864 2017-06-23 10:13:00 -07:00
Christine Poerschke 3a017e4cf2 SOLR-10778: eliminate local variables in (PageTool,AnalyzeEvaluator,ClassifyStream) 2017-06-23 15:47:24 +01:00
Christine Poerschke 55b0227d8c SOLR-10907: Fix Resource Leak warning in ExpandComponent. 2017-06-23 15:47:24 +01:00
Steve Rowe a6f4f2dd9c SOLR-10503,SOLR-10502: Deprecate CurrencyField in favor of new CurrencyFieldType, which works with point fields and provides control over dynamic fields used for the raw amount and currency code sub-fields. 2017-06-23 10:14:28 -04:00
Alan Woodward af1ee47f2b LUCENE-7867: Remove deprecated Token class 2017-06-23 09:51:05 +01:00
Noble Paul 4676410689 added a Utils.setObjectByPath() method 2017-06-23 14:17:14 +09:30
yonik 78731ea8f4 SOLR-10921: set setMaxClauseCount for every SolrConfig creation to work around test framework issues 2017-06-23 00:07:03 -04:00
Cao Manh Dat 4e033a0f4e Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-06-23 07:04:17 +07:00
Cao Manh Dat 6aec01e426 SOLR-9989: Enable generic testing for other facet methods 2017-06-23 07:02:29 +07:00
Chris Hostetter 7a9f9b0be0 SOLR-9989: remove @SuppressPointFields annotation now that JSON facets work with numeric points+docvalues 2017-06-22 16:47:40 -07:00
Chris Hostetter 49e9b68c29 SOLR-10847: add jira URL to existing @SuppressPointFields annotation 2017-06-22 16:31:03 -07:00
Chris Hostetter 8d92e08c9c SOLR-10939: update @SuppressPointFields on TestJoin to note why points are suppressed
Also update the annotation on TestCloudJSONFacetJoinDomain since SOLR-9989 is resolved but the join problems
still prevent that test from passing with points enabled
2017-06-22 16:06:05 -07:00
Chris Hostetter ae01113472 remove SuppressPointFields from TestCloudPivotFacet
now that SOLR-10864 is in place, there's no reason this test can't use points+docValues
2017-06-22 14:33:58 -07:00
yonik 98276481e4 SOLR-10921: raise lucene BooleanQuery.maxClauseCount, add higher level checking via QueryUtils.build 2017-06-22 16:05:19 -04:00
Uwe Schindler 5de15ff403 LUCENE-7883: Lucene/Solr no longer uses the context class loader when resolving resources 2017-06-22 20:20:50 +02:00
Chris Hostetter 38f29b2674 SOLR-10864: Simplified how Trie vs Points based numerics are randomized by SolrTestCaseJ4
Adds a static option to PointsField to ignore 'precisionStep' attribute.

This change also begins to attempt to randomize 'docValues' on numeric field types unless tests explicity enable/disable them
2017-06-22 09:31:36 -07:00
Noble Paul ad2cb7784e SOLR-10406: SolrJ must throw exception if server throws an error 2017-06-22 15:02:01 +09:30
Cao Manh Dat d0d30464dd SOLR-8256: Fix CollectionsAPISolrJTest and UnloadDistributedZkTest failures (caused by first commmit) 2017-06-22 09:23:28 +07:00
Chris Hostetter 1737fce5df SOLR-10929: Removed unused 'valType' option from ExternalFileField 2017-06-21 09:13:22 -07:00
Cao Manh Dat 8e9d685a40 SOLR-8256: Set legacyCloud=false as default 2017-06-21 22:25:39 +07:00
Adrien Grand 44d1f1fe3f LUCENE-7872: TopDocs.totalHits is now a long. 2017-06-21 09:55:02 +02:00
Cao Manh Dat 2d26d7e871 SOLR-10923: AutoScalingHandlerTest.testPolicyAndPreferences() failure: Adding a policy with 'cores' attribute should not have succeeded 2017-06-21 09:53:23 +07:00
Jan Høydahl a4f27bbfbb SOLR-9623: Fix test errors related to some test expecting streaming to be enabled 2017-06-20 21:03:12 +02:00
Jan Høydahl 8648b005e2 SOLR-4646: eDismax lowercaseOperators now defaults to "false" for luceneMatchVersion >= 7.0.0 2017-06-20 13:39:36 +02:00
Jan Høydahl 39dfb7808a SOLR-6671: Possible to set solr.data.home property as root dir for all data 2017-06-20 13:21:14 +02:00
Jan Høydahl 4746ff0ec8 SOLR-9623: Disable remote streaming in example configs by default. Adjust Upload Limit defaults 2017-06-20 11:00:08 +02:00
Cao Manh Dat b1b566f57b SOLR-10406: v2 API error messages list the URL request path as /solr/____v2/... when the original path was /v2/... 2017-06-20 12:46:33 +07:00
Cao Manh Dat 294026ffa8 SOLR-9989: Add support for PointFields in FacetModule (JSON Facets) 2017-06-20 10:42:59 +07:00
Erick 64093d6df1 SOLR:10779: JavaBinCodec should use close consistently rather than having marshal() and close() call finish() (which closes the underlying stream)
commit b31178e0c33dbfe81fbc1aec705b3dae3cc895ad
Author: Erick <erick@apache.org>
Date:   Sun Jun 18 22:34:21 2017 -0700

    SOLR-10779: JavaBinCodec should use close consistently rather than having marshal() and close() call finish() (which closes the underlying stream)
2017-06-18 22:35:57 -07:00
Dennis Gove 113459a840 SOLR-10882: ArrayEvaluator now works with all types and allows sorts (deleted ArraySortEvaluator) 2017-06-18 11:50:58 -04:00
Noble Paul e2d8f941e1 SOLR-9565: missed updating the testcase 2017-06-17 00:55:10 +09:30
Jim Ferenczi 0c683305a4 LUCENE-7878: Fix query builder to keep the SHOULD clause that wraps multi-word synonyms 2017-06-16 14:42:46 +02:00
Cao Manh Dat 751a5c814c SOLR-10886: Using V2Request.process(solrClient) method throws NPE if the API returns an error 2017-06-16 14:29:24 +07:00
Noble Paul e1d4ec7987 SOLR-9565: The name of TemplateUpdateRequestProcessorFactory' is changed to 'template' from 'Template' and the
name of 'AtomicUpdateProcessorFactory' is changed to 'atomic' from 'Atomic'
2017-06-16 16:09:27 +09:30
Noble Paul f7659d2d27 unused imports removed 2017-06-16 15:07:50 +09:30
Noble Paul df21e912c0 unused imports removed 2017-06-16 14:38:16 +09:30
Noble Paul bf593adee8 unused imports removed 2017-06-16 14:37:33 +09:30
Noble Paul f6f6f11320 SOLR-10433: CollectionAdmin requests in SolrJ to support V2 calls 2017-06-16 14:05:51 +09:30
Chris Hostetter 274971c3e3 SOLR-10832: Fixed VersionInfo.getMaxVersionFromIndex when using PointsField with indexed="true" 2017-06-15 15:53:48 -07:00
Steve Rowe 5c498b411d SOLR-10891: Don't require docvalues on BBoxField 2017-06-15 13:29:08 -04:00
Tomas Fernandez Lobbe ee18a5f641 SOLR-10795: Better testing of PointFields multivalued sort using field(name, min|max) syntax 2017-06-15 10:20:32 -07:00
Steve Rowe 4fe9d4402f SOLR-10891: BBoxField should support point-based number sub-fields 2017-06-15 13:01:05 -04:00
yonik 3b5f3cc3ed SOLR-7452: add CHANGES for refinement, remove debugging output, don't indent _facet_ refinement info 2017-06-15 12:53:09 -04:00
Chris Hostetter f1e2be6451 SOLR-10834: Fixed tests and test configs to stop using numeric uniqueKey fields
Squashed commit of the following (from jira/SOLR-10834 branch):

commit 8f1043840f38533864b2c713daf066b6c3509147
commit 7b95773bd524cd86aaccc56cc33a003a9aff2004
commit b26bf9d60e2b94e0cdc365d1e2c0a37c33e24198
commit df11992106f8c338503b6e3e9a27ba6ddcfa2953
commit fcf98132410ed247e451bb449a8337a09bd857ce
commit 05e8e226de359a6d7bc99219eaec161a32268f17
commit 6dce948294351560948a32b64679b1879657af79
commit 53f97845caaa8adc25862e4017b94f3091063552
commit d5bfb5f57016341fbeaf73b5e4c9ed10dc3816d0
commit d333f7b1eee10893a81532ac2f5a77a46716d90b
commit 15983ceec4702dc8c7562250d59cd8231c67d46a
commit e18e2e771fb4678cb911a62bbc7c74a873466bf0
commit 134e210bdf601600a9d90dd0720a35cb122896b0
commit ec03260265f8a3bbdfd7f9b015de16a4950a05eb
commit 5d430057ed335801a524e1e7666061075ab6d859
commit 1625df3d21b8fa27815d7a7b89a55fc338eeb23b
2017-06-15 09:14:24 -07:00
David Smiley abc393dbfd LUCENE-7500: Remove LeafReader.fields in lieu of LeafReader.terms.
Optimized MultiFields.getTerms.
2017-06-15 00:59:01 -04:00
Noble Paul 92b17838a3 SOLR-10876: Regression in loading runtime UpdateRequestProcessors like TemplateUpdateProcessorFactory 2017-06-14 18:07:40 +09:30
David Smiley f470bbcbdc LUCENE-7876 avoid leafReader.fields 2017-06-13 22:44:04 -04:00
yonik a18a4ce245 SOLR-7452: convert bucket values in FacetStream from Integer to Long for calcite, make bucket labels in JSON Facet API consistent for facet refinement 2017-06-13 17:31:30 -04:00
Mike Drob d1db5f7af9 Revert "SOLR-8392: Remove instanceof checks on return value of SolrParam::get"
This reverts commit 94220a01e1.
2017-06-13 14:19:05 -07:00
Chris Hostetter 6396cb759f SOLR-10830: Solr now correctly enforces that the '_root_' field has the same fieldType as the uniqueKey field 2017-06-13 10:17:32 -07:00
Chris Hostetter e50332507a fix precommit by removing unused imports 2017-06-13 09:54:09 -07:00
Andrzej Bialecki 232eff0893 SOLR-10704 Wait until all leader replicas are recovered before deleting
the originals.
2017-06-13 17:39:26 +02:00
Cao Manh Dat f29e2d1c7c Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-06-13 19:38:56 +07:00
Cao Manh Dat b73dffd928 SOLR-10818: Adding test for v2 backup-collection request 2017-06-13 19:38:43 +07:00
Noble Paul 6d97305c63 randomize v1 and v2 2017-06-13 19:23:38 +09:30
Mike Drob 94220a01e1 SOLR-8392: Remove instanceof checks on return value of SolrParam::get 2017-06-12 15:15:54 -07:00
Tomas Fernandez Lobbe c51f6fae75 SOLR-10835: Add support for point fields in Export Handler 2017-06-12 14:21:41 -07:00
Erick Erickson 5a737a3aab SOLR-10857: Solr loads UNLOADed core on request, cleaned up printStackTrace 2017-06-12 09:40:34 -07:00
Dawid Weiss b2ea95c9ec SOLR-10849: MoreLikeThisComponent should expose setMaxDocFreqPct (maxDoc frequency percentage). 2017-06-12 14:44:06 +02:00
Noble Paul e11eb63f60 SOLR-10870: SolrRequestParsers does unnecessary check for /config prefix 2017-06-12 18:01:09 +09:30
Cao Manh Dat 41d12df6d2 SOLR-10715: Welcome message should work for _introspect 2017-06-12 10:46:38 +07:00
Cao Manh Dat 6075956b65 SOLR-10715: /v2/ should not be an alias for /v2/collections 2017-06-12 10:32:45 +07:00
Erick 95841d9ed4 SOLR-10857: Solr loads UNLOADed core on request. 2017-06-11 12:13:25 -07:00
David Smiley 5c781d5679 SOLR-10836: igain, significantTerms, and tlogit assumed existing terms 2017-06-09 23:39:23 -04:00
Steve Rowe 566fcfce13 SOLR-10761: Switch trie numeric/date fields to points in data-driven-enabled example and test schemas 2017-06-09 19:43:01 -04:00
Chris Hostetter 8cd826f293 SOLR-10829: Fixed IndexSchema to enforce that uniqueKey can not be Points based for correctness 2017-06-09 11:39:09 -07:00
Noble Paul f14f2ef6a6 SOLR-10647: move JsonSchemaValidator to SolrJ 2017-06-09 14:29:26 +09:30
Joel Bernstein 40ed09f8ca SOLR-10853:Allow the analyze Stream Evaluator to operate outside of a stream 2017-06-08 14:41:48 -04:00
Noble Paul c5c05b46c4 SOLR-10647: move the spec files to solrj 2017-06-08 19:39:55 +09:30
Steve Rowe e4ab04ab7d SOLR-10501: Test sortMissing{First,Last} with points fields. 2017-06-07 19:21:10 -04:00
Christine Poerschke b25dda0b20 SOLR-10800: Factor out HttpShardHandler.transformReplicasToShardUrls from HttpShardHandler.prepDistributed.
(Domenico Fabio Marino, Christine Poerschke)
2017-06-07 13:27:53 +01:00
yonik a1692c160a SOLR-7452: fix facet refinement for range queries 2017-06-06 20:54:41 -04:00
Tomas Fernandez Lobbe a03c3369e2 SOLR-10233: Stop warning users about misconfigured ReplicationHandler when using replica types 2017-06-06 17:23:01 -07:00
Tomas Fernandez Lobbe 97655b880c SOLR-10233: Cleanup warnings from ReplicateFromLeader 2017-06-06 17:22:01 -07:00
Tomas Fernandez Lobbe 46a5ae23a7 SOLR-10233: Some more logging to chaos monkey with replica types tests 2017-06-06 16:40:09 -07:00
Steve Rowe 98e103731f SOLR-10815: avoid long->float precision loss in 'product(-1,ms(date_field)' by subtracting a base date: 'product(-1,ms(date_field,base_date_field))' 2017-06-06 14:25:37 -04:00
David Smiley 29de0f75e8 SOLR-10722: UH optimize for Solr's getFieldInfos 2017-06-06 11:05:17 -04:00
Christine Poerschke 622e527cf2 SOLR-10671: remove two-and-a-half unused private static logger warnings 2017-06-06 14:40:46 +01:00
Shalin Shekhar Mangar ea79c668c7 SOLR-10782: Skip asserting that sysLoadAvg is positive on windows as this metrics is not available on that platform 2017-06-06 16:31:43 +05:30
Shalin Shekhar Mangar d633c957cb Merge branch 'feature/autoscaling_solr7'
# Conflicts:
#	solr/CHANGES.txt
2017-06-06 09:26:56 +05:30
Shalin Shekhar Mangar b47572ee87 SOLR-10419: All collection APIs should use the new Policy framework for replica placement 2017-06-06 09:22:38 +05:30
Mikhail Khludnev 357f4dfb18 SOLR-3702: concat(..) function query 2017-06-05 23:26:06 +03:00
Joel Bernstein 78d95014e7 SOLR-10813: Add arraySort Stream Evaluator 2017-06-05 11:19:17 -04:00
Joel Bernstein 99ca13f90f SOLR-10696: Add cumulative probability function 2017-06-05 11:19:17 -04:00
Christine Poerschke 2271e73e76 SOLR-10671: Add abstract doInit method to the SolrMetricReporter base class.
(Christine Poerschke, Anshum Gupta)
2017-06-05 12:17:38 +01:00
Christine Poerschke b1b9a94b1d SOLR-10744: remove unused import 2017-06-05 10:35:53 +01:00
Shalin Shekhar Mangar 744d1ab974 SOLR-10782: Improve error handling and tests for Snitch and subclasses and general cleanups 2017-06-05 13:41:26 +05:30
Noble Paul 1f437fe5ab SOLR-10744: use the new flags in json parsing and add tests 2017-06-05 13:34:07 +09:30
yonik 67876b3027 SOLR-7452: fix facet refinement for method:dvhash 2017-06-04 20:13:33 -04:00
Erick 2eacf13def LUCENE-7705: Allow CharTokenizer-derived tokenizers and KeywordTokenizer to configure the max token length, fix test failure. 2017-06-02 20:32:37 -07:00
Erick 15a8a24152 LUCENE-7705: Allow CharTokenizer-derived tokenizers and KeywordTokenizer to configure the max token len (test fix) 2017-06-02 14:11:11 -07:00
Chris Hostetter 038baaed92 SOLR-10801: Remove several deprecated methods that were exposed to plugin writers 2017-06-02 10:51:23 -07:00
Tomas Fernandez Lobbe 3618fc529d SOLR-10799: Refator HttpShardHandler.prepDistributed collection of shard replicas 2017-06-02 10:34:30 -07:00
yonik 393a2ed176 SOLR-7452: tests: templatize refinement tests 2017-06-02 11:36:10 -04:00
Noble Paul 4e691f9e4a SOLR-9735: validation of all input values to either string or long 2017-06-02 23:27:22 +09:30
Christine Poerschke c64f9d64b4 SOLR-8668: In solrconfig.xml remove <mergePolicy> (and related <mergeFactor> and <maxMergeDocs>)
support in favor of the <mergePolicyFactory> element introduced by SOLR-8621 in Solr 5.5.0.
(Christine Poerschke, hossman)
2017-06-02 13:59:08 +01:00
Christine Poerschke cccf97cae8 SOLR-10790: Fix warnings in Assign.java and ReplicaAssigner.java classes. 2017-06-02 10:39:18 +01:00
Chris Hostetter c88c524bbf SOLR-10792: Deprecate and remove implicit registration of lucenePlusSort aka OldLuceneQParser 2017-06-01 10:01:17 -07:00
Noble Paul b530c1397e SOLR-10419: test errors fixed 2017-06-01 15:36:31 +09:30
Noble Paul 57fe80d8a0 SOLR-10744: Update noggit to newer version (0.8) 2017-06-01 15:13:00 +09:30
Noble Paul 4a378eb0ad SOLR-10793: BlobHandler should have a well-known permission name 2017-06-01 13:44:02 +09:30
Mark Miller 7da9e9d735 SOLR-10137: Ensure that ConfigSets created via API are mutable. 2017-05-31 17:44:08 -04:00
Tomas Fernandez Lobbe 22c2ed070a SOLR-10773: Add support for replica types in V2 API 2017-05-31 13:53:34 -07:00
Chris Hostetter 7a5261a222 SOLR-10757: Merge remote-tracking branch 'refs/remotes/origin/master'
Conflicts:
	solr/CHANGES.txt
2017-05-31 09:52:25 -07:00
Chris Hostetter ee33f38bd1 SOLR-10757: delete/refactor/cleanup CollectionAdminRequest deprecations 2017-05-31 09:49:56 -07:00
Noble Paul b4a291f4a1 SOLR-10419: added testcase for add shard using policy 2017-05-31 22:56:25 +09:30
Noble Paul bf8057dc89 SOLR-10419: added testcase for create collection using policy 2017-05-31 22:10:54 +09:30
Tomas Fernandez Lobbe c824b097b4 SOLR-10752: replicationFactor default is 0 if tlogReplicas > 0 is specified 2017-05-30 17:54:28 -07:00
Joel Bernstein 191c2ba5f5 SOLR-10767: Add movingAvg Stream Evaluator 2017-05-30 11:10:43 -04:00
Shalin Shekhar Mangar 217a5002e1 SOLR-9735: Workaround against SOLR-10768 2017-05-30 18:33:59 +05:30
Shalin Shekhar Mangar e5d8ed397a SOLR-9735: Initial port of autoscaling work for Solr 7 2017-05-30 14:59:25 +05:30
Adrien Grand 759fa42b62 LUCENE-7850: Move support for legacy numerics to solr/. 2017-05-30 10:33:08 +02:00
Erick Erickson 412e4ae2c1 SOLR-10719: Creating a core.properties fails if the parent of core.properties is a symlinked dierctory 2017-05-29 20:08:44 -07:00
Joel Bernstein 963f43f6c0 SOLR-10765: Add anova Stream Evaluator 2017-05-29 20:48:25 -04:00
Erick Erickson 906679adc8 LUCENE=7705: Allow CharTokenizer-derived tokenizers and KeywordTokenizer to configure the max token length 2017-05-28 15:18:48 -07:00
Chris Hostetter bc973ecdcf SOLR-10755: delete/refactor many solrj deprecations 2017-05-26 19:04:31 -07:00
Ishan Chattopadhyaya 4944ddc305 SOLR-10004: Placing the experimental tag properly 2017-05-27 03:41:32 +05:30
Ishan Chattopadhyaya 45b26e322f SOLR-10735: Fixing windows space directory issue 2017-05-27 03:30:27 +05:30
Tomas Fernandez Lobbe 8f92fb4722 SOLR-10233: Correctly set maxShardsPerNode in BackupRestoreTestCase when using createNodeSet and replica types 2017-05-26 14:49:18 -07:00
Joel Bernstein d1436c4823 SOLR-10754: Add hist Stream Evaluator 2017-05-26 13:41:35 -04:00
Joel Bernstein 3e70745c79 SOLR-10747: Change the tuple field to return-value 2017-05-26 11:21:51 -04:00
Joel Bernstein 81821b29ae SOLR-10753: Add array Stream Evaluator 2017-05-26 10:23:46 -04:00
Christine Poerschke e7099e4bf5 SOLR-10741: Factor out createSliceShardsStr method from HttpShardHandler.prepDistributed.
(Domenico Fabio Marino via Christine Poerschke)
2017-05-26 10:52:57 +01:00
Christine Poerschke 4106e1b51a Fixed a couple of typos (s/begining/beginning). 2017-05-26 10:10:01 +01:00
Steve Rowe 78e7e1c307 SOLR-10379: Add ManagedSynonymGraphFilterFactory, deprecate ManagedSynonymFilterFactory 2017-05-25 17:49:20 -04:00
Joel Bernstein b3ee2d03db SOLR-10747: Allow /stream handler to execute Stream Evaluators directly 2017-05-25 13:52:42 -04:00
Tomas Fernandez Lobbe 1e4d2052e6 SOLR-10233: ChaosMonkeySafeLeaderWithPullReplicasTest - Catch SolrException while waiting for the cluster to be ready 2017-05-25 09:37:16 -07:00
Christine Poerschke 6ba1834bc3 SOLR-10659: Remove ResponseBuilder.getSortSpec use in SearchGroupShardResponseProcessor. (Judith Silverman via Christine Poerschke) 2017-05-25 16:46:46 +01:00
Christine Poerschke 2bb6e2caca SOLR-10479: Adds support for HttpShardHandlerFactory.loadBalancerRequests(MinimumAbsolute|MaximumFraction) configuration. (Ramsey Haddad, Daniel Collins, Christine Poerschke) 2017-05-25 16:46:45 +01:00
Joel Bernstein 0b47126e5c SOLR-10743: Add sequence StreamEvaluator 2017-05-25 11:20:15 -04:00
Ishan Chattopadhyaya 6d80320aef SOLR-10004: Adding descriptions for a few classes to assess impact on smoke tester warnings 2017-05-25 17:47:21 +05:30
Joel Bernstein 47781e3938 SOLR-10684: Add finddelay Stream Evaluator 2017-05-24 13:10:50 -04:00
Joel Bernstein 89d48dfd9c SOLR-10731: Add knn Streaming Expression WIP 2017-05-24 07:59:01 -04:00
Noble Paul 8f4d72a7d2 added docs 2017-05-24 15:59:00 +09:30
David Smiley 872ed81cc9 SOLR-10700: Remove PostingsHighlighter references from docs 2017-05-23 23:24:22 -04:00
yonik d60c72f34c SOLR-10634: calc metrics in first phase if limit=-1 and no subfacets 2017-05-23 20:52:46 -04:00
Steve Rowe ea9adc055b SOLR-10438: Assign explicit useDocValuesAsStored values to all points field types in schema-point.xml/TestPointFields. 2017-05-23 20:04:43 -04:00
Ishan Chattopadhyaya 4f16beb053 Fix javadocs warnings 2017-05-24 00:57:32 +05:30
Erick 28b8696d77 SOLR-10721: Provide a way to know when Core Discovery is finished and when all async cores are done loading 2017-05-23 12:20:58 -07:00
David Smiley 0d3c73eaa2 LUCENE-7815: Removed the PostingsHighlighter 2017-05-23 14:39:51 -04:00
David Smiley 92ed8b4220 SOLR-10729: Deprecated LatLonType, GeoHashField, SpatialPointVectorFieldType, and SpatialTermQueryPrefixTreeFieldType 2017-05-23 11:09:32 -04:00
David Smiley 2218ded2af SOLR-10700: Convert PostingsSolrHighlighter to extend UnifiedSolrHighlighter 2017-05-23 11:02:52 -04:00
David Smiley 715d8b0ccf SOLR-10727: SolrIndexSearcher.numDocs empty docSet optimization 2017-05-23 10:51:00 -04:00
Martijn van Groningen 85c1319c76
LUCENE-7810: Fix equals() and hashCode() methods of several join queries. 2017-05-23 10:45:54 +02:00
Tomas Fernandez Lobbe 2fc41d565a SOLR-10233: Add support for replica types 2017-05-22 19:58:51 -07:00
yonik 1802d24aba SOLR-10723: fix resize for CountSlotAcc, HllAgg.NumericAcc 2017-05-22 22:39:33 -04:00
Joel Bernstein 2d184581a7 SOLR-10724: Add describe Stream Evaluator 2017-05-22 18:42:09 -04:00
Joel Bernstein 59aa5d7515 SOLR-10693: Add copyOfRange Stream Evaluator 2017-05-22 18:42:08 -04:00
Joel Bernstein 02b1c8aa36 SOLR-10698: StreamHandler should allow connections to be closed early 2017-05-22 10:44:02 -04:00
Jan Høydahl 4a57fb4d88 SOLR-10585: Remove defaultSearchField completely in 7.0 2017-05-19 15:27:28 +02:00
Cao Manh Dat eb475db9c4 SOLR-10413: Fix precommit 2017-05-19 09:43:37 +07:00
Cao Manh Dat 9e3c710d0c SOLR-10413: Fix test failure (with better json validators we can capture invalid input) 2017-05-19 09:35:43 +07:00
Joel Bernstein f326cfb175 SOLR-10623: Add sql Streaming Expression 2017-05-18 12:50:59 -04:00
Adrien Grand 06a6034d9b LUCENE-7730: Better accuracy for the length normalization factor. 2017-05-18 16:27:31 +02:00
Jan Høydahl b5aa0da6ff SOLR-10223: Allow running examples as root on Linux with -force option 2017-05-18 11:26:19 +02:00
Cao Manh Dat 896270d132 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-05-18 11:24:58 +07:00
Cao Manh Dat c93409392d SOLR-10413: v2 API: parsed JSON type should be coerced to expected type 2017-05-18 11:24:50 +07:00
Joel Bernstein 5235903107 SOLR-10696: Add empirical distribution and percentile Stream Evaluators 2017-05-16 20:12:25 -04:00
Tomas Fernandez Lobbe c9abe7db23 SOLR-10414: RecoveryStrategy is now a Runnable instead of a Thread 2017-05-16 17:03:10 -07:00
Tomas Fernandez Lobbe 942a0851e9 Fix commit in TestUseDocValuesAsStored 2017-05-16 16:17:31 -07:00
Mark Miller 0fb89f17e1 SOLR-10307: Allow Passing SSL passwords through environment variables. 2017-05-16 14:19:16 -03:00
Joel Bernstein 1721036273 SOLR-10661: Add copyOf Stream Evaluator 2017-05-15 15:03:15 -04:00
Ishan Chattopadhyaya 9be68cc307 SOLR-8440: Support for enabling basic authentication using bin/solr|bin/solr.cmd 2017-05-15 22:06:26 +05:30
Joel Bernstein 9c6279d439 SOLR-10663: Add distance Stream Evaluator 2017-05-15 11:26:05 -04:00
Joel Bernstein a6c516519e SOLR-10664: Add scale Stream Evaluator 2017-05-15 11:26:05 -04:00
Joel Bernstein 6e41ac7a3b SOLR-10666: Add rank transformation Stream Evaluator 2017-05-15 11:26:05 -04:00