6811 Commits

Author SHA1 Message Date
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 f0509c19c16ded1557f8d7168acb0b7faf926ab7.
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