Commit Graph

30132 Commits

Author SHA1 Message Date
Cao Manh Dat 09db13f4f4 SOLR-12187: Replica should watch clusterstate and unload itself if its entry is removed 2018-04-17 20:16:31 +07:00
Alan Woodward f7f12a51f3 LUCENE-8253: Mute test while a fix is worked on 2018-04-17 11:58:59 +01:00
Karl Wright 4ee92c22a4 LUCENE-8257: All edges have a backing plane, so edge membership doesn't bleed through to the opposite side of the world. 2018-04-17 02:45:44 -04:00
Ishan Chattopadhyaya 72ee0f64d4 SOLR-11920: Adding a file exists check before skipping a file for replication 2018-04-17 10:48:36 +05:30
Erick Erickson a417a2cd6a SOLR-10169: PeerSync will hit an NPE on no response errors when looking for fingerprint. 2018-04-16 21:51:02 -07:00
Jason Gerlowski 7edfd9c410 SOLR-11840: Fix bin/solr help-text inconsistencies 2018-04-16 22:21:27 -04:00
Simon Willnauer 449ecb601c Remove dead code 2018-04-16 17:27:19 +02:00
Alan Woodward 0b753c34f7 Unbadapple TestIndexSorting 2018-04-16 15:24:04 +01:00
Alan Woodward 37e065007f SOLR-12147: Don't use memory-intensive codecs to test uninvert limits
This separates out TestDocTermOrds.testTriggerUninvertLimit into its own
test class, and suppresses Memory codec on it
2018-04-16 15:24:04 +01:00
Simon Willnauer c70cceaee5 LUCENE-8253: Account for soft-deletes before they are flushed to disk
Inside the IndexWriter buffers are only written to disk if it's needed
or "worth it" which doesn't guarantee soft deletes to be accounted
in time. This is not necessarily a problem since they are eventually
collected and segments that have soft-deletes will me merged eventually
but for tests and on par behavior compared to hard deletes this behavior
is tricky.
This change cuts over to accounting in-place just like hard-deletes. This
results in accurate delete numbers for soft deletes at any give point in time
once the reader is loaded or a pending soft delete occurs.

This change also fixes an issue where all updates to a DV field are allowed
event if the field is unknown. Now this only works if the field is equal
to the soft deletes field. This behavior was never released.
2018-04-16 16:17:06 +02:00
Andrzej Bialecki 1e759bc505 SOLR-12181: Fix test failures. 2018-04-16 13:16:05 +02:00
Alan Woodward 19fa91dbfb LUCENE-8254: LRUQueryCache can leak locks 2018-04-16 10:57:12 +01:00
Cao Manh Dat 3028f3e9ea SOLR-12028: Remove BadApple for CollectionsAPIDistributedZkTest.testCollectionReload() 2018-04-16 10:26:22 +07:00
David Smiley dad2d1076d SOLR-11731: revert to 7 decimal places so we can maintain the round-trip property.
Add test that we round-trip random numbers at 7 decimal places.  Would fail at 8.
2018-04-14 10:51:51 -04:00
Varun Thacker 93f9a65b1c SOLR-11724: Cdcr bootstrapping should ensure that non-leader replicas should sync with the leader 2018-04-13 15:38:26 -07:00
David Smiley e4eb8a870c SOLR-11731: one more decimal place (8) and we get the target/theoretical precision 2018-04-13 17:05:51 -04:00
Mike McCandless e2e89d1a60 LUCENE-8248: remove deprecated MergePolicyWrapper for 8.x 2018-04-13 16:32:42 -04:00
Mike McCandless 7c0387ad3f LUCENE-8248: MergePolicyWrapper is renamed to FilterMergePolicy and now also overrides getMaxCFSSegmentSizeMB 2018-04-13 15:45:19 -04:00
Joel Bernstein 487daab629 SOLR-12221: Add valueAt Stream Evaluator 2018-04-13 13:31:51 -04:00
Karl Wright 8462b134ea Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-13 12:28:03 -04:00
jdyer1 12bd5f9448 SOLR-10513: Implement .equals() for LuceneLevenshteinDistance. 2018-04-13 11:12:46 -05:00
Karl Wright d78c354bef LUCENE-8251: Handle near-parallelness with envelope plane by a progressive adjoining point distance increment, up to 100 iterations. Then, give up and assume a crossing. 2018-04-13 12:05:42 -04:00
David Smiley 9a149ad7e7 SOLR-11913: SolrParams now implements Iterable<Map.Entry<String,String[]>>
and has stream()
2018-04-13 12:05:23 -04:00
Karl Wright f88a553a91 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-13 09:40:11 -04:00
Karl Wright 79350bd4dd LUCENE-8251: Add AwaitsFix for the tests that this issue covers. 2018-04-13 09:39:31 -04:00
Jim Ferenczi 0544486b39 LUCENE-8231: update CHANGES.txt after backport to 7x 2018-04-13 14:21:03 +02:00
Andrzej Bialecki dfc05faa35 SOLR-12181: Fix NPE. Disable the test until it's fixed. 2018-04-13 12:45:54 +02:00
Jim Ferenczi e851b89cbe LUCENE-8231: Add a new analysis module (nori) similar to Kuromoji but to handle Korean
This change adds a korean analyzer in a new analysis module named nori. It is similar
to Kuromoji but uses the mecab-ko-dic dictionary to perform morphological analysis of Korean
text.
2018-04-13 11:26:42 +02:00
Simon Willnauer d5b6857603 LUCENE-8233: Never reset initiazlized DV gen
We drop changes after we finish a merge, this has also reset
the DV generation the PendingSoftDeletes were initialized on causing
assertions to trip if releaseing the reader was writing DV to disk.
This change removes resetting the dv generation to make assertions
hold which requried to keep the pending change count on PendingSoftDeletes.
2018-04-13 09:34:33 +02:00
Karl Wright f41e7c4da7 LUCENE-8251: Add an explicit test case to cover the discovered failure. But it appears to be already fixed. 2018-04-13 00:10:57 -04:00
Karl Wright e8f1649ab4 LUCENE-8251: Annotate occasionally failing test with AwaitsFix 2018-04-12 23:46:40 -04:00
Karl Wright 71936db9f0 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-12 23:32:56 -04:00
Karl Wright 1d201f3c18 LUCENE-8245: Make precommit happy, again. 2018-04-12 23:32:46 -04:00
Erick Erickson 0014f3af88 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-04-12 17:58:32 -07:00
Varun Thacker 2a2a0b6acd SOLR-12150: Fix a test bug in CdcrBidirectionalTest.testBiDir 2018-04-12 15:35:34 -07:00
David Smiley 3d5f2f24c3 SOLR-11336: DocBasedVersionConstraints URP is now more extensible; versionField is a list 2018-04-12 14:04:28 -04:00
David Smiley 4f694d5c72 LUCENE-8245: fix unused import 2018-04-12 12:30:09 -04:00
Varun Thacker 7a57ca8c0d SOLR-12065: A successful restore collection should mark the shard state as active and not buffering 2018-04-12 08:20:28 -07:00
David Smiley e6b65151b6 LUCENE-8229: add lucene.experimental, plus small changes 2018-04-12 10:59:58 -04:00
Karl Wright 7a4937106c Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-12 07:09:30 -04:00
Karl Wright 832e89748e LUCENE-8245: Use strict bounds checking for edge planes when assessing envelope crossings. It's the only way to insure we don't overdetect or underdetect such intersections. 2018-04-12 07:08:51 -04:00
Simon Willnauer 19b4483ca0 Fix lint error of unused imports in LeaderVoteWaitTimeoutTest 2018-04-12 12:44:34 +02:00
Simon Willnauer 24f10c48dc Fix TestLRUQueryCache#testDocValuesUpdatesDontBreakCache
this test was flagged as BadApple and referred to SOLR-12028
The test stated clearly that the usage of newSearch(reader) is
dangerous since it might add concurrency to the test. This commit
respects this comment and removes all subsequent useage of
newSearcher(...)
2018-04-12 12:44:34 +02:00
Simon Willnauer 9cb07c735b LUCENE-8233: Harden PendingDeletes modification assertions
This change adds a missing call to PendingDeletes#onNewReader and
hardens the assertion when a PendingDelete can actually be modified ie.
receive deletes and updates. Now PendingDeltes are also initialized
when no reader is provided but the SegmentCommitInfo has evidence that there
is are no deletes.
2018-04-12 12:44:34 +02:00
Karl Wright 017f59bae5 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-12 06:39:56 -04:00
Karl Wright 0b1e8ef72e LUCENE-8245: Re-solve the 'intersection outside the world' case. 2018-04-12 06:39:32 -04:00
Cao Manh Dat 11d54b0cc4 SOLR-12214: Leader may skip publish itself as ACTIVE even its last published state is DOWN 2018-04-12 12:28:00 +07:00
yonik 8d20fc575b SOLR-12190: properly escape output in GraphMLResponseWriter 2018-04-11 23:00:03 -04:00
Tomas Fernandez Lobbe 8927d469cb SOLR-11982: Add support for indicating preferred replica types for queries 2018-04-11 16:23:00 -07:00
Karl Wright 5bd7b03e71 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-11 17:54:30 -04:00