Commit Graph

30166 Commits

Author SHA1 Message Date
Andrzej Bialecki 64e4dda64e Don't restart Overseer when picking a node randomly. Enable this test for now. 2018-05-29 21:52:31 +02:00
Karl Wright 7ce6dbda18 LUCENE-8337: Add disabled unit test for failure 2018-05-29 12:42:56 -04:00
Alan Woodward 4ea9d2ea8c LUCENE-8273: Adjust position increments when filtering stacked tokens 2018-05-29 15:59:36 +01:00
Simon Willnauer 34741a863a LUCENE-8330: Exclude MockRandomMP from basic tests 2018-05-29 16:58:03 +02:00
Andrzej Bialecki 6bbce38b77 SOLR-11779: Basic long-term collection of aggregated metrics. 2018-05-29 10:35:39 +02:00
Varun Thacker 44015e2acd SOLR-11453: Configuring slowQueryThresholdMillis logs slow requests to a separate file - solr_slow_requests.log 2018-05-28 12:43:05 -07:00
Varun Thacker 071df6e114 SOLR-12314: Use http timeout's defined in solr.xml for creating ConcurrentUpdateSolrClient during indexing requests between leader and replica 2018-05-28 11:21:49 -07:00
Joel 11cfb86489 SOLR-12401: Add getValue() and setValue() Stream Evaluators 2018-05-28 13:29:26 -04:00
Yuri Astrakhan d039730638 Fix incorrect BitUtil.deinterleave() description
Signed-off-by: Adrien Grand <jpountz@gmail.com>

Closes #367
2018-05-28 17:10:47 +02:00
Adrien Grand 1971ef3109 LUCENE-8186: LowerCaseTokenizerFactory now lowercases text in multi-term queries. 2018-05-28 16:20:49 +02:00
Adrien Grand 78ca82e63a Add 6.6.4 back compat test indexes. 2018-05-28 16:11:32 +02:00
Adrien Grand f8ae144054 LUCENE-8324: Make test pass with ExtraFS. 2018-05-28 15:41:17 +02:00
Adrien Grand b1613e4da6 TestLRUQueryCache#testBulkScorerLocking needs large IW buffers. 2018-05-28 15:22:21 +02:00
Simon Willnauer 0941cae532 LUCENE-8334: Ensure SR#getSementInfo() returns snapshot
The SegmentCommitInfo passed to the segment reader is mutated concurrently.
An instance obtained from SR#getSegmentInfo() might return wrong delete counts
or generation ids. This ensures that the SR will use a clone internally while stil
maintaining the original SI since it's needed inside IW for maintainance like
accessing pooled readers etc.
2018-05-28 14:28:36 +02:00
Noble Paul 4e12546b02 SOLR-12294: changed the package of the test file 2018-05-28 15:04:19 +10:00
Cao Manh Dat 2a5346dd29 SOLR-12399: SearchRateTriggerTest.testTrigger fail frequently 2018-05-28 09:48:22 +07:00
yonik f7500a6029 SOLR-12328: domain change using graph 2018-05-27 21:02:15 -04:00
yonik e5998fcb5d SOLR-9685: #tagging in JSON query syntax 2018-05-27 16:22:16 -04:00
Erick Erickson fd929c1d60 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-05-25 10:39:58 -07:00
Noble Paul 18ad8d137a SOLR-12294: update processors loaded from runtime jars fail to load if they are specified in an update processor chain 2018-05-26 00:25:39 +10:00
Noble Paul b86a4c9297 SOLR-12294: jar file required for the testcase 2018-05-26 00:09:43 +10:00
Dawid Weiss 7a5d9ca5e8 LUCENE-8333: Switch MoreLikeThis.setMaxDocFreqPct to use maxDoc instead of numDoc 2018-05-25 12:22:21 +02:00
Dawid Weiss 719fce8026 LUCENE-8221: MoreLikeThis.setMaxDocFreqPct can easily int-overflow on larger indexes. 2018-05-25 12:16:22 +02:00
Dawid Weiss 41ecad9897 SOLR-5351: Fixed More Like This Handler to use all fields provided in mlt.fl when used with content stream. The similarity is calculated between the content stream's value and all fields listed in mlt.fl. 2018-05-25 11:39:42 +02:00
Adrien Grand 0a1de2c4a5 LUCENE-8312: Leverage impacts to speed up SynonymQuery. 2018-05-25 09:30:10 +02:00
Adrien Grand 24d79de796 LUCENE-8144: Moved QueryCachingPolicy.ALWAYS_CACHE to the test framework. 2018-05-25 09:30:10 +02:00
Dawid Weiss 0e4e0096fd SOLR-12396: Upgrade Carrot2 to 3.16.0, HPPC to 0.8.1, morfologik to 2.1.5 2018-05-25 09:16:41 +02:00
Simon Willnauer c93f628317 LUCENE-8330: Detach IndexWriter from MergePolicy
This change introduces a new MergePolicy.MergeContext interface
that is easy to mock and cuts over all instances of IW to MergeContext.
Since IW now implements MergeContext the cut over is straight forward.
This reduces the exposed API available in MP dramatically and allows
efficient testing without relying on IW to improve the coverage and
testability of our MP implementations.
2018-05-25 07:37:09 +02:00
Steve Rowe 54a63d0d0c SOLR-12388: Enable a strict ZooKeeper-connected search request mode, in which search requests will fail when the coordinating node cant communicate with ZooKeeper, by setting the "shards.tolerant" param to "requireZkConnected" 2018-05-25 01:03:54 -04:00
Chris Hostetter ad143a1cec improvements/fixes to TestCloudJSONFacetJoinDomain based on lessons learned adapting TestCloudJSONFacetSKG 2018-05-24 18:02:26 -07:00
Steve Rowe 2f38342687 LUCENE-8273: Move test resources to where they belong 2018-05-24 18:13:35 -04:00
Cao Manh Dat 71ed5bafac SOLR-12247: Ensure an event will contains newly added node 2018-05-24 09:42:17 +07:00
markrmiller 48bd259516 SOLR-12378: Support missing versionField on indexed docs in DocBasedVersionConstraintsURP. 2018-05-23 15:44:37 -05:00
David Smiley 53a3de3b98 SOLR-12375: Optimize Lucene ScoreMode use:
* A non-cached filter query could be told incorrectly that scores were needed.
* The /export (ExportQParserPlugin) would declare incorrectly that scores are needed.
* Expanded docs (expand component) could be told incorrectly that scores are needed.
2018-05-23 15:37:33 -04:00
Noble Paul d32ce81eab SOLR-12358: Autoscaling suggestions fail randomly with sorting 2018-05-24 01:26:50 +10:00
Jim Ferenczi 55858d7ba7 LUCENE-8325: Fixed the smartcn tokenizer to not split UTF-16 surrogate pairs. 2018-05-23 16:12:43 +02:00
Simon Willnauer 14a7cd1159 LUCENE-8324: Fix test to exclude the write.lock in expected files 2018-05-23 07:54:59 +02:00
Simon Willnauer b54e5946de LUCENE-8328: Ensure ReadersAndUpdates consistently executes under lock 2018-05-23 07:54:59 +02:00
Shalin Shekhar Mangar 9b1cb6646f SOLR-3567: Spellcheck custom parameters not being passed through due to wrong prefix creation 2018-05-23 11:12:39 +05:30
Cao Manh Dat 0a730d4c1a SOLR-12247: NodeAddedTriggerTest.testRestoreState() failure: Did not expect the processor to fire on first run 2018-05-23 09:30:19 +07:00
David Smiley af59c46363 SOLR-12386: Apply AwaitsFix to ConcurrentCreateRoutedAliasTest 2018-05-22 17:08:09 -04:00
Chris Hostetter f9091473e0 SOLR-9480: minor cleanup of nits found by sarowe 2018-05-22 10:41:51 -07:00
Shalin Shekhar Mangar 5a47ed4209 SOLR-11880: Avoid creating new exceptions for every request made to MDCAwareThreadPoolExecutor by distributed search and update operations 2018-05-22 19:26:42 +05:30
Mikhail Khludnev 0f14e7fe5c SOLR-12377: Don't spin off overseer when Zk controller is closed.
enable TestLeaderElectionZkExpiry
2018-05-22 11:26:44 +03:00
Alan Woodward 24c186eff9 LUCENE-8273: Don't wrap MinHashFilter in a condition
MinHashFilter needs to consume the entire tokenstream, so wrapping it in a
randomized condition makes no sense, and breaks offsets.
2018-05-22 09:09:36 +01:00
Chris Hostetter 0bf1eae92c SOLR-9480 followup: remove/abstract deprecated implementations on master 2018-05-21 16:18:27 -07:00
Simon Willnauer 2ce53791d3 LUCENE-8324: Checkpoint after fully deletes segment is dropped on flush 2018-05-21 20:32:37 +02:00
Chris Hostetter 669b9e7a53 SOLR-9480: A new 'relatedness()' aggregate function for JSON Faceting to enable building Semantic Knowledge Graphs 2018-05-21 08:22:54 -07:00
Alan Woodward 0c0fce3e98 LUCENE-8273: TestRandomChains found some more end() handling problems 2018-05-21 15:12:32 +01:00
Uwe Schindler 63e213916c SOLR-12316: Make CVE public 2018-05-21 13:55:39 +02:00