Commit Graph

30184 Commits

Author SHA1 Message Date
Simon Willnauer 0d8aacba4a [TEST] Fix TestIndexWriterExceptions to never remove fully deleted segments
This used to work in the past since we cleaned up fully deleted segments later.
Now that we clean them up on flush we need to make sure this test holds on to
it otherwise stats are off.
2018-05-16 15:39:19 +02:00
Andrzej Bialecki b809d633ce SOLR-12181: Improve test stability. 2018-05-16 13:59:55 +02:00
Simon Willnauer b3894d7f11 LUCENE-8310: Remove supporess WindowsFS
IW can now handle pending deletes.
2018-05-16 12:36:33 +02:00
Mikhail Khludnev 414fcb8e88 SOLR-12200: abandon OverseerExitThread when ZkController is closed. 2018-05-16 13:11:56 +03:00
Simon Willnauer 585952797c LUCENE-8310: Ensure IndexFileDeleter accounts for pending deletes
Today we fail creating the IndexWriter when the directory has a
pending delete. Yet, this is mainly done to prevent writing still
existing files more than once. IndexFileDeleter already accounts for
that for existing files which we can now use to also take pending
deletes into account which ensures that all file generations per segment
always go forward.
2018-05-16 11:17:43 +02:00
Cao Manh Dat 25ebe0e35f SOLR-12028: Remove TestCloudConsistency BadApples after beasting 2018-05-16 14:55:11 +07:00
Uwe Schindler 3a73d4b2d6 LUCENE-8291: Remove untested/unmaintained demo webapp 2018-05-16 09:25:26 +02:00
Mikhail Khludnev 09a789f535 LUCENE-8291: Build Fix. Removing Demo Servlet. 2018-05-16 08:59:45 +03:00
Uwe Schindler 11c6a7ad88 LUCENE-8291: Remove QueryTemplateManager utility class from XML queryparser 2018-05-15 23:34:59 +02:00
Cao Manh Dat f959777995 Add 7.3.1 back compat test indexes 2018-05-15 10:16:50 +07:00
Cao Manh Dat 16cb4141df Synchronize 7.3.1 changes 2018-05-15 10:00:14 +07:00
Cao Manh Dat b3551721fd Add version 7.3.1 2018-05-15 09:52:07 +07:00
Cao Manh Dat fd3e0255dc Update doap files with 7.3.1 release 2018-05-15 08:56:23 +07:00
Adrien Grand 02849fb707 Fix TestPendingSoftDeletes. 2018-05-14 15:30:16 +02:00
Mikhail Khludnev a0acc63d02 SOLR-12307: abandon OverseerTriggerThread on Zk expiration noiseless 2018-05-12 11:37:52 +03:00
Mikhail Khludnev d020ba84e4 SOLR-12333: drop redundant lines in JSON response writers 2018-05-12 11:22:48 +03:00
markrmiller ab58b7f9ba SOLR-12290: Update assert messages about closing request / response streams. 2018-05-12 00:15:19 -05:00
markrmiller 4c09a13afb SOLR-12290: Update assert messages about closing request / response streams. 2018-05-11 23:32:25 -05:00
Alan Woodward bad0e3f164 Mute TestRandomChains while I work on a fix 2018-05-11 22:47:42 +01:00
Alan Woodward 2225d0e464 LUCENE-8273: Fix end() propagation 2018-05-11 15:07:59 +01:00
Adrien Grand d764156f91 LUCENE-8303: Make the overflow test a Monster rather than Nightly. 2018-05-11 14:36:42 +02:00
Alan Woodward 1ce3ebadbd LUCENE-8273: Add ConditionalTokenFilter 2018-05-11 11:34:59 +01:00
Varun Thacker 8a697ee09c SOLR-12265: Fix jetty-start shade issue 2018-05-10 10:10:44 -07:00
Cassandra Targett 0adaeee438 Ref Guide: fix ZK string in kerberos solrj example 2018-05-10 11:53:35 -05:00
Alan Woodward 7d9059ef13 LUCENE-8249: Implement Matches API for phrase queries 2018-05-10 09:35:19 +01:00
Alan Woodward b5021a6658 Fix precommit 2018-05-10 09:32:39 +01:00
David Smiley e91d120999 LUCENE-8305: ComplexPhraseQuery.rewrite now handles an embedded MultiTermQuery
that rewrites to a MatchNoDocsQuery instead of throwing an exception.
Fixes #258
Fixes #327
2018-05-09 23:03:40 -04:00
Joel Bernstein c2819930d7 SOLR-12280: Add dsp to math-expression children 2018-05-09 16:35:53 -04:00
Simon Willnauer 99d1ccefcd [TEST]: Account for docs that randomly never got added 2018-05-09 22:30:22 +02:00
yonik 1067cabc19 SOLR-12170: fix date format exceptions for terms facet on date field 2018-05-09 15:42:58 -04:00
Joel Bernstein 144f00a1e3 Squashed commit of the following:
commit e5074c3223e394af17f686294a67a1dd3ecdd147
Author: Joel Bernstein <jbernste@apache.org>
Date:   Wed May 9 13:16:34 2018 -0400

    SOLR-12280: WIP

commit 69cdeccf161177d10f4d2407542392aaee3fcfe8
Author: Joel Bernstein <jbernste@apache.org>
Date:   Wed May 9 13:08:02 2018 -0400

    SOLR-12280: WIP

commit c94f0c87c3e57c023d622ad2411e522c4aac491c
Author: Joel Bernstein <jbernste@apache.org>
Date:   Wed May 9 11:54:58 2018 -0400

    SOLR-12280: WIP

commit 68dd1e73355cb84410f2d0ff3a51797ed6194a10
Author: Joel Bernstein <jbernste@apache.org>
Date:   Wed May 9 10:54:32 2018 -0400

    SOLR-12280: WIP

commit 04a010543418a469100fa299c606a7b1eed452e1
Author: Joel Bernstein <jbernste@apache.org>
Date:   Wed May 9 10:47:27 2018 -0400

    SOLR-12280: WIP

commit a6bbfbadaafe33fcdf93d5c72755e30dadadf017
Author: Joel Bernstein <jbernste@apache.org>
Date:   Wed May 9 09:40:08 2018 -0400

    SOLR-12280: WIP

commit 5d27961aa291bcd71527337632981bcdf62369b4
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 20:43:33 2018 -0400

    SOLR-12280: WIP

commit e982cf939f429c05b736f6292c68dd96d7ebc027
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 13:27:29 2018 -0400

    SOLR-12280: WIP

commit aae78ab6f387c28a080021bc919ef51864540be2
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 12:23:52 2018 -0400

    SOLR-12280: WIP

commit 0787ad76f0f4c62c860784b15490d8a988939997
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 12:20:38 2018 -0400

    SOLR-12280: WIP

commit 4df098376ba05188702cca8582959c3fe18066f5
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 12:12:11 2018 -0400

    SOLR-12280: WIP

commit 5c0be5136bbab7e0c33b3b8a7b0395b1b330e96d
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 12:04:57 2018 -0400

    SOLR-12280: WIP

commit 6c6feac4c2e5a49a5eab87a228713d1b93c8fc70
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 11:57:49 2018 -0400

    SOLR-12280: WIP

commit 7d46d11c9dd3a51b68600c2c889f586147545294
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 11:50:51 2018 -0400

    SOLR-12280: WIP

commit 8b6bf19d0091203ed63b39d070dd02a9bece6a61
Author: Joel Bernstein <jbernste@apache.org>
Date:   Mon May 7 10:53:14 2018 -0400

    SOLR-12280: WIP

commit 5466591999816eaacde6ce18d824d7688e5f4fe8
Author: Joel Bernstein <jbernste@apache.org>
Date:   Fri May 4 15:12:43 2018 -0400

    SOLR-12280: WIP

commit d7fff7d557a7fd26011c21445b7969b2cd81036f
Author: Joel Bernstein <jbernste@apache.org>
Date:   Fri Apr 27 12:50:27 2018 -0400

    SOLR-12280: Initial commit
2018-05-09 13:24:08 -04:00
Simon Willnauer 4177252a10 [TEST] Never oversize bitset 2018-05-09 19:11:13 +02:00
Simon Willnauer a3c86373e4 LUCENE-8298: Allow DocValues updates to reset a value
Today once a document has a value in a certain DV field this values
can only be changed but not removed. While resetting / removing a value
from a field is certainly a corner case it can be used to undelete a
soft-deleted document unless it's merged away.
This allows to rollback changes without rolling back to another commitpoint
or trashing all uncommitted changes. In certain cenarios it can be used to
"repair" history of documents in distributed systems.
2018-05-09 18:57:57 +02:00
Adrien Grand 7873cf845e LUCENE-8296: PendingDeletes may no longer write to live docs after they are shared. 2018-05-09 15:40:14 +02:00
Adrien Grand 8dc69428e3 LUCENE-8303: Make LiveDocsFormat only responsible for serialization/deserialization of live docs. 2018-05-09 15:40:14 +02:00
Dawid Weiss b53ee58023 LUCENE-8301: Update randomizedtesting to 2.6.0 2018-05-09 13:28:03 +02:00
Mikhail Khludnev ef8edbab00 SOLR-12303: documenting default \[subquery].qt trap. 2018-05-09 12:47:46 +03:00
Simon Willnauer 6262b7757b [TEST] Fix TestNorms to ensure that max token lenght is at least 3 to have predictable norms 2018-05-09 10:04:18 +02:00
Varun Thacker 1705e4f291 SOLR-12265: Upgrade to Jetty 9.4.10 2018-05-08 21:31:09 -07:00
David Smiley c3d28a5b0f SOLR-12258: A V2 request referencing a collection or alias may fail to resolve it if it was just recently created.
Now we sync with ZooKeeper and try one more time.  V1 partially did this but only for aliases; now it does both.
2018-05-08 15:10:07 -04:00
Erick Erickson abb57c5c81 SOLR-12192: Error when ulimit is unlimited 2018-05-08 09:54:40 -07:00
Dawid Weiss 85c00e77ef LUCENE-8267: removed references to memory codecs. 2018-05-08 10:32:11 +02:00
David Smiley 08ee037ff8 SOLR-12308: LISTALIASES is now assured to return an up-to-date response
* MiniSolrCloudCluster.deleteAllCollections will now first delete aliases
* Minor refactorings to AliasesManager, AliasIntegrationTest, CreateRoutedAliasTest
2018-05-07 22:17:30 -04:00
Dawid Weiss 3e8f31ead0 LUCENE-8261: non-recursive->recursive (javadoc update). 2018-05-07 21:34:59 +02:00
David Smiley 81f611209c SOLR-12312: Replication's IndexFetcher buf size should be initialized
to an amount no greater than the size of the file being transferred.
2018-05-07 14:54:11 -04:00
Simon Willnauer b0b32931b2 LUCENE-8297: Add IW#tryUpdateDocValues(Reader, int, Fields...)
IndexWriter can update doc values for a specific term but this might
affect all documents containing the term. With tryUpdateDocValues
users can update doc-values fields for individual documents. This allows
for instance to soft-delete individual documents.
The new method shares most of it's code with tryDeleteDocuments.
2018-05-07 14:35:59 +02:00
Jason Gerlowski 6521d86dde SOLR-12279: Reject invalid 'blockUnknown' values for 'bin/solr auth' 2018-05-07 07:41:13 -04:00
Dawid Weiss 445c0aa47e LUCENE-8261: InterpolatedProperties.interpolate and recursive property references. 2018-05-07 13:22:11 +02:00
Simon Willnauer f9942b525b LUCENE-8275: Suppress WindowsFS TestDirectoryTaxonomyWriter
TestDirectoryTaxonomyWriter#testRecreateAndRefresh can't deal with pending
files since it creates multiple IW instances on the same directory.
2018-05-07 12:01:32 +02:00
markrmiller 5fc7251540 SOLR-12290: We must close ContentStreams because we don't know the source of the inputstream - use a CloseShield to prevent tripping our close assert in SolrDispatchFilter. 2018-05-06 14:25:59 -05:00