Commit Graph

6977 Commits

Author SHA1 Message Date
Tomas Fernandez Lobbe 2c1f110b6b SOLR-12172: Fixed race condition in collection properties 2018-04-02 15:56:25 -07:00
Joel Bernstein 269a676940 SOLR-12133: Fix precommit 2018-04-02 12:53:12 -04:00
Joel Bernstein d89a90067b SOLR-12174: Refactor Streaming Expression function registration 2018-04-02 12:32:31 -04:00
Shalin Shekhar Mangar 805438c59d SOLR-12133: Removing BadApple annotation 2018-04-02 21:20:40 +05:30
Shalin Shekhar Mangar 8189e4f972 SOLR-12133: Fix race conditions that caused NodeMarkersRegistrationTest.testNodeMarkersRegistration to fail 2018-04-02 21:15:09 +05:30
Mikhail Khludnev a4789db477 SOLR-7736: break OverseerTriggerThread when interrupted. 2018-04-01 18:37:18 +03:00
Mikhail Khludnev 7a920cb0f6 SOLR-11673: Slave doesn't commit empty index if new index appears on master by deafult. 2018-04-01 16:47:23 +03:00
Cao Manh Dat ab092942cf SOLR-12066: Move test to DeleteInactiveReplicaTest 2018-03-31 14:50:28 +07:00
Shalin Shekhar Mangar bd85fd389f SOLR-12169: Fix ComputePlanActionTest.testSelectedCollections fails on jenkins by aggressively cleaning up trigger state left by other test methods in the test setup 2018-03-30 22:56:58 +05:30
Shalin Shekhar Mangar e3c67b1980 SOLR-12169: Update jira number in BadApple annotation 2018-03-30 19:42:13 +05:30
Cao Manh Dat 35bfe89790 SOLR-12066: Cleanup deleted core when node start 2018-03-30 20:11:39 +07:00
Cao Manh Dat d483108a15 SOLR-12168: LIROnShardRestartTest failures 2018-03-30 19:54:18 +07:00
Shalin Shekhar Mangar 83cca5cd06 SOLR-12133: Fix failures in TriggerIntegrationTest.testEventQueue due to race conditions 2018-03-30 16:42:35 +05:30
Shalin Shekhar Mangar 0e5374e963 SOLR-12152: Extracted TriggerIntegrationTest.testEventFromRestoredState into its own test class 2018-03-30 12:41:18 +05:30
Shalin Shekhar Mangar 1aafc90cbe SOLR-12152: Fix compilation error due to missing import 2018-03-30 12:23:06 +05:30
Shalin Shekhar Mangar ac8cbaac06 SOLR-12152: Fix node count to 2 for TriggerSetPropertiesIntegrationTest 2018-03-30 12:19:13 +05:30
Shalin Shekhar Mangar ed9e5eb75b SOLR-12152: Split up TriggerIntegrationTest into multiple tests to isolate and increase reliability 2018-03-30 11:08:56 +05:30
Erick Erickson 23707314dd SOLR-12028: BadApple and AwaitsFix annotations usage 2018-03-29 21:41:03 -07:00
Erick Erickson e55b7e9911 SOLR-12162: CorePropertiesLocator Exception message contains a typo when unable to create Solr Core 2018-03-29 18:01:38 -07:00
Andrzej Bialecki 668b81721f SOLR-12145: ConcurrentModificationException in SimNodeStateProvider.getReplicaInfo. 2018-03-29 13:42:19 +02:00
Cao Manh Dat d7197b2565 SOLR-12087: Check for exception message of request recovery to remove LIR node 2018-03-29 18:38:07 +07:00
Dawid Weiss e96811c7a5 LUCENE-8228: removed obsolete IndexDeletionPolicy clone() requirements from the javadoc. 2018-03-29 08:58:28 +02:00
Andrzej Bialecki 7260d9ce71 SOLR-11882: SolrMetric registries retained references to SolrCores when closed. 2018-03-28 11:23:47 +02:00
Shalin Shekhar Mangar 3be8cfb356 SOLR-10734: Clone the original solr document each time we retry 2018-03-28 12:56:34 +05:30
Shalin Shekhar Mangar ab32506243 SOLR-10734: AtomicUpdateRequestProcessor can cause wrong/old values to be set under concurrent updates for the same document. Multithreaded test for AtomicUpdateRequestProcessor was also beefed up and fixed. 2018-03-28 12:40:57 +05:30
Tomas Fernandez Lobbe 3e29c7dbd5 SOLR-12035: edimax should include charfilters in nostopanalyzer
This closes #329
2018-03-27 21:37:19 -07:00
Tomas Fernandez Lobbe f8af274783 SOLR-12153: Remove Thread.sleep from ZkSolrClientTest.testMultipleWatchesAsync 2018-03-27 20:21:02 -07:00
Shalin Shekhar Mangar 89e337ed3d SOLR-10734: Marking test with BadApple once again until the new failures can be fixed 2018-03-27 19:53:07 +05:30
Shalin Shekhar Mangar 64c110c58d SOLR-10734: Fix Multithreaded test/support for AtomicURP 2018-03-27 15:05:23 +05:30
Cao Manh Dat 160faaf594 SOLR-12146: LIR should skip deleted replicas 2018-03-27 15:55:43 +07:00
Shalin Shekhar Mangar ecb94ba442 SOLR-7736: Fix ZkController.publishAndWaitForDownStates 2018-03-27 10:28:34 +05:30
Varun Thacker bea6e2307b SOLR-7887: Log4J2 upgrade fixes 2018-03-26 11:32:03 -07:00
Shalin Shekhar Mangar b0f677c383 SOLR-12087: Fixed bug in TimeOut.waitFor that can cause an infinite loop and added javadocs 2018-03-26 16:58:56 +05:30
Erick Erickson 624d128b5e SOLR-7887: Upgrade Solr to use log4j2 -- log4j 1 now officially end of life 2018-03-25 19:16:09 -07:00
Jason Gerlowski c4abbfd5f7 SOLR-11551: Standardize CoreAdmin API status codes 2018-03-24 10:48:15 -04:00
Noble Paul e364f5be31 SOLR-12015: fixed typo in CHANGES.txt 2018-03-23 13:52:25 +11:00
Noble Paul e340cef68d SOLR-12015: Add support "add-distinct" in AtomicURP so that we can use the 'add-distict' as a request parameter e.g: atomic.add-distict=<multival-field-name> 2018-03-23 13:48:28 +11:00
Cao Manh Dat 92f1cdebfa SOLR-12087: Deleting replicas sometimes fails and causes the replicas to exist in the down state 2018-03-22 16:11:47 +07:00
David Smiley 8e87a3e336 Remove obsolete comment 2018-03-21 11:41:36 -04:00
Cao Manh Dat d2ef38d784 SOLR-12110: Remove debug log for test 2018-03-21 11:25:53 +07:00
Cao Manh Dat 63a145aa7b SOLR-12129: After the core is reloaded, term of the core will not be watched 2018-03-21 09:35:51 +07:00
Chris Hostetter 8bd7e5c9d2 SOLR-11891: DocStreamer now respects the ReturnFields when populating a SolrDocument
This is an optimization that reduces the number of unneccessary fields a ResponseWriter will see if documentCache is used

This commit also includes fixes for SOLR-12107 & SOLR-12108 -- two bugs that were previously dependent on the
un-optimized behavior of DocStreamer in order to function properly.

- SOLR-12107: Fixed a error in [child] transformer that could ocur if documentCache was not used
- SOLR-12108: Fixed the fallback behavior of [raw] and [xml] transformers when an incompatble 'wt' was specified,
  the field value was lost if documentCache was not used.
2018-03-19 12:28:54 -07:00
Andrzej Bialecki ed2d358330 SOLR-11670: Make sure defaults are applied in simulated cluster. 2018-03-19 15:16:50 +01:00
Andrzej Bialecki 9980f05ac3 SOLR-11911: Check for thread interrupted and stop looping. 2018-03-19 14:52:18 +01:00
Erick Erickson c48177b4b6 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-03-17 19:25:18 -07:00
David Smiley 4b08efcf1c SOLR-11731: LatLonPointSpatialField now supports docValue retrieval
Closes #323
2018-03-17 12:21:53 -04:00
Cao Manh Dat be8dca3c7b SOLR-12110: Replica which failed to register in Zk can become leader 2018-03-17 06:54:55 +07:00
Varun Thacker c4d0223ad4 SOLR-12083: Fix PeerSync, Leader Election failures and CDCR checkpoint inconsistencies on a cluster running CDCR 2018-03-16 14:03:48 -07:00
markrmiller 7330010e1d SOLR-12103: Raise CryptoKeys.DEFAULT_KEYPAIR_LENGTH from 1024 to 2048. 2018-03-16 11:50:52 -05:00
Andrzej Bialecki 0dfe19880c SOLR-12091: Rename TimeSource.getTime to getTimeNs. 2018-03-15 16:54:41 +01:00
Ishan Chattopadhyaya fbdf7fa736 SOLR-11920: Differential file copy for IndexFetcher 2018-03-15 19:31:15 +05:30
Shalin Shekhar Mangar dab739ae4c SOLR-11702: Minor edits to log and exception messages 2018-03-15 16:58:59 +05:30
Shalin Shekhar Mangar cb453ce110 SOLR-12078: Fixed reproducable Failure in TestReplicationHandler.doTestIndexFetchOnMasterRestart that happened due to using stale http connections 2018-03-15 02:22:25 +05:30
Varun Thacker 57524f1d41 SOLR-12083: Fix RealTime GET to work on a cluster running CDCR when using Solr's in-place updates 2018-03-14 12:58:30 -07:00
Andrzej Bialecki 5e02c18769 SOLR-11911: Wait a while for left-behind threads from executors. 2018-03-14 14:27:51 +01:00
Shalin Shekhar Mangar 941351a5c2 SOLR-12090: Move DistribStateManager, NodeStateProvider and SolrCloudManager interfaces out of the autoscaling package 2018-03-14 16:29:56 +05:30
Shalin Shekhar Mangar 9de0ebe797 SOLR-12086: Fix format problem in FastLRUCache description string shown on Cache Statistics page 2018-03-14 10:26:45 +05:30
Andrzej Bialecki b6fcf4157b SOLR-12070: Make sure searcher beans are registered. 2018-03-13 16:00:27 +01:00
Andrzej Bialecki ed6feded6d SOLR-11670: Use TimeSource's value of NOW consistently when parsing date math.
Add a unit test for TimeSource's epochTime.
2018-03-13 13:47:14 +01:00
Shalin Shekhar Mangar 536e16d3af SOLR-12067: Fix AutoAddReplicasIntegrationTest by using solr.xml which has autoReplicaFailoverWaitAfterExpiration set to 10 seconds 2018-03-13 18:15:21 +05:30
Cao Manh Dat 0cd9f7f35a SOLR-12028: Remove BadApples for ZkShardTermsTest.testParticipationOfReplicas 2018-03-13 10:32:10 +07:00
yonik 68d8eb4504 SOLR-12064: resize reused accs to fix bugs with limit:-1 and missing:true 2018-03-12 21:56:02 -04:00
Andrzej Bialecki b82ce515f0 Fix precommit (stray import). 2018-03-12 20:00:13 +01:00
Varun Thacker 2a0b7767ab SOLR-12076: Remove unnecessary printLayout usage in CDCR tests 2018-03-12 11:07:39 -07:00
Andrzej Bialecki 28ddb5f355 Remove BadApple from this test for now - the bugUrl wasn't valid anymore and
the test seems to pass.
2018-03-12 16:36:46 +01:00
David Smiley bf6503ba58 SOLR-11617: rename alias metadata to properties 2018-03-12 10:36:37 -04:00
Andrzej Bialecki 55ba89ef42 SOLR-12070: Fix testJmxIntegration that used obsolete APIs. 2018-03-12 14:28:10 +01:00
Cao Manh Dat a9fd0754ba SOLR-12028: Remove BadApples for LIRRollingUpdatesTest 2018-03-12 17:39:36 +07:00
Mikhail Khludnev 8f1350af20 SOLR-11673: specifying exact ticket in @BadApple 2018-03-11 11:00:55 +03:00
Mikhail Khludnev fa55f0c2f2 SOLR-9510: introducting {!filter param=$fq excludeTags=t,q}foo:bar, also adding
filters and excludeTags local params into {!parent} and {!child}
2018-03-11 08:25:05 +03:00
Cao Manh Dat e926f435d7 SOLR-11702: Remove noise of exception messages on failed to ping leader 2018-03-11 07:05:46 +07:00
Erick Erickson f1f929b15a SOLR-12028: BadApple and AwaitsFix annotations usage 2018-03-10 10:58:15 -08:00
Jason Gerlowski 971bd26df6 SOLR-11629: Add new CloudSolrClient.Builder ctors
CloudSolrClient.Builder can be pointed at a Solr cluster in two ways: a
ZK connection string, or one or more Solr base URLs.  One of these two
values must be provided to create a working CloudSolrClient.

Since these values are required, this commit introduces two new ctors,
one for each means of CloudSolrClient setup.  It deprecates the existing
no-arg CloudSolrClient ctor.

Together, these changes make it clearer to our users that these options
are required (and mutually exclusive).
2018-03-10 10:45:43 -05:00
Shalin Shekhar Mangar e47bf8b63a SOLR-12011: Remove unused imports 2018-03-10 06:23:29 +05:30
Shalin Shekhar Mangar f0d46ead45 SOLR-12067: Increase autoAddReplicas default 30 second wait time to 120 seconds 2018-03-10 05:59:16 +05:30
Cao Manh Dat 05d4a9320c SOLR-12051: Adding error log in case of data loss 2018-03-10 07:20:05 +07:00
Andrzej Bialecki 78097d2098 SOLR-12075: BadApple TestLargeCluster until the issues can be resolved. 2018-03-09 21:25:37 +01:00
Cao Manh Dat 423a8cf69c SOLR-12051: Election timeout when no replicas are qualified to become leader 2018-03-09 18:19:09 +07:00
Cao Manh Dat dae572819b SOLR-11702: Fix precommit, only throw error to client if the replica is not in the same shard as leader 2018-03-09 10:34:59 +07:00
David Smiley 588e19eda1 SOLR-11976: TokenizerChain.normalize was only considering the first MultiTermAwareComponent 2018-03-08 22:30:39 -05:00
Andrzej Bialecki b17052e852 SOLR-11670: Implement a periodic house-keeping task. 2018-03-08 14:31:40 +01:00
David Smiley ee1c742c19 SOLR-11722: Merge CREATEDROUTEDALIAS command into CREATEALIAS. Only
an API & docs change; the implementation was already there.
2018-03-07 15:16:02 -05:00
Tomas Fernandez Lobbe 23765a9ff9 SOLR-12028, SOLR-7736: testPublishAndWaitForDownStates always fails 2018-03-07 11:04:14 -08:00
Shalin Shekhar Mangar 498927d032 SOLR-11066: Use timeZone.toZoneId instead of ZoneId.of(timeZoneString) because the latter cannot lookup short aliases 2018-03-07 17:22:36 +05:30
Shalin Shekhar Mangar 1b8651db4f SOLR-12011: Remove unused import 2018-03-07 11:23:56 +05:30
Cao Manh Dat 3c153ccd0e SOLR-12011: FORCELEADER should also remove recovering flag of a replica so it can win the election 2018-03-07 09:09:52 +07:00
Shalin Shekhar Mangar 8b9a1adbae SOLR-11066: Renamed the internal ScheduledTriggers.ScheduledTrigger inner class to TriggerWrapper to avoid confusion with the ScheduledTrigger added in this issue 2018-03-07 00:26:03 +05:30
Shalin Shekhar Mangar 9cec2221a6 SOLR-11066: Added examples of startTime in ref guide. Added null check for processor and code comments to explain skipped events and lastRunAt initialization. Moved default preferredOp value to ComputePlanAction. Extracted a constant. 2018-03-06 21:27:05 +05:30
Cao Manh Dat 4bdc99a465 SOLR-12047: Increase checkStateInZk timeout 2018-03-06 08:51:38 +07:00
Tomas Fernandez Lobbe c1a44251fe SOLR-11960: Add collection-level properties
Similar to cluster properties, but apply to a single collection.
2018-03-05 16:59:56 -08:00
Tomas Fernandez Lobbe c4c391ad15 SOLR-12020: Remove unused import 2018-03-05 16:56:33 -08:00
yonik fc2fd1dc25 SOLR-12020: fix refinement of terms facet on date field (don't use Date.toString) 2018-03-05 11:03:48 -05:00
Noble Paul 50a04c077f SOLR-11267: Add support for "add-distinct" atomic update operation 2018-03-05 21:37:10 +11:00
Cao Manh Dat 27eb6ba062 SOLR-12011: Remove FORCEPREPAREFORLEADERSHIP 2018-03-05 16:33:45 +07:00
Shalin Shekhar Mangar 3344306473 SOLR-11066: Fix TriggerIntegrationTest.testScheduledTrigger by ensuring number of jetties is always 2 before start of test 2018-03-05 14:27:10 +05:30
Cao Manh Dat 9de4225e9a SOLR-12011: Consistence problem when in-sync replicas are DOWN 2018-03-04 12:57:05 +07:00
Erick ad7e94afb2 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-03-03 21:42:14 -08:00
Shalin Shekhar Mangar 78f11d05ac SOLR-11066: Marking the test as AwaitsFix until the test failures on jenkins are investigated and fixed 2018-03-04 00:27:16 +05:30
Mark Miller 18edca0fb2 SOLR-12053: RestartWhileUpdatingTest and HdfsRestartWhileUpdatingTest are incredibly slow. 2018-03-03 10:09:09 -06:00
Shalin Shekhar Mangar 71fc9cd43d SOLR-11066: Implement a scheduled autoscaling trigger that runs on a fixed interval beginning with a given start time 2018-03-03 01:06:21 +05:30
Cao Manh Dat f1ce5419ee SOLR-11702: Remove old LIR call in SolrCmdDistributor and let DistributedUpdateProcessor handle it on finish() 2018-03-02 14:29:18 +07:00
noble 23aee00213 SOLR-12031: Refactor Policy framework to make simulated changes affect more than a single node
SOLR-12050: UTILIZENODE does not enforce policy rules
2018-03-02 17:01:22 +11:00
Chris Hostetter 0424d9c06b SOLR-12050: mark TestUtilizeNode as AwaitsFix as well as adding additional logging/assertions to help see what the bug is 2018-03-01 17:06:26 -07:00
Erick Erickson b732f06775 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-03-01 11:58:58 -08:00
Chris Hostetter 60984536b0 fix leaked SolrClient in SSLMigrationTest
this doesn't garuntee that this test will pass, but it eliminates the garuntee that it will fail
2018-02-28 15:26:39 -07:00
Andrzej Bialecki b26d67e722 SOLR-11407: Explicitly create policy violations to force non-empty plan. 2018-02-28 21:29:32 +01:00
David Smiley ef989124f3 SOLR-11769: optimize useFilterForSortedQuery=true when no filter queries 2018-02-28 12:38:20 -05:00
Andrzej Bialecki 1485b7a4d7 SOLR-12031: Fix a confusion in index size units in the simulator framework. 2018-02-28 13:18:27 +01:00
Andrzej Bialecki eb80ca968e SOLR-11407: Wait for collections to recover before starting the test. 2018-02-28 13:12:51 +01:00
Erick Erickson 1fe45606b9 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-02-26 20:35:12 -08:00
noble 1fc3ca0cbb SOLR-11067: AwaitsFix. The test fails often as the target node some times is same as the source node 2018-02-27 11:00:04 +11:00
Chris Hostetter 8760e3225f SOLR-11067: improve tests logging 2018-02-26 16:37:24 -07:00
Joel Bernstein 50c17b92bd SOLR-11923: Add bicubicSpline Stream Evaluator 2018-02-26 15:18:11 -05:00
Shalin Shekhar Mangar e08eac421a SOLR-11201: Fix bad assumptions made in testMetricTrigger 2018-02-26 22:22:02 +05:30
Andrzej Bialecki a2eb7f3880 SOLR-11407: Use all details of the query response in the handler response.
More consistency in debug info from the test.
2018-02-26 13:56:55 +01:00
Andrzej Bialecki 86be873915 SOLR-11911: Add more details to failure logs, modify the test to create a single event
that contains all affected nodes.
2018-02-26 10:56:22 +01:00
Erick Erickson 6164643882 SOLR-10809: Get precommit lint warnings out of Solr core 2018-02-25 22:13:47 -08:00
Shalin Shekhar Mangar 6f2d99e574 SOLR-10720: Aggressive removal of a collection breaks cluster status API 2018-02-26 11:22:38 +05:30
Ishan Chattopadhyaya b212f2e9b7 SOLR-8327: Cluster state caching for nodes not hosting the collection 2018-02-25 11:54:33 +05:30
Erick bd3f30b9a9 SOLR-12017: Remove BadApple and AwaitsFix annotations that link to closed JIRAs 2018-02-23 12:49:26 -08:00
Andrzej Bialecki 364b680afa SOLR-11407: Increase the imbalance of the cluster to increase the pressure to
relocate replicas - in some test runs the policy decided not to move any replicas.
2018-02-22 17:43:50 +01:00
Shalin Shekhar Mangar 4446545de6 Revert "SOLR-11066: Implement a scheduled autoscaling trigger that runs on a fixed interval beginning with a given start time"
This reverts commit 137e647
2018-02-22 20:02:35 +05:30
Jason Gerlowski 7a17f5a36f SOLR-11525: Add cloud/standalone check to 'AssertTool'
The 'bin/solr assert' tool provides the capability to programmatically
test basic assertions about a running Solr instance.  Is it running on
a particular host or port?  Is it running as a specified user?  etc.

This commit adds a new type of check: the mode Solr is running in
(standalone vs. cloud).
2018-02-22 06:44:37 -05:00
Shalin Shekhar Mangar 137e647f2c SOLR-11066: Implement a scheduled autoscaling trigger that runs on a fixed interval beginning with a given start time 2018-02-22 09:59:23 +05:30
Andrzej Bialecki 82a9984071 SOLR-11912: Clean up left-over collections and defaults between tests. 2018-02-21 17:36:38 +01:00
Varun Thacker a9f0272380 SOLR-12006: Add a '*_t' and '*_t_sort' dynamic field for single valued text fields 2018-02-20 17:31:00 -08:00
Andrzej Bialecki 26e7af1015 SOLR-11407: Make sure that the .system collection is not affected by cluster changes.
Wait specifically for listeners to run.
2018-02-20 20:15:32 +01:00
Joel Bernstein e746d7a001 SOLR-11588: Add matrixMult Stream Evaluator to support matrix multiplication 2018-02-19 19:27:25 -05:00
Jason Gerlowski b4f8cd7ea6 SOLR-11108: Shorten/improve _default-configset msg
The bin/solr scripts print a warning message when a user creates a
collection that makes use of the default config (which has settings
not recommended for production).

While helpful, this warning was a little too noisy.  It also suggested
users resolve the issue with a provided curl command, but bin/solr is
also capable of performing the same action.

This commit cleans up the error message a bit.
2018-02-17 19:08:26 -05:00
Joel Bernstein 6c0f9ac8c7 SOLR-11689: Add l1norm, l2norm and linfnorm Stream Evaluators 2018-02-16 19:07:37 -05:00
Chris Hostetter ee51b658ec SOLR-11988: Fix exists() method in EphemeralDirectoryFactory/MockDirectoryFactory to prevent false positives 2018-02-16 11:28:09 -07:00
Andrzej Bialecki 32f3570f08 SOLR-11912: Fix precommit. 2018-02-16 19:11:41 +01:00
Andrzej Bialecki 26a037636d SOLR-11912: Improve TriggerIntegrationTest to avoid side-effects between tests (spurious autoscaling events).
Add a convenience method to DistribStateManager to remove data recursively.
2018-02-16 11:28:57 +01:00
Tomas Fernandez Lobbe 250e5b2aba SOLR-11739: Remove cast no longer needed 2018-02-15 16:22:28 -08:00
Tomas Fernandez Lobbe 61ea8f60b1 SOLR-11739: Don't accept duplicate async IDs in collection API operations 2018-02-15 16:14:16 -08:00
Adrien Grand 4fb7e3d02c LUCENE-8135: Implement block-max WAND. 2018-02-15 15:13:58 +01:00
Adrien Grand 890e8a51f8 LUCENE-8134: Index options are no longer automatically downgraded. 2018-02-15 15:13:58 +01:00
Andrzej Bialecki 0231d5cdba SOLR-11899 Fix a race condition when testing removal of ephemeral nodes. 2018-02-13 17:58:45 +01:00
Jason Gerlowski 9040307787 SOLR-11950: Parse CLUSTERSTATUS 'shard' param as comma-delim list
The documentation for the 'shard' parameter on CLUSTERSTATUS requests,
indicates that users should be able to provide a comma-separated list
of shards they are interested in.  However, prior to this commit the
parameter value was parsed as a single shard name, causing requests
with more than one shard to return as a 400.

This commit changes this behavior to correctly parse the param value.
2018-02-13 06:54:39 -05:00
Adrien Grand 899966b481 LUCENE-8152: Consistently use advanceExact over advance. 2018-02-13 10:40:46 +01:00
Dawid Weiss 8b3ae1be6a Typo corrected. 2018-02-13 08:51:49 +01:00
Erick Erickson b5bf3b9c38 SOLR-11898: ConcurrentModificationException when calling org.apache.solr.core.SolrInfoBean.getMetricsSnapshot 2018-02-12 19:35:11 -08:00
Chris Hostetter 034677d5ca SOLR-11978: use new SortableTextField in _default and sample_techproducts_configs configsets 2018-02-12 15:14:44 -07:00
Adrien Grand b3ea634d7d SOLR-11974: Disable test. 2018-02-12 20:32:58 +01:00
Christine Poerschke af5acc898e LUCENE-8167: fix some incompleteEnumSwitch warnings in solr/core 2018-02-12 17:43:28 +00:00
Uwe Schindler 3019913c85 SOLR-10338: Remove test class / command line program that was only used during development 2018-02-12 17:26:06 +01:00
Adrien Grand aa157f1833 LUCENE-8152: Improve consumption of doc-value iterators. 2018-02-12 14:49:49 +01:00
Ishan Chattopadhyaya 1a4627d385 SOLR-10261: Failure in replica didn't cause LIR; now it does 2018-02-10 21:38:54 +05:30
Ishan Chattopadhyaya 1f3d971a75 SOLR-3089: RequestBuilder now exposes isDistrib() method 2018-02-10 19:48:11 +05:30
Christine Poerschke b6f683d30b SOLR-11349: Remove deprecated ResponseBuilder.getQueryCommand() method. 2018-02-09 16:50:34 +00:00
Christine Poerschke d39751a754 SOLR-11349: Rename ResponseBuilder's getQueryCommand to createQueryCommand. 2018-02-09 16:50:28 +00:00
David Smiley 5a26381424 SOLR-11722: Rename max-future-ms to maxFutureMs 2018-02-09 11:24:58 -05:00
David Smiley 1527ce57d4 SOLR-11925: Rename RoutedAliasCreateCollectionCmd as MaintainRoutedAliasCmd (internal Cmd) 2018-02-08 23:16:12 -05:00
David Smiley 02b5172ea2 SOLR-11925: Time Routed Aliases: router.autoDeleteAge feature 2018-02-08 23:12:09 -05:00
Mikhail Khludnev c508068240 SOLR-11459: Fix in-place nonexistent doc update following existing doc update 2018-02-06 20:00:29 +03:00
David Smiley 812d400807 SOLR-11722 SOLR-11617: Alias tests: Ensure zkStateReader's view is up to date before acting 2018-02-05 23:45:47 -05:00
Andrzej Bialecki 8d27412e5a SOLR-11778 Add per-stage RequestHandler metrics. 2018-02-02 13:02:43 +01:00
Chris Hostetter 95122e1448 SOLR-11916: new SortableTextField which supports analysis/searching just like TextField, but also sorting/faceting just like StrField 2018-02-01 10:40:29 -07:00
Andrzej Bialecki 8418081c4a Revert "SOLR-11882: SolrMetric registries retain references to SolrCores when closed"
This reverts commit f0509c19c1.
2018-02-01 18:14:13 +01:00
David Smiley f0854ce11f SOLR-11722: Dial down threads in ConcurrentCreateRoutedAliasTest 2018-02-01 12:06:53 -05:00
Adrien Grand f410df8113 LUCENE-4198: Give codecs the opportunity to index impacts. 2018-01-31 14:54:52 +01:00
Noble Paul 3ad61d2f9c SOLR-11067: REPLACENODE should identify appropriate nodes if targetNode is not provided 2018-01-31 21:49:02 +11:00
Tomas Fernandez Lobbe b310514bec SOLR-11782: Use await(millis, TimeUnit.MILLIS) in LatchWatcher.await 2018-01-30 14:28:27 -08:00
Christine Poerschke abf3d11332 SOLR-11480: Remove unused "Admin Extra" files and mentions. (Eric Pugh, Christine Poerschke) 2018-01-30 12:39:44 +00:00
Christine Poerschke a296092341 SOLR-11926: correct/extend TermsComponentTest.testUnlimitedRows logic 2018-01-30 12:33:04 +00:00
Noble Paul e2a5d46b9c SOLR-11879: moved the peek() call inside the for loop 2018-01-30 18:25:48 +11:00
Cao Manh Dat c56d774eb6 SOLR-11661: New HDFS collection reuses unremoved data from a deleted HDFS collection with same name causes inconsistent view of documents 2018-01-30 11:30:24 +07:00
markrmiller 13773755b8 SOLR-11873: Use time based expiration cache in all necessary places in HdfsDirectoryFactory. 2018-01-29 11:00:53 -06:00
Andrzej Bialecki d3d7b0034d SOLR-11376: Support computing plans for only specific collections. 2018-01-29 12:16:16 +01:00
Noble Paul 586aa65110 SOLR-11879: avoid EOFException when content is send without a payload 2018-01-29 21:42:40 +11:00
Cao Manh Dat 27ef653064 SOLR-11702: Redesign current LIR implementation 2018-01-29 15:55:28 +07:00
David Smiley 00d453d27c SOLR-11617: Fix test: delete aliases without async in tearDown 2018-01-28 22:48:13 -05:00
Erick d85a1666a1 SOLR-11882: SolrMetric registries retain references to SolrCores when closed 2018-01-28 19:42:58 -08:00
David Smiley 154bdeb7db SOLR-11617: Alias metadata API; returned from LISTALIASES, set via MODIFYALIAS 2018-01-28 16:56:19 -05:00
Tomas Fernandez Lobbe 56f3f6d948 SOLR-11782: Refactor LatchWatcher.await to protect against spurious wakeup 2018-01-26 10:36:12 -08:00
David Smiley b0d244f656 SOLR-11722: Refactor out a TimeRoutedAlias class from various parts.
Also allowed TRA's to be tolerant of pre-existing collections.
2018-01-26 11:37:00 -05:00
David Smiley a1828a5664 SOLR-11722: New CREATEROUTEDALIAS cluster command for time routed aliases.
(a refactoring of some of the related parts will follow in next commit)
2018-01-25 14:45:49 -05:00
David Smiley d8e9ab8785 SOLR-11722: Improve the v2/v1 API mapping, including a bug.
Wrapped getParameterNamesIterator failed to consider attrToParams.
(committing this separately from rest)
2018-01-25 14:23:44 -05:00
Shalin Shekhar Mangar 09f903ef8d SOLR-11714: Remove todo now that this issue has been fixed 2018-01-25 22:12:15 +05:30
Varun Thacker 78815c442b Add more javadocs to the UpdateLog class 2018-01-24 11:45:46 -08:00
Andrzej Bialecki 19474d9df9 SOLR-11889: Reset disk space when deleting collections. Use constants. 2018-01-24 18:41:53 +01:00
Christine Poerschke 1d5381511c Remove @SuppressPointFields annotation from DistributedTermsComponentTest, SOLR-11173 added TermsComponent support for Points fields. 2018-01-24 15:12:52 +00:00
Andrzej Bialecki fa511a0a6f SOLR-11714: AddReplicaSuggester / ComputePlanAction infinite loop. 2018-01-24 14:02:55 +01:00
Erick f0509c19c1 SOLR-11882: SolrMetric registries retain references to SolrCores when closed 2018-01-23 17:39:02 -08:00
Joel Bernstein a664b63d42 SOLR-11890: Add multiKmeans Stream Evaluator 2018-01-23 15:54:37 -05:00
Joel Bernstein 50a6cb1b05 SOLR-11862: Add fuzzyKmeans Stream Evaluatory 2018-01-23 12:29:31 -05:00
Ishan Chattopadhyaya 183835ed24 SOLR-11624: Autocreated configsets will not use .AUTOCREATED suffix 2018-01-22 19:48:41 +05:30
Shalin Shekhar Mangar 5425353402 SOLR-11747: Pause triggers until actions finish executing and the cool down period expires 2018-01-18 18:19:24 +05:30
Joel Bernstein f491fad955 SOLR-11867: Add indexOf, rowCount and columnCount StreamEvaluators 2018-01-17 15:43:05 -05:00
Joel Bernstein 5e2ef5eb73 SOLR-11736: Rename knn Streaming Expression to knnSearch and add new knn Stream Evaluator 2018-01-16 19:20:39 -05:00
Erick Erickson a6b5c5bfb0 SOLR-11810: Upgrade Jetty to 9.4.8 2018-01-16 12:14:03 -08:00
Varun Thacker a3c4f7388c SOLR-11817: Move Collections API classes to it's own package 2018-01-16 11:03:40 -08:00
Chris Hostetter e2bba98dfd SOLR-11854: multivalued primative fields can now be sorted by implicitly choosing the min/max value for asc/desc sort orders 2018-01-16 11:57:44 -07:00
Tomas Fernandez Lobbe 1c4b417c50 SOLR-11794: Restart replicate from ledaer on core reload on PULL replicas 2018-01-15 16:15:14 -08:00
Joel Bernstein a08f71279c SOLR-11737: Add kmeans Stream Evaluator to support kmeans clustering 2018-01-15 14:50:34 -05:00
Chris Hostetter 6dcbb2d412 SOLR-3218: Added range faceting support for CurrencyFieldType 2018-01-14 16:30:24 -07:00
Erick Erickson c110472eaa SOLR-11389: Fix test failures resulting from SOLR-11218 2018-01-13 11:16:51 -08:00
Adrien Grand fa935cf6ac SOLR-11846: Force BM25Similarity on TestFieldCacheSort.testFieldScoreReverse.
This test expects scores to increase with freq, which not all similarities guarantee.
2018-01-11 20:08:14 +01:00
Steve Rowe 077e8b1da4 SOLR-11825: stop testing randomized dates with function query sorting 2018-01-09 21:04:21 -05:00
Erick Erickson 4471c1b77c SOLR-11218: Fail and return an error when attempting to delete a collection that's part of an alias 2018-01-09 17:27:12 -08:00