Commit Graph

723 Commits

Author SHA1 Message Date
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
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
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
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 f7b8cc7be0 SOLR-8256: Fixing test failures when enable legacyCloud=false as default 2017-06-24 12:53:53 +07:00
Chris Hostetter 01b7e31566 SOLR-10938 @SuppressPointFields now requires bugUrl 2017-06-22 16:48:31 -07: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
Cao Manh Dat 8e9d685a40 SOLR-8256: Set legacyCloud=false as default 2017-06-21 22:25:39 +07:00
Noble Paul 92b17838a3 SOLR-10876: Regression in loading runtime UpdateRequestProcessors like TemplateUpdateProcessorFactory 2017-06-14 18:07:40 +09:30
Tomas Fernandez Lobbe 46a5ae23a7 SOLR-10233: Some more logging to chaos monkey with replica types tests 2017-06-06 16:40:09 -07:00
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
Chris Hostetter fb3d3f1c92 SOLR-10791: Remove deprecated options in SSLTestConfig 2017-06-01 10:50:58 -07:00
Chris Hostetter ee33f38bd1 SOLR-10757: delete/refactor/cleanup CollectionAdminRequest deprecations 2017-05-31 09:49:56 -07:00
Chris Hostetter bc973ecdcf SOLR-10755: delete/refactor many solrj deprecations 2017-05-26 19:04:31 -07: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
Tomas Fernandez Lobbe 2fc41d565a SOLR-10233: Add support for replica types 2017-05-22 19:58:51 -07:00
Cao Manh Dat cc8b5bab0b SOLR-10431: Make it possible to invoke v2 api calls using SolrJ 2017-05-11 09:06:03 +07:00
Andrzej Bialecki 3217fd7c3c SOLR-10262: Add support for configurable metrics implementations. 2017-05-09 13:47:39 +02:00
Erick Erickson e17b987734 SOLR-10493: Investigate SolrCloudExampleTest failures.
(cherry picked from commit 0247acd)
2017-04-24 12:22:11 -07:00
markrmiller bc6ff493b0 SOLR-9936: Allow configuration for recoveryExecutor thread pool size. 2017-04-14 01:33:19 -04:00
Erick Erickson 4cb00ccca4 SOLR-10007: Clean up references to CoreContainer and CoreDescriptors 2017-04-12 17:02:40 -07:00
Christine Poerschke 57c5837183 Removed two unused imports. 2017-04-11 20:11:12 +01:00
Andrzej Bialecki e30cc70fdd SOLR-9959: SolrInfoMBean-s category and hierarchy cleanup. 2017-04-11 19:22:23 +02:00
Mark Miller 0bf7a5ff33 SOLR-10338: Revert configure SecureRandom non blocking for tests. (reverted from commit 0445f8200e) 2017-04-03 22:00:08 -03:00
Erick Erickson 52632cfc0c SOLR-8906: Make transient core cache pluggable 2017-04-03 13:27:12 -07:00
markrmiller 0445f8200e SOLR-10338: Configure SecureRandom non blocking for tests. 2017-03-31 10:53:20 -04:00
Ishan Chattopadhyaya 6b0217b7cb SOLR-6736: Adding support for uploading zipped configsets using ConfigSets API 2017-03-29 00:44:27 +05:30
Adrien Grand 53064e46dd LUCENE-7754: Inner classes should be static whenever possible. 2017-03-28 15:35:04 +02:00
David Smiley 2502af9f3f SOLR-10286: large fields.
And refactored FieldType.checkSchemaField to call a new checkSupportsDocValues()
2017-03-16 14:58:59 -04:00
Cao Manh Dat 7830462d4b SOLR-9835: Create another replication mode for SolrCloud 2017-03-14 14:37:47 +07:00
Mark Miller e35881a63a SOLR-10248: Merge SolrTestCaseJ4's SolrIndexSearcher tracking into the ObjectReleaseTracker. 2017-03-08 11:44:23 -05:00
Cao Manh Dat 3131ec2d99 SOLR-9986: Implement DatePointField 2017-03-07 10:11:47 +07:00
Adrien Grand 8ed2b764ed LUCENE-6819: Remove index-time boosts. 2017-03-02 19:18:16 +01:00
Mikhail Khludnev 0baf2fa33c SOLR-10134: EmbeddedSolrServer handles SchemaAPI requests 2017-03-01 08:32:35 +03:00
Jan Høydahl 30125f99da Revert "SOLR-9640: Support PKI authentication and SSL in standalone-mode master/slave auth with local security.json"
This reverts commit 95d6fc2512.
2017-02-25 00:43:42 +01:00
Jan Høydahl 95d6fc2512 SOLR-9640: Support PKI authentication and SSL in standalone-mode master/slave auth with local security.json 2017-02-24 14:30:42 +01:00
markrmiller 29a5ea44a7 SOLR-10193: Improve MiniSolrCloudCluster#shutdown. 2017-02-22 15:58:12 -05:00
markrmiller 38a66f5452 tests: get leader to base clase 2017-02-22 09:57:30 -05:00
markrmiller b28dc3fe34 SOLR-9849: Use a very low value for solr.cloud.wait-for-updates-with-stale-state-pause in tests. 2017-02-22 09:52:51 -05:00
markrmiller fad963cf2f SOLR-10164: DistributedVersionInfoTest needs to be hardened. 2017-02-19 16:34:33 -05:00
markrmiller bb12b6c92b SOLR-10162: Uncaught exception can fail test due to race with closed socket. 2017-02-19 15:14:26 -05:00
yonik d49edabf89 SOLR-10114: test cleanup 2017-02-16 12:45:32 -05:00
yonik 99188ae00c SOLR-10114: add _version_ field to child documents, fix reordered-dbq to not drop child docs 2017-02-15 22:51:21 -05:00
Ishan Chattopadhyaya 9a1702a8f5 SOLR-8029: Reverting the previous commit and the merge 2017-02-15 07:13:28 +05:30
Noble Paul 325cbf0018 Revert "Merge remote-tracking branch 'origin/master'"
This reverts commit 26298f35df, reversing
changes made to 65c6c576b7.

undoing the merge commit
2017-02-14 17:32:14 -08:00
markrmiller a1f114f70f SOLR-10104: BlockDirectoryCache release hooks do not work with multiple directories.
# Conflicts:
#	solr/CHANGES.txt
2017-02-14 12:06:44 -05:00
Christine Poerschke 738da0998a LUCENE-7693: Replace "org.apache." logic in GetMavenDependenciesTask. (Daniel Collins, Christine Poerschke) 2017-02-14 14:27:44 +00:00
Tomas Fernandez Lobbe 7dcf9de41f SOLR-9987: Implement support for multi-valued DocValues in PointFields
CC SOLR-8396
2017-02-13 09:47:49 -08:00
markrmiller 2196663156 SOLR-10120: A SolrCore reload can remove the index from the previous SolrCore during replication index rollover.
SOLR-10124: Replication can skip removing a temporary index directory in some cases when it should not.
SOLR-10119: Harden TestReplicationHandler.
2017-02-11 17:08:42 -05:00
markrmiller 52b1ae33a1 SOLR-10064: The Nightly test HdfsCollectionsAPIDistributedZkTest appears to be too fragile. 2017-02-02 15:12:07 -05:00
Christine Poerschke c1d9b87d7d In SolrTestCaseJ4 javadocs replace reference to initTestHarness. 2017-02-01 19:06:32 +00:00
markrmiller 98a5a81378 SOLR-10024: If you use ExternalPaths#determineSourceHome with a custom tests.workDir, tests may not find the path. 2017-01-31 12:08:47 -05:00
Noble Paul 71abe13069 SOLR-8029: Added new style APIs and a framework for creating new APIs and mapping old APIs to new 2017-01-31 16:27:33 +10:30
Tomas Fernandez Lobbe 57934ba448 SOLR-8396: Add support for PointFields in Solr 2017-01-18 17:27:21 -08:00
Alan Woodward efc7ee0f0c SOLR-9906: Fix dodgy test check 2017-01-16 15:24:02 +00:00
Shalin Shekhar Mangar d2664b1004 SOLR-9948: Add a way to configure granularity of metrics for http connections 2017-01-12 13:00:00 +05:30
Chris Hostetter 1d7379b680 SOLR-9934: SolrTestCase.clearIndex has been improved to take advantage of low level test specific logic that clears the index metadata more completely then a normal *:* DBQ can due to update versioning 2017-01-09 09:54:56 -07:00
yonik 7ef6a81846 SOLR-9917: fix NPE in distrib percentiles when no values for field in bucket 2017-01-04 23:53:07 -05:00
Noble Paul d565238567 SOLR-9906: unused import 2017-01-03 20:38:28 +10:30
Noble Paul 3988532d26 SOLR-9906-Use better check to validate if node recovered via PeerSync or Replication 2017-01-03 17:52:08 +10:30
Christine Poerschke 6565a5cb2c Remove unusedPrivateMember in ChaosMonkey. 2016-12-21 20:48:25 +00:00
Christine Poerschke de0a046b21 SOLR-9758: refactor preferLocalShards implementation 2016-12-21 20:48:25 +00:00
Andrzej Bialecki 8bbdb6248c Squashed commit of branch 'feature/metrics', containing:
SOLR-4735: Improve Solr metrics reporting
    SOLR-9812: Implement /admin/metrics API
    SOLR-9805: Use metrics-jvm library to instrument jvm internals
    SOLR-9788: Use instrumented jetty classes
2016-12-20 09:31:24 +01:00
Ishan Chattopadhyaya a1a8b2864e SOLR-9513: Generic Hadoop authentication plugins, GenericHadoopAuthPlugin and ConfigurableInternodeAuthHadoopPlugin 2016-12-19 20:45:04 +05:30
yonik dcf202a958 SOLR-9873: tests - fix SolrTestCaseJ4.compareSolrDocument num fields comparison 2016-12-16 18:41:02 -05:00
yonik c9522a3936 SOLR-9712: block when maxWarmingSearchers is exceeded instead of throwing exception, default to 1, remove from most configs 2016-12-16 11:46:48 -05:00
Noble Paul 2ec9716520 SOLR-9784: deprecated uploadconfig 2016-11-26 12:53:32 +05:30
Tommaso Teofili 5ad741eef8 SOLR-8871 - various improvements to ClassificationURP 2016-11-24 23:43:57 +01:00
Noble Paul ef074a61f8 SOLR-9717: Refactor '/export' to not hardcode the JSON output and to use an API 2016-11-08 16:37:08 +05:30
David Smiley 2e21511cd3 SOLR-9621: Remove several Guava & Apache Commons calls in favor of java 8 alternatives. 2016-10-28 17:18:58 -04:00
Alan Woodward f56d111adf SOLR-9132: Cut over some collections API and recovery tests 2016-10-28 10:33:21 +01:00
yonik 53507b4e79 SOLR-9654: tests: fix overrequest test by fixing doc->shard mapping 2016-10-26 18:35:09 -04:00
Noble Paul 184b0f2215 SOLR-9506: cache IndexFingerprint for each segment 2016-10-24 16:45:42 +05:30
Noble Paul ffa5c4ba2c SOLR-9506: reverting the previous commit 2016-10-19 00:50:30 +05:30
Noble Paul bb907a2983 * SOLR-9506: cache IndexFingerprint for each segment 2016-10-18 19:43:32 +05:30
Alan Woodward b2188f4958 SOLR-9634: Remove deprecated methods 2016-10-18 12:34:18 +01:00
Alan Woodward 67f3f433e2 SOLR-9634: Deprecate create/deleteCollection methods on MiniSolrCloudCluster 2016-10-18 12:34:13 +01:00
Alan Woodward 20ea5355c9 SOLR-9632: Add deleteAllCollections method to MiniSolrCloudCluster 2016-10-18 12:33:52 +01:00
Alan Woodward f22b1da261 SOLR-9604,SOLR-9608: Ensure SSL connections are re-used
Fix ConnectionReuseTest. Add coverage for all SolrClients.
Remove explicit cacheKey for HttpRequestContext, make it singleton.
2016-10-09 08:06:09 +03:00
Alan Woodward 36b3b0884a Revert "SOLR-9604: Ensure SSL connections are re-used"
This reverts commit 0eb6b1c823, which was
causing test failures in ConnectionReuseTest - see SOLR-9608
2016-10-05 20:49:14 +01:00
Alan Woodward 0eb6b1c823 SOLR-9604: Ensure SSL connections are re-used 2016-10-05 15:36:16 +01:00
Alan Woodward a9dab0f25a SOLR-9132: Migrate some more tests 2016-10-04 10:32:47 +01:00
Mikhail Khludnev 67a9d3a44f SOLR-9554: adding a test for concurrent schema upgrade in cloud. 2016-10-02 18:24:33 +03:00
Alan Woodward be4233cb56 SOLR-9132: Cut over DeleteReplica tests
Also fixes some bugs in CollectionAdminRequest.DeleteReplica from SOLR-9319
2016-09-26 13:15:14 +01:00
Alan Woodward c809cd4f0a SOLR-9500: Add LogLevel annotation for test-specific logging changes 2016-09-26 09:14:49 +01:00
Shalin Shekhar Mangar 3eb0f7c792 SOLR-6090: Remove unreachable printLayout usage in cloud tests 2016-09-23 18:07:33 +05:30
Alan Woodward c55a14e198 SOLR-9544: Give ObjectReleaseTracker more time for async closing objects 2016-09-22 14:02:06 +01:00
Alan Woodward bd3fc7f43f Revert "SOLR-9512: CloudSolrClient tries other replicas if a cached leader is down"
This reverts commit 3d130097b7.
2016-09-20 14:35:53 +01:00
Alan Woodward 3d130097b7 SOLR-9512: CloudSolrClient tries other replicas if a cached leader is down 2016-09-19 15:29:43 +01:00
Alan Woodward d0d893e104 SOLR-9344: Move BasicAuthIntegrationTest to SolrCloudTestCase 2016-09-07 08:31:08 +01:00
Alan Woodward 89a91ec99d SOLR-9474: MiniSolrCloudCluster restarts jetties using different ports by default 2016-09-06 13:33:36 +01:00
Alan Woodward a79a8edbb4 SOLR-9469: Allow JettySolrRunner to restart using a different port 2016-09-06 13:33:36 +01:00
Alan Woodward 6390e22e74 SOLR-8961: Add a test-the-tests module for solr-test-framework 2016-09-06 13:33:36 +01:00
yonik 43ca5078bf SOLR-9432: JSON Facet refactoring to support refinement 2016-08-23 12:54:49 -04:00
Christine Poerschke 976079a8ee SOLR-9090: Add directUpdatesToLeadersOnly flag to solrj CloudSolrClient. (Marvin Justice, Christine Poerschke) 2016-07-07 10:03:21 +01:00
Erick 7743718d29 SOLR-9277: Clean up some more remnants of supporting old and new style solr.xml in tests 2016-07-06 19:51:06 -07:00
Shalin Shekhar Mangar 380c5a6b97 SOLR-9207: PeerSync recovery failes if number of updates requested is high. A new useRangeVersions config option is introduced (defaults to true) to send version ranges instead of individual versions for peer sync. 2016-07-07 02:32:45 +05:30