Commit Graph

11597 Commits

Author SHA1 Message Date
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
Alan Woodward 1f68a3375d Update versions 2018-03-12 09:26:14 +00:00
Joel Bernstein 13d1c4b466 SOLR-11947: Remove place holders for documentation that will not be complete for 7.3 2018-03-11 18:35:08 -04: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 2eeed51cdf SOLR-12077: Add support for autoAddReplicas in the collection creation dialog in Admin UI 2018-03-10 06:44:51 +05:30
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
Cassandra Targett b7b638e00b Ref Guide: fix rendering of _val_ param in function query example 2018-03-09 13:23:56 -06:00
Cao Manh Dat 4c2703e8be SOLR-12051: Update upgrade notes 2018-03-09 19:35:26 +07: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
Erick 7dfb04ee5e SOLR-12072: Invalid path string using ZkConfigManager.copyConfigDir(String fromConfig, String toConfig) 2018-03-08 22:00:16 -08: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
Cassandra Targett ab4cd42903 SOLR-12068: Remove unnecessary config from example 2018-03-08 12:09:14 -06:00
Cassandra Targett b20573d91e Ref Guide: really minor typos/grammar fixes 2018-03-08 12:03:42 -06:00
David Smiley 582c828727 SOLR-11722: Minor improvements to documentation in collections.Commands.json 2018-03-08 11:19:22 -05:00
Andrzej Bialecki b17052e852 SOLR-11670: Implement a periodic house-keeping task. 2018-03-08 14:31:40 +01:00
Shalin Shekhar Mangar 2bb6b98582 SOLR-11648: Ensure cluster-suggestions page resets menu so that collection and core list are displayed on page load 2018-03-08 17:33:16 +05:30
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
Tomas Fernandez Lobbe 277dd05086 SOLR-12061: Fix substitution bug in API V1 to V2 migration 2018-03-07 10:58:17 -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
Steve Rowe eab33d00a0 Synchronize 6.6.3 changes 2018-03-06 14:40:27 -05:00
Steve Rowe e5541bcfa1 Add version 6.6.3 2018-03-06 14:39:35 -05: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
Cassandra Targett be11f56bbc SOLR-11795: Add more explanation in places; rework headings a bit; fix CSS for better display of labeled list 2018-03-06 12:54:37 -06:00
Tomas Fernandez Lobbe 2ff27ca507 SOLR-12061: Comment out failing test 2018-03-06 10:14:58 -08:00
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
koji 122271f28d SOLR-11795: use README.txt rather than .md and add description for default values 2018-03-06 17:14:15 +09:00
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
Shalin Shekhar Mangar 2620d36bbd SOLR-11957: Update ref guide and bin/solr script with the new values 2018-03-05 15:53:45 +05:30
Shalin Shekhar Mangar fc8c239f93 SOLR-11957: Increase MaxFileSize=32MB and MaxBackupIndex=10 for RollingFileAppender in log4j.properties 2018-03-05 15:45:25 +05:30
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
koji 6d66fc04b2 SOLR-11795: Add Solr metrics exporter for Prometheus 2018-03-05 15:36:32 +09:00
Joel Bernstein dc5db9b2f1 SOLR-12054: ebeAdd and ebeSubtract should support matrix operations 2018-03-04 20:22:33 -05:00
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
Cassandra Targett b470a63690 Ref Guide: Fix link to Tika docs on lang detection; typo in autoscaling API path 2018-03-02 13:56:33 -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
Christine Poerschke c5938f79e5 SOLR-11597: Add contrib/ltr NeuralNetworkModel class.
(Michael A. Alcorn, Yuki Yano, Christine Poerschke)

Closes #270
2018-03-02 18:27:55 +00:00
Cassandra Targett c59e2e98d2 SOLR-11843: Fix Admin UI handling of router.field and router.name params; change routerField label to match param name 2018-03-02 11:42:43 -06:00
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
Steve Rowe 2289c27c94 Revert "Add version 6.6.3"
This reverts commit 373ed8cf74.
2018-03-01 13:29:10 -05:00
Steve Rowe 373ed8cf74 Add version 6.6.3 2018-03-01 08:15:58 -05: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
Cassandra Targett 57cfdb1a48 Ref Guide: fix line height changed in SOLR-11646 which inadvertently vertically stretched the left-hand nav;
adds a new CSS rule for tabbed sections on a page with the larger line height and changes back left-hand nav line height
2018-02-28 15:17:50 -06:00
Andrzej Bialecki b26d67e722 SOLR-11407: Explicitly create policy violations to force non-empty plan. 2018-02-28 21:29:32 +01:00
Dawid Weiss fa7a3ce3ee SOLR-12043: Add mlt.maxdfpct to Solr's documentation 2018-02-28 21:03:21 +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
Tomas Fernandez Lobbe 029432e936 SOLR-12041: Fix random test failure in ChaosMonkeyNothingIsSafeWithPullReplicasTest 2018-02-27 15:06:28 -08:00
Cassandra Targett 2a158c2ca5 Ref Guide: Copy editing changes committed for 7.3 & fixing typos 2018-02-27 16:05:13 -06:00
Shalin Shekhar Mangar d512cd7604 Fix camel case in method name 2018-02-27 16:16:39 +05:30
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
Mikhail Khludnev d3ef153b09 SOLR-12027: Increasing thread lingering to 80s
Sometimes Jetty can't stop for a minute. We need tests wait more than a minute in the worst case
to avoid test noise like ThreadLeakError: 1 thread leaked from SUITE scope.
2018-02-25 23:18:27 +03:00
Ishan Chattopadhyaya b212f2e9b7 SOLR-8327: Cluster state caching for nodes not hosting the collection 2018-02-25 11:54:33 +05:30
koji 4e198a2737 Revert "SOLR-11795: Add Solr metrics exporter for Prometheus"
This reverts commit 6859acc450.
2018-02-24 10:38:06 +09:00
Erick bd3f30b9a9 SOLR-12017: Remove BadApple and AwaitsFix annotations that link to closed JIRAs 2018-02-23 12:49:26 -08:00
Chris Hostetter 9e0e301f9f SOLR-12021: Fixed a bug in ApiSpec and other JSON resource loading that was causing unclosed file handles 2018-02-23 10:43:22 -07:00
Jason Gerlowski d2d987fd74 Fix ConcurrentUpdateSolrClient.Builder withQueueSize Javadocs 2018-02-22 13:56:37 -05: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
koji 6859acc450 SOLR-11795: Add Solr metrics exporter for Prometheus 2018-02-22 15:08:46 +09: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