Commit Graph

6458 Commits

Author SHA1 Message Date
Erick Erickson e053e2298f SOLR-11198: downconfig downloads empty file as folder, test failures possible fix and logging 2017-08-06 18:21:48 -07:00
Kevin Risden 383b3eac65 Upgrade to Calcite 0.13.0 and Calcite Avatica 0.10.0 2017-08-06 13:12:41 -05:00
Erick Erickson 522367cc4d SOLR-11198: downconfig downloads empty file as folder 2017-08-06 09:48:16 -07:00
Steve Rowe cff5e98583 SOLR-10796: TestPointFields.testDoublePointFieldRangeFacet(): Guard against converting a double-valued '-Infinity' to BigDecimal 2017-08-05 10:59:11 -04:00
Steve Rowe 3f9e748202 SOLR-11023: add docValues="true" to an enum field declaration in schema.xml, so that EnumFieldType, which requires docValues, stops causing TestDistributedSearch to fail 2017-08-05 10:14:38 -04:00
Steve Rowe f962effd12 SOLR-10803: Mark all Trie/LegacyNumeric based fields @deprecated in Solr7. 2017-08-04 19:55:02 -04:00
Steve Rowe 9627d1db5d SOLR-11023: Added EnumFieldType, a non-Trie-based version of EnumField, and deprecated EnumField in favor of EnumFieldType. 2017-08-04 19:32:46 -04:00
Noble Paul c1d28c3ece SOLR-11178: Change error handling in AutoScalingHandler to be consistent w/ other APIs 2017-08-04 23:41:30 +09:30
Noble Paul d468313bac SOLR-11178: Change error handling in AutoScalingHandler to be consistent w/ other APIs 2017-08-04 17:18:10 +09:30
Varun Thacker 8cd2942e35 SOLR-11182: A split shard failure on IOException should be logged 2017-08-03 09:50:00 -07:00
Noble Paul 1c47a85f23 SOLR-11178: Change error handling in AutoScalingHandler to be consistent w/ other APIs 2017-08-03 23:01:35 +09:30
Cao Manh Dat f80f1c0962 SOLR-11011: Fix AssignTest.testIdIsUnique() failure 2017-08-03 09:16:10 +07:00
Noble Paul b89015a2d4 SOLR-11157: remove-policy must fail if a policy to be deleted is used by a collection 2017-08-03 11:20:16 +09:30
Anshum Gupta 211d106cc2 SOLR-11126: Node-level health check handler, with SolrJ support 2017-08-02 11:54:49 -07:00
Steve Rowe 0e2ec280be SOLR-10033: return warning in response header about raising mincount above 0 with points fields 2017-08-01 19:33:08 -04:00
Steve Rowe 6b399d7a61 SOLR-10033: When attempting to facet with facet.mincount=0 over points fields, raise mincount to 1 and log a warning. 2017-08-01 15:32:54 -04:00
yonik d696b5986b SOLR-10845: fix QueryEqualityTest unknown schema field for graphTerms query 2017-08-01 13:49:07 -04:00
yonik 0e927c6484 SOLR-10845: add Points support to graphTerms query 2017-08-01 12:28:35 -04:00
Steve Rowe 7d6c154fd9 Revert "SOLR-10033: Provide a clear exception when attempting to facet with facet.mincount=0 over points fields"
This reverts commit 3a405971b9.
2017-08-01 09:42:09 -04:00
Christine Poerschke 9422da26e5 SOLR-11140: Remove unused parameter in (private) SolrMetricManager.prepareCloudPlugins method.
(Omar Abdelnabi via Christine Poerschke)
2017-08-01 11:14:32 +01:00
Cao Manh Dat 292fca651a SOLR-9321: Remove tests, they were accidentally added because of cherry-pick 2017-08-01 15:17:20 +07:00
Cao Manh Dat 93ed4770ac SOLR-9321: Remove deprecated methods of ClusterState 2017-08-01 14:55:00 +07:00
Steve Rowe 3a405971b9 SOLR-10033: Provide a clear exception when attempting to facet with facet.mincount=0 over points fields 2017-07-31 18:22:15 -04:00
Steve Rowe 6404abd200 SOLR-10847: Provide a clear exception when attempting to use the terms component with points fields 2017-07-31 17:03:08 -04:00
Andrzej Bialecki 19b06e8435 SOLR-11171 Catch AlreadyClosedException when trying to add triggers while closing. 2017-07-31 23:02:25 +02:00
Joel Bernstein 71517bc292 SOLR-11160: Add normalDistribution, uniformDistribution, sample and kolmogorovSmirnov Stream Evaluators 2017-07-31 15:40:21 -04:00
Steve Rowe 88614dd15f SOLR-10919: ord & rord functions give confusing errors with PointFields 2017-07-31 14:24:11 -04:00
Cao Manh Dat 4e7af72464 SOLR-10397: Fix AutoScalingHandlerTest failure 2017-07-31 23:04:20 +07:00
Andrzej Bialecki 77a5dfe381 Fix string / boolean conversions and fix an assertion that is no longer true
due to .auto_add_replicas trigger.
2017-07-31 15:38:50 +02:00
Andrzej Bialecki 53472c4b93 SOLR-11036: Separately report disk space metrics for solr.data.home and core root directory. 2017-07-31 12:08:51 +02:00
Shalin Shekhar Mangar b1a65c8f55 SOLR-6086: Remove unused import 2017-07-31 08:12:29 +05:30
Shalin Shekhar Mangar 90da5ce81c SOLR-6086: Replica is active during autowarming resulting in queries being sent to a replica that may not have a registered searcher. This causes spikes in response times when adding a replica in busy clusters 2017-07-30 20:20:20 +05:30
Noble Paul 8b32d6beb5 SOLR-10734: Awaitsfix 2017-07-30 11:57:54 +09:30
Ishan Chattopadhyaya 924b3fd472 SOLR-11154: Child documents' return fields now include useDocValuesAsStored fields 2017-07-30 02:43:36 +05:30
Cao Manh Dat 7ef991d642 SOLR-10397: Handle interrupted event for Overseer.autoscalingTriggerCreator 2017-07-29 10:43:37 +07:00
Steve Rowe 68623e975c SOLR-10756: Undeprecate ZkStateReader.updateClusterState(), mark as @lucene.internal, and rename to forciblyRefreshAllClusterStateSlow(). 2017-07-28 13:59:19 -04:00
Cao Manh Dat 6893699f06 SOLR-10397: Overseer.createAutoscalingTriggerIfNotExist() should log error instead of throwing SolrException 2017-07-28 23:08:35 +07:00
Christine Poerschke 936bb4abe9 Remove unused local variables in two tests. 2017-07-28 16:39:16 +01:00
Steve Rowe 51b6840488 SOLR-11155: /analysis/field and /analysis/document requests should support points fields. 2017-07-28 11:07:44 -04:00
Cao Manh Dat 0f7e3be589 SOLR-10397: Remove old implementation of autoAddReplicas features 2017-07-28 18:00:03 +07:00
Steve Rowe b79c932a9f SOLR-10846: ExternalFileField/FloatFieldSource should throw a clear exception on initialization with a Points-based keyField, which is not supported 2017-07-27 22:17:06 -04:00
Steve Rowe ac2384426d SOLR-10858: remove unused imports 2017-07-27 19:54:14 -04:00
David Smiley ec0c11c703 SOLR-11093: small improvements to LongSet's iterator 2017-07-27 18:08:08 -04:00
Noble Paul d90efebe75 SOLR-10858: ununsed imports 2017-07-27 17:07:51 +09:30
Noble Paul 741b49e839 SOLR-10858: Make UUIDUpdateProcessorFactory as Runtime URP 2017-07-27 17:07:07 +09:30
Noble Paul edff113e13 SOLR-10734: AtomicUpdateProcessorFactoryTest was not truly multithreaded 2017-07-27 15:27:58 +09:30
Tomas Fernandez Lobbe 1582509d04 SOLR-11070: Fix DocValuesTest.testFloatAndDoubleRangeQueryRandom
Updated test to consider Infinity a match when using * in range query
2017-07-26 17:06:38 -07:00
Steve Rowe 42c6703726 SOLR-11151: remove unused imports 2017-07-26 15:46:04 -04:00
Tomas Fernandez Lobbe 847ab9e326 SOLR-11070, SOLR-11056: Make docValues range queries behave the same as Trie/Point fields for Double/Float Infinity cases 2017-07-26 10:12:40 -07:00
Steve Rowe 67b3d4e108 SOLR-10760: Remove trie field types and fields from example schemas 2017-07-26 12:34:51 -04:00
Steve Rowe 615cc38b18 SOLR-11151: SolrInfoMBeanHandler.getDiff() ADD case non-functional: NPE when a bean value goes from null -> non-null 2017-07-26 12:21:02 -04:00
yonik aa1d5feba0 SOLR-11093: add Points to GraphQuery 2017-07-25 10:49:24 -04:00
Christine Poerschke 10fc0d75d7 SOLR-2715: turn @Ignore into @AwaitsFix 2017-07-25 11:29:50 +01:00
Cao Manh Dat b53736155a Merge 'master' into feature/autoscaling 2017-07-25 16:05:24 +07:00
Cao Manh Dat f087c5acae SOLR-11011: Fix backward compatibility problem + audit the usage of old Assign.buildCoreName(String collectionName, String shard, Replica.Type type, int replicaNum) 2017-07-25 15:04:15 +07:00
Chris Hostetter 6a59253ec3 SOLR-10494: Make default response format JSON (wt=json), and also indent text responses formats (indent=on) by default 2017-07-24 08:42:02 -07:00
Noble Paul a323f55d79 SOLR-8736: these tests should have been removed 2017-07-24 21:22:00 +09:30
Steve Rowe 97ca529e49 SOLR-10916: remove unused imports 2017-07-21 22:51:43 -04:00
Cassandra Targett cbe7084a8e SOLR-11135: Update Ref Guide links in READMEs, config files and UI 2017-07-21 21:06:43 -05:00
Steve Rowe 7328e59251 SOLR-10916: Convert tests that extend LuceneTestCase and use MiniSolrCloudCluster to instead extend SolrCloudTestCase 2017-07-21 18:28:12 -04:00
Cassandra Targett cdae11e25a SOLR-10848: Update v2 api specs with new Ref Guide address and anchor links 2017-07-21 15:47:01 -05:00
Tomas Fernandez Lobbe 57b7aa6d8c SOLR-10835: Fix test bug 2017-07-21 09:38:14 -07:00
markrmiller ffd76a6977 SOLR-10338: Configure SecureRandom non blocking for tests. 2017-07-20 13:40:05 -04:00
Adrien Grand 7ea4072b36 LUCENE-7892: Add missing "Slow" to doc-value query factory methods. 2017-07-20 15:10:11 +02:00
Cao Manh Dat db1ad25446 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-07-20 14:39:42 +07:00
Cao Manh Dat bd283c895f SOLR-11124: MoveReplicaCmd should skip deleting old replica in case of its node is not live 2017-07-20 14:39:30 +07:00
Erick Erickson 4041f8a1c9 SOLR-11122: Creating a core should write a core.properties file first and clean up on failure 2017-07-19 22:17:54 -07:00
Cao Manh Dat 227eeefcd0 SOLR-11011: Assign.buildCoreName can lead to error in creating a new core when legacyCloud=false 2017-07-20 11:49:56 +07:00
Chris Hostetter 9e5eaca217 SOLR-11123: Randomize PointFields in test classes that had usage of Trie field classes/names hardcoded 2017-07-19 17:51:49 -07:00
Steve Rowe e7d0063dc1 SOLR-11119: Switch from Trie to Points field types in the .system collection schema 2017-07-19 20:22:53 -04:00
Andrzej Bialecki e9e9b3c21a SOLR-11031: Implement SystemLogListener for autoscaling. 2017-07-19 17:20:52 +02:00
Andrzej Bialecki c1f146d2fc SOLR-11037: Improved unit test. 2017-07-19 15:44:13 +02:00
Andrzej Bialecki 541aa719c4 SOLR-11037: Refactor to provide NodeConfig.getSolrDataHome internal API. 2017-07-19 09:09:24 +02:00
Chris Hostetter bddbef0ce9 SOLR-11120: Remove trie fieldTypes from schema-points.xml 2017-07-18 18:10:44 -07:00
Chris Hostetter 49ff81756d SOLR-11121: Randomize PointFields in schema-trie.xml and TestTrie 2017-07-18 17:28:21 -07:00
Anshum Gupta 3dbf32f284 SOLR-11074: Randomize PointFields in cloud-dynamic configset and all related tests 2017-07-18 17:08:48 -07:00
Chris Hostetter c23cecc557 SOLR-11114: Randomize PointFields in schema-customfield.xml and TestOverriddenPrefixQueryForCustomFieldType 2017-07-18 15:47:31 -07:00
Chris Hostetter 63acac6379 SOLR-11113: Randomize PointFields in analysis-err-schema.xml, schema-hash.xml, and all affected tests 2017-07-18 14:57:21 -07:00
Tomas Fernandez Lobbe beec66ece7 SOLR-11057: Fix overflow in point range queries when querying the type limits 2017-07-18 14:32:11 -07:00
Steve Rowe 67fbd4f7a1 Randomize PointFields in schema-HighlighterMaxOffsetTest.xml, schema-luceneMatchVersion.xml, schema-minimal-atomic-stress.xml, and all affected tests 2017-07-18 17:24:09 -04:00
Steve Rowe 8d5c029c61 SOLR-11117: Randomize PointFields in schema-behavior.xml, schema-enums.xml, and all affected tests 2017-07-18 16:34:56 -04:00
Steve Rowe 84e3b08681 SOLR-11116: Randomize PointFields in schema-numeric.xml and all related tests 2017-07-18 16:24:12 -04:00
Steve Rowe b9a91f0aa7 SOLR-11115: Randomize PointFields in schema-psuedo-fields.xml, schema-multiword-synonyms.xml, and all affected tests 2017-07-18 16:07:28 -04:00
Steve Rowe 7b62777caf SOLR-11111: Randomize PointFields in collection1/conf/: schemasurround.xml, schema-sql.xml, and schema-spatial.xml 2017-07-18 15:13:20 -04:00
Chris Hostetter ab7e035776 SOLR-11112: Randomize PointFields in schema-folding.xml and all affected tests 2017-07-18 11:51:25 -07:00
yonik a26d1023ff SOLR-11093: tests - templatize graph query test for different field types, remove schema-graph.xml 2017-07-18 13:56:21 -04:00
Chris Hostetter 8ecbb97256 SOLR-11102: Randomize PointFields in schema-rest.xml and all affected tests 2017-07-18 10:50:23 -07:00
Steve Rowe 9e4557359f SOLR-11110: Randomize PointFields in "cloud-managed" and "cloud-managed-upgrade" test configsets 2017-07-18 11:15:44 -04:00
Steve Rowe 5232da8ee2 SOLR-11109: Randomize PointFields in "cloud-subdirs" and "configset-2" test configsets 2017-07-18 11:15:44 -04:00
Cao Manh Dat cafd0714cd Merge 'master' into feature/autoscaling 2017-07-18 12:13:39 +07:00
Steve Rowe 17014e6b97 SOLR-11105: Randomize PointFields in "cloud-minimal-jmx" and "cloud-minimal-inplace-updates" test configsets 2017-07-17 20:56:07 -04:00
Steve Rowe 5f1c5ce812 SOLR-11103: Randomize PointFields in "cloud-hdfs" test configset and all affected tests 2017-07-17 20:19:58 -04:00
Steve Rowe 3110a5d06f SOLR-11101: Randomize PointFields in cloud-minimal test configset and all affected tests 2017-07-17 19:42:40 -04:00
Chris Hostetter 1922126705 SOLR-11098: Randomize PointFields in cloud-managed-preanalyzed & schema-preanalyzed.xml 2017-07-17 15:44:41 -07:00
Chris Hostetter 369d308158 SOLR-11097: Randomize PointFields in schema-id-and-version-fields-only.xml and all affected tests 2017-07-17 14:44:04 -07:00
Chris Hostetter e17748cad7 SOLR-11095: Randomize PointFields in doc-expiry & exitabe-directory test configsets 2017-07-17 13:59:56 -07:00
Tomas Fernandez Lobbe 3bd1115964 SOLR-11073: Fix overflow in interval faceting when querying Long limits 2017-07-17 12:55:07 -07:00
Christine Poerschke e23ac243ef SOLR-11012: Fix three (JavaBinCodec not being closed) Resource Leak warnings. 2017-07-17 13:22:36 +01:00
Christine Poerschke abdb7292db SOLR-11052: Remove unnecessary Long-to-Integer and back casts in ReplicationHandler.
(Ramsey Haddad via Christine Poerschke)
2017-07-17 13:18:59 +01:00
Shalin Shekhar Mangar bab1731b23 SOLR-11088: Fix sporadic failures of MetricsHandlerTest.testPropertyFilter on jenkins 2017-07-16 09:07:16 +05:30
Shalin Shekhar Mangar c9cf57fc28 SOLR-11068: MOVEREPLICA and REPLACENODE API parameter names are now 'sourceNode' and 'targetNode'. The old names viz. 'fromNode' for MOVEREPLICA and 'source', 'target' for REPLACENODE have been deprecated 2017-07-15 09:05:33 +05:30
Steve Rowe 4cb74a50ef SOLR-10796: fix test bugs when RANDOM_MULTIPLIER > 1 2017-07-14 16:40:19 -04:00
Steve Rowe 82515fd329 SOLR-10796: TestPointFields: increase randomized testing of non-trivial values (part 2) 2017-07-14 13:54:35 -04:00
Mike McCandless 3df97d3f0c LUCENE-7905: optimize how OrdinalMap builds its map 2017-07-14 11:01:57 -04:00
Ishan Chattopadhyaya 76363e50d9 SOLR-8984: EnumField's error reporting to indicate the name of the field 2017-07-14 18:25:00 +05:30
Shalin Shekhar Mangar 4ec1bfb54f SOLR-10643: Fix typo in exception message 2017-07-14 13:04:03 +05:30
Tomas Fernandez Lobbe baa866970b SOLR-11043: Fix SimpleFacets 2017-07-13 15:59:25 -07:00
Tomas Fernandez Lobbe 5bcf9403c0 SOLR-11043: Precommit fix and trivial change to test 2017-07-13 12:29:33 -07:00
Tomas Fernandez Lobbe 9e4aaf9780 SOLR-11043: Fix facet.range.method=dv and interval facets on single-valued float fields with negative values 2017-07-13 12:27:36 -07:00
Chris Hostetter d8990db302 SOLR-10109: harden up the assertions in SoftAutoCommitTest.testSoftAndHardCommitMaxTimeRapidAdds 2017-07-13 11:40:16 -07:00
Shalin Shekhar Mangar 93cbe2adfc SOLR-11045: Fix precommit failure 2017-07-13 23:17:51 +05:30
Joel Bernstein c40f6d7d79 SOLR-10802: Add plot Stream Expression 2017-07-13 13:05:47 -04:00
Andrzej Bialecki 2590a430f5 SOLR-11000: Changes made via AutoScalingHandler should be atomic. 2017-07-13 17:52:09 +02:00
Noble Paul d2849cd453 Merge remote-tracking branch 'origin/feature/autoscaling' into feature/autoscaling 2017-07-13 16:57:51 +09:30
Noble Paul 9e4d542b04 SOLR-11005: While using policies, convert maxShardsperNode parameter into a policy
SOLR-10994: CREATESHARD ADDREPLICA to use policy framework
2017-07-13 16:57:36 +09:30
Cao Manh Dat 846f59e27e Merge branch 'feature/autoscaling' of https://git-wip-us.apache.org/repos/asf/lucene-solr into feature/autoscaling 2017-07-13 14:17:52 +07:00
Cao Manh Dat 88d9b28492 Merge branch 'master' into feature/autoscaling 2017-07-13 14:16:49 +07:00
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
Shalin Shekhar Mangar 29db9819eb SOLR-10996: Remove unused WAITING stage 2017-07-13 12:08:03 +05:30
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
Andrzej Bialecki 9c8e829f58 SOLR-10996: Implement TriggerListener API. 2017-07-10 18:29:15 +02: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
Shalin Shekhar Mangar b8c86d24d4 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-07-07 09:53:33 +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
Shalin Shekhar Mangar 23fe3e1aa0 SOLR-10496: Do not cast TriggerEvent to concrete sub-class because it might have been created from TriggerEventQueue 2017-07-06 10:03:41 +05:30
Shalin Shekhar Mangar b452b3c451 SOLR-10396: Tweak log messages 2017-07-06 09:06:23 +05:30
Shalin Shekhar Mangar 17d841776b SOLR-10496: Removing nocommit 2017-07-06 09:06:23 +05:30
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
Noble Paul fd66cb3170 SOLR-10994: reverting last commit 2017-07-05 15:44:35 +09:30
Noble Paul 1c8589c6ea Merge remote-tracking branch 'origin/feature/autoscaling' into feature/autoscaling 2017-07-05 15:33:37 +09:30
Noble Paul 43feb76df9 SOLR-10994: fixing test errors 2017-07-05 15:33:20 +09:30
Shalin Shekhar Mangar dfb7522549 SOLR-10677: Fix failing test due to policy violations 2017-07-05 07:22:29 +05:30
Shalin Shekhar Mangar ff2ade880a SOLR-10496: Fix testNodeAdded so that collection creation does not fail due to policy violations 2017-07-05 07:14:49 +05:30
Shalin Shekhar Mangar bbf4823c2a SOLR-10496: Randomly select v1 or v2 API in test 2017-07-05 06:33:39 +05:30
Shalin Shekhar Mangar c6bfb60815 SOLR-10515: Assert that the latch was indeed counted down 2017-07-05 06:30:47 +05:30
Shalin Shekhar Mangar 2bd9347c75 SOLR-10643: SOLR-10745: Remove unnecessary check for locked. It is always true. 2017-07-05 06:26:15 +05:30
Shalin Shekhar Mangar 3bf6e6fc6d SOLR-10376: Randomly select between v1 or v2 APIs in test 2017-07-05 06:22:42 +05:30
Shalin Shekhar Mangar 467c692d40 Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/core/src/java/org/apache/solr/cloud/MoveReplicaCmd.java
2017-07-05 05:39:44 +05:30
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
Shalin Shekhar Mangar 4189046078 SOLR-10965: New ExecutePlanAction for autoscaling which executes the operations computed by ComputePlanAction against the cluster 2017-07-04 14:42:03 +05:30
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
Shalin Shekhar Mangar 2e19a94fcb Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
#	solr/core/src/java/org/apache/solr/cloud/Assign.java
2017-07-04 06:49:13 +05:30
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
Noble Paul b21b0dcc22 SOLR-10994: CREATE & CREATESHARD to support replica types when using policy 2017-07-02 17:59:03 +09:30
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
Christine Poerschke 40fc36b87e SOLR-11254: Add score-less (abstract) DocTransformer.transform method. 2017-08-23 16:36:14 +01:00
Noble Paul 0093015c54 SOLR-10954: Refactor code to standardize replica assignment 2017-06-30 16:09:52 +09:30
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
Cao Manh Dat 492eebc895 SOLR-10397: Hardness AutoAddReplicasPlanActionTest 2017-06-30 10:11:34 +07:00
Mikhail Khludnev 19a8be3c9f SOLR-11272: fix NPE from EmbeddedSolrServer on /admin/info/system 2017-06-30 01:18:33 +03:00
Andrzej Bialecki 946c6a95fa SOLR-11281: Improve failure message. 2017-08-23 13:15:36 +02:00
Noble Paul 1a614058ea SOLR-10136: unused imports 2017-08-23 20:42:11 +09:30
Andrzej Bialecki 7c8fbacae6 Release the correct server. 2017-08-23 00:07:43 +02:00
Andrzej Bialecki 9a72405f68 Make this test more robust by using our own MBeanServer. 2017-08-22 22:55:32 +02:00
Andrzej Bialecki a0dd76ae06 Make this test more robust to thread stalls. 2017-08-22 22:50:50 +02:00
Andrzej Bialecki 5d9b9d7a23 SOLR-11255: Use concurrent set for metric names. 2017-08-22 22:31:43 +02:00
Toke Eskildsen fa1198be73 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-08-22 15:16:48 +02:00
Noble Paul de6b38fe4c SOLR-10136: Re-enablinng it as I could not make it fail even after 200 iterations 2017-08-22 22:43:12 +09:30
Toke Eskildsen 85b89d15a8 SOLR-11240: Raise UnInvertedField internal limit 2017-08-22 15:12:38 +02:00
Jan Høydahl b67424ee58 SOLR-10628: Less verbose output from bin/solr commands 2017-08-22 12:50:53 +02:00
Cao Manh Dat 6a3cd2788b SOLR-5129: Renaming test class to ZkFailoverTest 2017-08-22 10:07:51 +07:00
Cao Manh Dat 04956b8a90 SOLR-11054: In SoftAutoCommitTest.testSoftAndHardCommitMaxDocs() all indexed docs must be searchable 2017-08-21 15:36:17 +07:00
Cao Manh Dat 9d8d3b0f29 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-08-21 15:30:29 +07:00
Cao Manh Dat 4aedb5039f SOLR-5129: Timeout property for waiting ZK get started 2017-08-21 15:30:08 +07:00
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
Cao Manh Dat b18cf30dd3 SOLR-10397: Implement AutoAddReplicasPlanAction 2017-06-29 10:26:48 +07:00
Shalin Shekhar Mangar 39b125166c SOLR-10496: Removed nocommit and added a simple description of the class 2017-06-29 05:31:29 +05:30
Shalin Shekhar Mangar 44e723159c SOLR-10496: Added an integration test for multiple operations 2017-06-29 04:50:25 +05:30
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
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 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
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 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
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 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
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
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