Commit Graph

10427 Commits

Author SHA1 Message Date
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
Shalin Shekhar Mangar 39c6fb2e3e SOLR-10931: Move ReplicaCount and ReplicaInfo classes to new package. Fix compile and merge issues. 2017-06-28 12:21:29 +05:30
Shalin Shekhar Mangar 8d668503d8 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/solrj/src/test/org/apache/solr/client/solrj/cloud/autoscaling/TestPolicy.java
2017-06-28 11:54:23 +05:30
Shalin Shekhar Mangar b99ee2b136 SOLR-10931: Move TestPolicy to org.apache.solr.client.solrj.cloud.autoscaling package 2017-06-28 11:53:27 +05:30
Shalin Shekhar Mangar 4239896e6d Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
#	solr/core/src/java/org/apache/solr/cloud/OverseerCollectionMessageHandler.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/AddReplicaSuggester.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Cell.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Clause.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/MoveReplicaSuggester.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Operand.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Row.java
#	solr/solrj/src/java/org/apache/solr/client/solrj/impl/SolrClientDataProvider.java
#	solr/solrj/src/test/org/apache/solr/cloud/autoscaling/TestPolicy.java
2017-06-28 11:09:19 +05:30
Ishan Chattopadhyaya 13a3ae2922 SOLR-10931: Refactoring the package name for autoscaling client classes 2017-06-28 07:55:40 +05:30
Joel Bernstein ce4a7911ea Ref Guide: Change gatherNodes to nodes in the docs 2017-06-27 12:36:13 -04:00
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
Christine Poerschke 9c75c8082d SOLR-10963: Fix example json in MultipleAdditiveTreesModel javadocs. (Stefan Langenmaier via Christine Poerschke) 2017-06-27 13:22:11 +01:00
Ishan Chattopadhyaya e4d0bb7dc4 SOLR-10272: Fixing precommit 2017-06-27 17:01:01 +05:30
Noble Paul 257ba055d8 Refactored to pull out ReplicaInfo as a top level class 2017-06-27 19:29:32 +09:30
Shalin Shekhar Mangar 6a1ddda025 SOLR-10272: Specify configset name while creating collections 2017-06-27 14:25:48 +05:30
Shalin Shekhar Mangar 4ae91b21e3 SOLR-10496: Fix test failure in testNodeAdded which happens if testNodeLost runs first and leaves behind a collection 2017-06-27 13:46:19 +05:30
Shalin Shekhar Mangar cecd365f8f SOLR-10496: Log the operation's parameters instead of useless toString description 2017-06-27 13:18:53 +05:30
Shalin Shekhar Mangar d6d5a49196 SOLR-10272: Update tests to create collections with a specific configset name 2017-06-27 13:18:03 +05:30
Mark Miller 54fc1ee44d SOLR-10307: Export variables so that solr.in.sh works correctly. 2017-06-27 02:37:15 -04:00
Shalin Shekhar Mangar e863d0f548 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
#	solr/core/src/java/org/apache/solr/cloud/ZkController.java
2017-06-27 10:48:05 +05:30
Shalin Shekhar Mangar 5d442437b5 SOLR-10406: Remove workaround for SOLR-10768 2017-06-27 10:09:44 +05:30
Ishan Chattopadhyaya c66a8d9fda SOLR-10272: Reverting a mistakenly deleted file 2017-06-27 09:14:00 +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
Cassandra Targett 93c96b06fb SOLR-10892: Phase 2: large pages with lots of tables + lots of heading cleanups & TOC placement changes 2017-06-26 22:17:59 -05:00
Cassandra Targett 8da926e7cb Ref Guide: fix bad JSON in examples 2017-06-26 22:17:59 -05:00
Chris Hostetter 9f56698d33 SOLR-10948: Fix extraction component to treat DatePointField the same as TrieDateField
SOLR-10947: Randomize the usage of Points based numerics in contrib test schemas

This commit also adds @SuppressPointFields needed for SOLR-10949
2017-06-26 17:03:00 -07:00
Chris Hostetter 14a0b4fa53 SOLR-10946: Randomize the usage of Points based numerics in solrj test schemas
This includes an @SuppressPointFields for SOLR-10960
2017-06-26 15:49:55 -07:00
Dennis Gove bee8d7ccb3 Revert "SOLR-9981: Performance improvements and bug fixes for the Analytics component"
This reverts commit a5dce163eb.
2017-06-26 17:33:26 -04:00
Dennis Gove 288ab09ceb Revert "SOLR-9981: Fixes precommit error in test file"
This reverts commit e8057309b9.
2017-06-26 17:33:26 -04:00
Christine Poerschke 945bf8fa82 SOLR-10907: add @SuppressWarnings("resource") in ExpandComponent 2017-06-26 20:33:02 +01:00
Christine Poerschke 0dad305193 SOLR-10823: correct CHANGES.txt entry section (7.0.0 instead of 6.7.0) 2017-06-26 20:12:22 +01:00
Shalin Shekhar Mangar 4c47a32950 SOLR-10496: Add a test for multiple operations suggested by three different cluster policies 2017-06-27 00:33:10 +05:30
Christine Poerschke 44860bd48a SOLR-10823: Add reporting period to SolrMetricReporter base class. 2017-06-26 16:26:37 +01:00
Noble Paul 72cf7dc2f7 check for AIOOBE 2017-06-26 23:08:41 +09:30
Noble Paul c5684cc85c making the url consistent w/ node name 2017-06-26 20:39:27 +09:30
Mikhail Khludnev 7c448623cc SOLR-10824: fixing stats tests: ignore local scores from query result cache. 2017-06-26 12:11:51 +03:00
Shalin Shekhar Mangar 82d927f699 SOLR-10602: Fix usage of delta in NodeAddTriggerTest.testRestoreState to avoid spurious failures 2017-06-26 09:01:02 +05:30
Ishan Chattopadhyaya e4a7fc59ad SOLR-10574: Adding _default configset, replacing data_driven_schema_configs and basic_configs 2017-06-26 04:58:02 +05:30
Shalin Shekhar Mangar 1dd09fc40d Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-06-25 07:35:39 +05:30
Dennis Gove e8057309b9 SOLR-9981: Fixes precommit error in test file 2017-06-24 21:48:39 -04:00
Dennis Gove a5dce163eb SOLR-9981: Performance improvements and bug fixes for the Analytics component 2017-06-24 21:39:01 -04:00
Noble Paul e204ab0eef SOLR-10798: Add support for different replica types in the new policy framework 2017-06-23 22:56:01 +09:30
Shalin Shekhar Mangar 767335da19 SOLR-10496: New ComputePlanAction for autoscaling which uses the policy framework to compute cluster operations upon a trigger fire
Squashed commit of the following:

commit 8a5239d000f0090867f7db00983e335e4bdc931a
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jun 23 17:52:01 2017 +0530

    SOLR-10496: New ComputePlanAction for autoscaling which uses the policy framework to compute cluster operations upon a trigger fire

commit 70f60a23bc1e706abb41a4900c65305f1763f8f6
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jun 23 07:07:26 2017 +0530

    SOLR-10496: Remove debugging info from tests. Enable recursive suggestion of operations.

commit b023b011934be9ea411e148538daaa0a0b1d2052
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jun 23 00:18:51 2017 +0530

    SOLR-10496: Fix test failure on nodeLost event

commit b78e7ff589510315463488cd1ed79244d9d6e6ad
Author: Noble Paul <noble@apache.org>
Date:   Fri Jun 23 00:34:01 2017 +0930

    SOLR-10496: MOVEREPLICA suggester for dead node is not working

commit cb665a1b35cbd1826c58f8d4ff8f20eb37bc5f8f
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Thu Jun 22 18:50:55 2017 +0530

    SOLR-10496: Fix ClassCastException because the SRC_NODE hint is a Set

commit ebf298329360240014253daf58ab4699f3685033
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Thu Jun 22 18:46:28 2017 +0530

    SOLR-10496: Initial patch for ComputePlanAction
2017-06-23 18:01:06 +05:30
Shalin Shekhar Mangar 148865f020 SOLR-9735: Fix assertions on error cases in AutoScalingHandlerTest after changes made by SOLR-10406 2017-06-21 15:52:03 +05:30
Shalin Shekhar Mangar b499f5aac2 Fixed merge problems to make the branch as close to master as possible 2017-06-21 13:04:01 +05:30
Shalin Shekhar Mangar fb7803d9a0 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-06-21 12:35:48 +05:30
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
Ishan Chattopadhyaya 1a58412e4a SOLR-10574: Reverting previous commits to tackle test failues 2017-06-20 23:14:24 +00: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
Mikhail Khludnev 706d201815 LUCENE-7871: fix false positive match in BlockJoinSelector when children have no value.
- introducing  BlockJoinSelector.wrap methods accepting children as DISI.
- extracting ToParentDocValues
2017-06-20 16:31:09 +03:00
Cao Manh Dat d070ca6051 SOLR-10818: Fix bug in construct payload with special characters in testCollectionsApi() 2017-07-03 15:38:05 +07:00
Jan Høydahl 3bb8939afe SOLR-4646: Add the word "optionally" to refGuide:
* optionally treats "and" and "or" as "AND" and "OR" in Lucene syntax mode.
2017-06-20 13:41:31 +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
Ishan Chattopadhyaya 0ec9d64d81 SOLR-10574: Changes and upgrade notes 2017-06-20 11:14:28 +00:00
Ishan Chattopadhyaya d1c807dd70 SOLR-10574: Adding unified _default config set 2017-06-20 11:05:07 +00:00
Ishan Chattopadhyaya 7c2429bebf SOLR-10574: Adding data driven support to basic_confs and adding payload fields 2017-06-20 11:03:48 +00: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
Joel Bernstein 3ff8c87024 SOLR-10882: Comment out broken test case 2017-06-19 09:16:23 -04: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 943bf5ab5b SOLR-10882: Fixes use of Lists in evaluators 2017-06-18 11:50:58 -04:00
Dennis Gove aeec043ed1 SOLR-10882: Moves sub evaluator check to the constructors to catch errors earlier 2017-06-18 11:50:58 -04: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
Dennis Gove 5fca6a4d82 SOLR-10882: Rewords error message on Anova evaluator 2017-06-18 11:50:57 -04:00
Dennis Gove 606824acaf SOLR-10882: ArrayEvaluator now supports values of any type 2017-06-18 11:50:57 -04:00
Dennis Gove 8988862698 SOLR-10882: Moves parameter checking of anova evaluator 2017-06-18 11:50:57 -04:00
Dennis Gove f1695104fa SOLR-10882: LengthEvaluator now supports collections of any type 2017-06-18 11:50:57 -04:00
Dennis Gove fffbe67b3b Adds documentation for the cartesianProduct 2017-06-18 11:50:46 -04:00
Joel Bernstein b49ce68935 Ref Guide: Add floor evaluator docs 2017-06-16 14:35:12 -04:00
Joel Bernstein c24e401d7c Ref Guide: Format ceil evaluator docs 2017-06-16 14:32:18 -04:00
Joel Bernstein 1a00950021 Ref Guide: Add ceil evaluator docs 2017-06-16 14:29:31 -04:00
Joel Bernstein 584b69d3f2 Ref Guide: Add mod evaluator docs 2017-06-16 14:18:54 -04:00
Joel Bernstein a5b1327aec Ref Guide: Add pow evaluator docs 2017-06-16 14:03:13 -04:00
Noble Paul e2d8f941e1 SOLR-9565: missed updating the testcase 2017-06-17 00:55:10 +09:30
Shalin Shekhar Mangar b7ea70349a SOLR-10397: Remove AutoAddReplicasPlanAction from default actions list. Add test to ensure that we are adding AutoAddReplicasPlanAction explicitly in auto-created triggers 2017-06-16 18:51:17 +05: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 1744fa254a SOLR-10886: Add CHANGES.txt entry 2017-06-16 14:30:24 +07: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 d953488e93 unused imports removed 2017-06-16 15:21:30 +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
Cassandra Targett a7245d5e78 SOLR-10892: fix trailing white space 2017-06-15 18:04:46 -07:00
Cassandra Targett bf26608f6d SOLR-10892: Change easy tables to description lists 2017-06-15 18:03:35 -07:00
Cassandra Targett 4eea44103e Ref Guide: Add callouts to the security.json example 2017-06-15 18:03:34 -07:00
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