Commit Graph

30626 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar 1c0f95ee04 SOLR-12130: CdcrReplicationDistributedZkTest is broken into two test classes, CdcrOpsAndBoundariesTest which does not require node restarts and CdcrWithNodesRestartsTest which does. The tests themselves are made faster and more resilient to spurious failures 2018-08-20 14:49:13 +05:30
Shalin Shekhar Mangar 079a81f14f SOLR-12675: Make LeaderVoteWaitTimeoutTest more resilient against side effects of test methods.
Extracted a new method to ensure a given number of jettys are always running in the test setup. Also, delete all collections created by other test methods.
2018-08-20 14:45:50 +05:30
Shalin Shekhar Mangar 3c9050c3dd SOLR-12679: MiniSolrCloudCluster.startJettySolrRunner method should not add a duplicate jetty instance to the list 2018-08-20 14:24:31 +05:30
Shalin Shekhar Mangar 20d0f67edd SOLR-12680: Fix ClassCastException and AIOOBE in TestSolrConfigHandlerConcurrent 2018-08-20 13:25:56 +05:30
Shalin Shekhar Mangar ee498f5a38 SOLR-12679: MiniSolrCloudCluster.stopJettySolrRunner should remove jetty from the internal list
While the startJettySolrRunner adds the given jetty instance to the internal list of jetty instances, the stopJettySolrRunner method does not remove the given instance from the list. This leads to inconsistencies such as stopped jettys retained in the internal list and duplicate (stopped) jettys. This commit also fixes TestCollectionsAPIViaSolrCloudCluster to deal with this change.
2018-08-20 13:17:05 +05:30
Varun Thacker 3e4545219e SOLR-12674: RollupStream should not use the HashQueryParser for 1 worker 2018-08-19 11:59:38 -07:00
iverase d6e1d4a4ba LUCENE-8457: turn off more debugging output for test 2018-08-18 18:33:26 +02:00
Karl Wright d8ba1b1661 LUCENE-8457: turn off debugging output for test 2018-08-18 10:53:30 -04:00
Karl Wright 30f64d778a LUCENE-8457: Use backing planes for all potentially narrow GeoBBox shapes. 2018-08-18 10:44:59 -04:00
Erick Erickson 9f615fbae7 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-08-17 14:40:16 -07:00
Joel Bernstein 52f9cee97b SOLR-12671: Add robust flag to knnRegress Stream Evaluator 2018-08-17 14:26:17 -04:00
Noble Paul 124be4e202 SOLR-12014: Cryptic error message when creating a collection with sharding that violates autoscaling policies 2018-08-18 00:37:50 +10:00
Shalin Shekhar Mangar 6e21cb3aa9 SOLR-11990: Create Collection API now waits for the updated state of the withCollection to be visible after setting the COLOCATED_WITH value
Sometimes deletion of the withCollection succeeds even though the linked collection exists, if the delete request is sent immediately after the creation of the linked collection. This is because of a race between the delete request and the zookeeper update made by create collection such that the COLOCATED_WITH property is not visible to the overseer collection processor during the delete request. Therefore, we now wait until the property is visible before returning a success to the user. The test also adds more asserts so that a similar race will fail the test immediately with a proper assert message.
2018-08-17 14:26:30 +05:30
Shalin Shekhar Mangar 055105ba0b SOLR-12655: Adding nori to the list of dependencies of solr core's Intellij IDEA module 2018-08-17 14:17:05 +05:30
Karl Wright 9e54e3e9b4 LUCENE-8457: Add disabled unit test demonstrating the problem. 2018-08-17 03:44:20 -04:00
Anshum Gupta 4309ae6f9f SOLR-12475: Fix failing MaxSizeAutoCommitTest 2018-08-16 23:05:21 -07:00
Andrzej Bialecki 585ba164a8 SOLR-12392: Improve reliability of IndexSizeTriggerTest. 2018-08-16 22:05:27 +02:00
Andrzej Bialecki 9572e129f8 SOLR-12668: Autoscaling trigger listeners should be executed in the order of their creation. 2018-08-16 21:44:10 +02:00
David Smiley a661ebc6df SOLR-12591: Avoid JDK 9 bug with certain timezones like AKDT; test with EDT.
Also standardized on single 'z' in the test patterns, which is equivalent to triple.
2018-08-16 15:16:26 -04:00
Steve Rowe 711a72ed84 LUCENE-8456: Upgrade Apache Commons Compress to v1.18 2018-08-16 12:06:33 -04:00
Shalin Shekhar Mangar 57b33c19a4 SOLR-12607: Minor refactorings
Replaced a few private instances with lambdas and extracted common code for retrying splits into a new method
2018-08-16 16:07:05 +05:30
Shalin Shekhar Mangar 94ecb0616a SOLR-12607: Extract common code from testSplitAfterSplit and testSplitAfterSplit2 methods
The testSplitAfterSplit and testSplitAfterSplit2 tests only differ in the kind of fault injection being used. The rest of the test code is exactly the same so the common code is extracted into a new method called splitAfterSplit.
2018-08-16 15:19:56 +05:30
Shalin Shekhar Mangar 887055d892 SOLR-12670: RecoveryStrategy logs wrong wait time when retrying recovery 2018-08-16 15:00:49 +05:30
Shalin Shekhar Mangar 100b1511dd SOLR-12607: Increase recovery wait time from 15 seconds to 30 seconds to reduce spurious test failures 2018-08-16 13:10:01 +05:30
Shalin Shekhar Mangar 93a20b72b1 SOLR-12656: ShardSplitTest should extend AbstractFullDistribZkTestBase instead of BasicDistributedZkTest. Also removed some unused overridden methods to create solr clients 2018-08-16 08:01:08 +05:30
Erick 59550fc262 LUCENE-8455: Upgrade ECJ compiler to 4.6.1 in lucene/common-build.xml 2018-08-15 15:32:41 -07:00
Noble Paul 60257ea276 SOLR-12649: CloudSolrClient retries requests unnecessarily exception from server 2018-08-16 00:26:23 +10:00
Joel Bernstein 9cc0078af2 Ref Guide: Small changes to math expressions descriptions 2018-08-15 10:14:49 -04:00
Noble Paul a059c944c1 SOLR-12665: Autoscaling policy not being refreshed due to caching 2018-08-16 00:02:27 +10:00
Jan Høydahl f3339d14c9 SOLR-12523: Improve error reporting and docs regarding Collection backup feature shared-fs requirement 2018-08-15 13:38:05 +02:00
Erick Erickson 4f1c0aab1c SOLR-12028: BadApple and AwaitsFix annotations usage 2018-08-14 21:25:17 -07:00
Erick Erickson dcbd5323bb SOLR-12028: BadApple and AwaitsFix annotations usage 2018-08-14 21:24:59 -07:00
Bar Rotstein ec01cc981c SOLR-12591: ParseDateFieldUpdateProcessorFactory: Use "lenient" and strip surrounding quotes.
More tests, ported from "extract" contrib stuff.
2018-08-15 00:04:09 -04:00
Cassandra Targett 0d89ff2e61 SOLR-12664: Fix Download Solr button in index.adoc so it looks like it did before button style changes 2018-08-14 16:13:03 -05:00
Tomas Fernandez Lobbe bff7a3bbb1 SOLR-12222, SOLR-12028: Remove @BaddApple annotation from TestDistributedSearch
This test hasn't failed since the changes in SOLR-12222 were committed
2018-08-14 13:25:05 -07:00
Andrzej Bialecki 8dd704ef78 SOLR-12470: Search Rate Trigger multiple bug fixes, improvements and documentation updates. 2018-08-14 20:41:42 +02:00
Jim Ferenczi 7ecf9b63b9 LUCENE-8448: Boolean queries now propagates the mininum score to their sub-scorers. 2018-08-14 20:09:27 +02:00
Cassandra Targett 3e58e8ab45 SOLR-12664: Change bottom page nav styling 2018-08-14 12:13:44 -05:00
Joel Bernstein a2bbeec27c SOLR-12660: Refine output form and register stream function 2018-08-14 09:50:34 -04:00
Joel Bernstein baf3b8f20c SOLR-12660: Fix TestLang 2018-08-13 18:43:16 -04:00
Joel Bernstein 9d57963f41 SOLR-12660: Add outliers Stream Evaluator to support outlier detection 2018-08-13 15:21:51 -04:00
David Smiley 8d3f59a47f LUCENE-8446: DefaultPassageFormatter: merge overlapping matches 2018-08-13 15:18:03 -04:00
danmuzi bb58163578 LUCENE-8449: Code Optimizations in FieldTermStack
Signed-off-by: Adrien Grand <jpountz@gmail.com>
2018-08-13 19:36:39 +02:00
Noble Paul be4a33938d SOLR-12592: added more validation and tests 2018-08-14 01:11:01 +10:00
Jan Høydahl 767223ddd3 SOLR-8207: Nodes view support for shard_1_1_1 format and replica1, replica_1 format. Show core state in label if not 'active' 2018-08-13 12:38:19 +02:00
Jan Høydahl 69b2af33fb SOLR-10984: Clean up web.xml, removing old redirects and outdated comments 2018-08-13 10:39:21 +02:00
Joel Bernstein 17eb8cd14d SOLR-12634: Add gaussfit Stream Evaluator 2018-08-11 14:17:44 -04:00
Uwe Schindler 928b92caa0 SOLR-12655: Add Korean morphological analyzer ("nori") to default distribution. This also adds examples for configuration in Solr's schema 2018-08-11 14:07:31 +02:00
Karl Wright f2c0005e9d LUCENE-8451: Interpret IllegalArgumentException result from convex polygon constructor as meaning a tiling failure. 2018-08-11 06:58:50 -04:00
Uwe Schindler e9addea087 Merge branch 'jira/lucene-8453' of https://github.com/mocobeta/lucene-solr-mirror
LUCENE-8453: Add documentation to analysis factories of Korean (Nori) analyzer module
This closes #434
2018-08-11 12:50:19 +02:00