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
Cao Manh Dat
4a9a8397e4
SOLR-12028: Remove BadApple for TestCloudRecovery
2018-05-18 10:36:14 +07:00
Steve Rowe
9cbaf327e8
install asciidoctor gem before jekyll-asciidoc, to prevent installation of a too-new version of asciidoctor
2018-05-17 17:32:41 -04:00
Cassandra Targett
7bb3e5c248
Ref Guide: add step to install asciidoctor before jekyll-asciidoc to prevent wrong version of gem being installed as a dependency
2018-05-17 15:03:14 -05:00
Steve Rowe
99c4adfb6a
Pin asciidoctor gem to v1.5.6.2 to avoid behavior changes in v1.5.7
2018-05-17 14:42:12 -04:00
Simon Willnauer
88f8718f1b
LUCENE-8317: Prevent concurrent deletes from being applied during full flush
...
Future deletes could potentially be exposed to flushes/commits/refreshes if the
amount of RAM used by deletes is greater than half of the IW RAM buffer.
2018-05-17 14:10:02 +02:00
Simon Willnauer
3fe612bed2
LUCENE-8318: Ensure pending delete is not brought back on a try delete attempt
...
When renaming a file, `FSDirectory#rename` tries to delete the dest file
if it's in the pending deletes list. If that delete fails, it adds the
dest to the pending deletes list again. This causes the dest file to be
deleted later by `deletePendingFiles`.
2018-05-17 11:02:35 +02:00
Jim Ferenczi
0159e4b974
LUCENE-8287: Ensure that empty regex completion queries always return no results
2018-05-17 10:29:49 +02:00
Simon Willnauer
0c3628920a
LUCENE-8316: Allow DV updates for not existing fields
...
Today we prevent DV updates for non-existing fields except
of the soft deletes case. Yet, this can cause inconsitent field numbers
etc. since we don't go through the global field number map etc. This
change removes the limitation of updating DVs in docs even if the field
doesn't exists. This also has the benefit that the error messages if
the field type doesn't match is consistent with what DWPT throws.
2018-05-16 19:59:20 +02:00