Commit Graph

30297 Commits

Author SHA1 Message Date
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
Andrzej Bialecki 93926e9c83 Fix API change and add javadoc. 2018-05-21 12:26:31 +02:00
Andrzej Bialecki 7c8fdcd1b6 Fix test that assumed the absence of thread context switch between calls. 2018-05-21 12:12:14 +02:00
Cao Manh Dat 4603541d18 SOLR-11452: Remove BadApple annotation 2018-05-21 15:03:30 +07:00
Cao Manh Dat a4f83f66ea SOLR-10841: Remove BaddApples annotation 2018-05-21 09:12:45 +07:00
Cao Manh Dat 39256e8348 SOLR-10841: TestTlogReplica.testRecovery sometimes fails 2018-05-21 09:05:13 +07:00
Steve Rowe d91273ddf0 LUCENE-8273: Rename TermExclusionFilter -> ProtectedTermFilter. Allow ProtectedTermFilterFactory to be used outside of CustomAnalyzer, including in Solr, by allowing wrapped filters and their parameters to be specified on construction. Add tests for ProtectedTermFilterFactory in lucene/common/analysis/ and in solr/core/. Add Solr ref guide documentation for ProtectedTermFilterFactory. Improve javadocs for CustomAnalyzer, ConditionalTokenFilter, and ProtectedTermFilter. 2018-05-20 19:52:07 -04:00
Dennis Gove f506bc9cb7 SOLR-12355: Fixes hash conflict in HashJoinStream and OuterHashJoinStream 2018-05-18 17:14:39 -04:00
Christine Poerschke 4da0d68981 SOLR-12372: contrib/clustering (private) logger rename 2018-05-18 20:00:49 +01:00
Christine Poerschke 0e1426627a SOLR-12036: use DefaultStreamFactory in Solr Ref Guide (Streaming Expressions) example 2018-05-18 19:58:56 +01:00
Christine Poerschke 8d99d32785 SOLR-12036: add @since javadoc 2018-05-18 19:55:57 +01:00
Christine Poerschke 743651443e SOLR-11941: add @since javadoc 2018-05-18 19:54:45 +01:00
Simon Willnauer 85adac1c72 Disable WindowsFS dependent tests in TestSimpleFSDirectory on Windows 2018-05-18 19:38:11 +02:00
Simon Willnauer 70cfe46689 LUCENE-8320: Fix NPE in WindowsFS if target file exists but isn't open 2018-05-18 19:38:11 +02:00
Simon Willnauer 82ad857f1a LUCENE-8320: Disable test on windows
irony: currently we don't emulate windows well enough to work on windows!
2018-05-18 19:38:11 +02:00
Anshum Gupta 27c6275c48 SOLR-11277: Synchronize UpdateLog.getCurrentLogSizeFromStream and return size of tlog as 0 to avoid NPE 2018-05-18 09:56:52 -07:00
Alan Woodward b1ee23c525 LUCENE-8273: Fix end() and posInc handling 2018-05-18 13:11:39 +01:00
Ishan Chattopadhyaya 6826c37669 Synchronize 6.6.4 CHANGES.txt 2018-05-18 15:29:39 +05:30
Ishan Chattopadhyaya ea62949542 Adding 6.6.4 release to DOAP 2018-05-18 15:25:50 +05:30
Simon Willnauer 42a79970d5 LUCENE-8320: Fix WindowsFS#rename with hardlinks 2018-05-18 09:33:50 +02:00