Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
8a7b8f0
Update shas.
jpountz Apr 5, 2017
bd09d8a
Start migrating fielddata to iterator APIs.
jpountz Apr 5, 2017
d0da103
AnalyzingQueryParser has been replaced by QueryParser.
jpountz Apr 5, 2017
fef7a60
Query API changes.
jpountz Apr 5, 2017
2439ca9
Changes to per-reader/per-segment caching.
jpountz Apr 5, 2017
be89352
Fixes compile errors for numeric aggregations
colings86 Apr 5, 2017
b7279c0
Fix compile errors in MultiValueMode.
jpountz Apr 5, 2017
8cadffc
Goodbye query normalization.
jpountz Apr 5, 2017
3602f65
Fixes compile errors in ValuesSource
colings86 Apr 5, 2017
f2a52db
Fiexes compile errors in CardinalityAggregator
colings86 Apr 5, 2017
9e17d4f
Fix more compile errors.
jpountz Apr 5, 2017
992fd94
Deprecate the `base` similarity.
jpountz Apr 5, 2017
d6fe872
More fixes.
jpountz Apr 5, 2017
131347d
Fix errors in the expressions module.
jpountz Apr 5, 2017
afdc68c
Fix compile errors in the percolator module.
jpountz Apr 5, 2017
c4ddd34
Fix compile errors in the test-framework.
jpountz Apr 5, 2017
0d01bca
More compile fixes.
jpountz Apr 5, 2017
7862e5f
Fixes compile errors on all remaining aggregations
colings86 Apr 5, 2017
3713bed
Fixes compile errors for function score and some fetch phases
colings86 Apr 5, 2017
1816b26
Deprecate disable_coord.
jpountz Apr 6, 2017
09a2c26
More fixes.
jpountz Apr 6, 2017
2941f21
Remove ES versions that reference unsupported Lucene versions.
jpountz Apr 6, 2017
7e86319
Revert "Remove ES versions that reference unsupported Lucene versions."
jpountz Apr 6, 2017
3138af0
Removes all remaining compile errors from aggregations package
colings86 Apr 6, 2017
4bad262
Reverts LeafSearchScript to use setDocument again
colings86 Apr 6, 2017
fc01445
Fixes matrix agg compile errors
colings86 Apr 6, 2017
11b7a8a
Fix more compile errors.
jpountz Apr 6, 2017
c199391
Fix grouping compile errors.
jpountz Apr 6, 2017
438a840
Fix compile errors in ReplaceMissingTests.
jpountz Apr 6, 2017
acc89c2
Fixes most compile errors in fielddata classes
colings86 Apr 6, 2017
0a85324
Fix compile errors in the fielddata package under core/tests.
jpountz Apr 6, 2017
64e89e9
Remove irrelevant tests.
jpountz Apr 6, 2017
a67d19b
Fix compile errors in ScriptValuesTests.
jpountz Apr 6, 2017
c9774e6
Fix more compile errors.
jpountz Apr 6, 2017
8fad4a0
Fixes compile errors in ScriptDovValues
colings86 Apr 7, 2017
42fe062
Remove last instance of disable coord and adds a TODO regarding the b…
jimczi Apr 7, 2017
badf9cb
Fix compile error due to API change
jimczi Apr 7, 2017
1110b7c
Fix some geo compile errors.
jpountz Apr 10, 2017
9e6e82e
Catch IOException at the highest possible level.
jpountz Apr 10, 2017
d6719cb
Cut over to the new fielddata APIs in ScriptSortBuilder.
jpountz Apr 10, 2017
4ff2335
Add missing io exceptions.
jpountz Apr 10, 2017
609ae4e
Addressed comments for ScriptDocValues
colings86 Apr 7, 2017
ee4dd00
Fixes compile errors in InnerHitsContext
colings86 Apr 10, 2017
6995f52
Merge branch 'master' into upgrade/lucene-7
jpountz Apr 11, 2017
237f39d
Remove forbidden signatures of removed methods.
jpountz Apr 11, 2017
85156af
Fix bad javadocs links.
jpountz Apr 11, 2017
d9765a6
fixes checkstyle errors
colings86 Apr 11, 2017
0f6eeae
Fixes another checkstyle error
colings86 Apr 11, 2017
f6bdb3f
Upgrades Version constants to Lucene 7
colings86 Apr 11, 2017
e0b20ff
Updates lucene format versions
colings86 Apr 11, 2017
4f65ef0
Fix more failures.
jpountz Apr 11, 2017
870452f
Initialize doc IDs to the correct value.
jpountz Apr 11, 2017
7b82e5d
Fixes MissingValuesTests
colings86 Apr 11, 2017
d86a287
Implement docID() on NumericDocValues.
jpountz Apr 11, 2017
ea1eb00
Fixes tests
colings86 Apr 11, 2017
0637904
Fixes Geo tests
colings86 Apr 11, 2017
838d73e
Fix failures in MultiValueModeTests.
jpountz Apr 11, 2017
4d9c171
Fix failure of ParentFieldSubFetchPhase.
jpountz Apr 11, 2017
fbe413d
Fix NestedQueryBuilderTests failures.
jpountz Apr 11, 2017
12c31fa
Fix failures in QueryStringQueryBuilderTests.
jpountz Apr 11, 2017
103315e
More tests fixes
colings86 Apr 11, 2017
504554c
Remove redundant static modifier.
jpountz Apr 11, 2017
d145ba6
More test failures.
jpountz Apr 11, 2017
fd5d2da
more test fixes
colings86 Apr 11, 2017
9be08c1
Fix remaining errors in the fielddata package.
jpountz Apr 11, 2017
6bf6e57
Fix more test failures.
jpountz Apr 12, 2017
a07cae3
Fix last failures in ReplaceMissingTests.
jpountz Apr 12, 2017
965c732
Add AwaitsFix.
jpountz Apr 12, 2017
974f44f
Fixes ScriptValuesTests
colings86 Apr 12, 2017
80d0631
Fix more integ test failures.
jpountz Apr 12, 2017
8cf4b18
More fixes.
jpountz Apr 12, 2017
10868b0
More fixes.
jpountz Apr 12, 2017
531c8d3
Fixes dates in ScriptDocValuesLongsTests
colings86 Apr 12, 2017
5731ebd
Fixes JavaDocs error
colings86 Apr 12, 2017
6a13ee3
More test fixes
colings86 Apr 12, 2017
885d211
More fixes.
jpountz Apr 12, 2017
8b06cf7
Fixes Expression unit tests
colings86 Apr 12, 2017
72af591
Add AwaitsFix.
jpountz Apr 12, 2017
874800c
fixes integTest looking for coords
colings86 Apr 12, 2017
c93fb97
Fix matrix stats failures.
jpountz Apr 13, 2017
f15fe7c
Update the Lucene snapshot.
jpountz Apr 13, 2017
1eb6d86
Fix some compile errors.
jpountz Apr 13, 2017
08404e6
Finish Lucene upgrade.
jpountz Apr 13, 2017
8b3ad10
Fix compile errors.
jpountz Apr 13, 2017
9178046
Remove AwaitsFix.
jpountz Apr 13, 2017
e04a3af
Merge branch 'master' into upgrade/lucene-7
colings86 Apr 13, 2017
945e955
Fix docs expectations.
jpountz Apr 13, 2017
9426a70
Minor cleanups.
jpountz Apr 13, 2017
a614cc8
Merge remote-tracking branch 'origin/master' into upgrade/lucene-7
jpountz Apr 18, 2017
15b8d06
Fix wrong sharing of readers.
jpountz Apr 18, 2017
73b7dbb
Merge remote-tracking branch 'origin/master' into upgrade/lucene-7
jpountz Apr 18, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions buildSrc/src/main/resources/forbidden/es-all-signatures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ java.util.concurrent.ThreadLocalRandom

java.security.MessageDigest#clone() @ use org.elasticsearch.common.hash.MessageDigests

@defaultMessage this should not have been added to lucene in the first place
org.apache.lucene.index.IndexReader#getCombinedCoreAndDeletesKey()

@defaultMessage Soon to be removed
org.apache.lucene.document.FieldType#numericType()

@defaultMessage Don't use MethodHandles in slow ways, don't be lenient in tests.
java.lang.invoke.MethodHandle#invoke(java.lang.Object[])
java.lang.invoke.MethodHandle#invokeWithArguments(java.lang.Object[])
Expand Down
10 changes: 0 additions & 10 deletions buildSrc/src/main/resources/forbidden/es-core-signatures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,6 @@ org.apache.lucene.index.IndexReader#decRef()
org.apache.lucene.index.IndexReader#incRef()
org.apache.lucene.index.IndexReader#tryIncRef()

@defaultMessage Close listeners can only installed via ElasticsearchDirectoryReader#addReaderCloseListener
org.apache.lucene.index.IndexReader#addReaderClosedListener(org.apache.lucene.index.IndexReader$ReaderClosedListener)
org.apache.lucene.index.IndexReader#removeReaderClosedListener(org.apache.lucene.index.IndexReader$ReaderClosedListener)

@defaultMessage Pass the precision step from the mappings explicitly instead
org.apache.lucene.search.LegacyNumericRangeQuery#newDoubleRange(java.lang.String,java.lang.Double,java.lang.Double,boolean,boolean)
org.apache.lucene.search.LegacyNumericRangeQuery#newFloatRange(java.lang.String,java.lang.Float,java.lang.Float,boolean,boolean)
org.apache.lucene.search.LegacyNumericRangeQuery#newIntRange(java.lang.String,java.lang.Integer,java.lang.Integer,boolean,boolean)
org.apache.lucene.search.LegacyNumericRangeQuery#newLongRange(java.lang.String,java.lang.Long,java.lang.Long,boolean,boolean)

@defaultMessage Only use wait / notify when really needed try to use concurrency primitives, latches or callbacks instead.
java.lang.Object#wait()
java.lang.Object#wait(long)
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/version.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# When updating elasticsearch, please update 'rest' version in core/src/main/resources/org/elasticsearch/bootstrap/test-framework.policy
elasticsearch = 6.0.0-alpha1
lucene = 6.5.0
lucene = 7.0.0-snapshot-89f6d17

# optional dependencies
spatial4j = 0.6
Expand Down
1 change: 0 additions & 1 deletion core/licenses/lucene-analyzers-common-6.5.0.jar.sha1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e69234c2e898d86a53edbe8d22e33bebc45286cd
1 change: 0 additions & 1 deletion core/licenses/lucene-backward-codecs-6.5.0.jar.sha1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
48172a8e1fe6562f55ab671d42af53652794d5df
1 change: 0 additions & 1 deletion core/licenses/lucene-core-6.5.0.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions core/licenses/lucene-core-7.0.0-snapshot-89f6d17.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3dab251d4c7ab4ff5095e5f1d1e127ec2cf3c07d
1 change: 0 additions & 1 deletion core/licenses/lucene-grouping-6.5.0.jar.sha1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c01ae8a23b733d75d058a76bd85fcb49b9fd06fd
1 change: 0 additions & 1 deletion core/licenses/lucene-highlighter-6.5.0.jar.sha1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c53df048b97946fe66035505306b5651b702adb1
1 change: 0 additions & 1 deletion core/licenses/lucene-join-6.5.0.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions core/licenses/lucene-join-7.0.0-snapshot-89f6d17.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1ecb349ba29abab75359e5125ac8a94fc81441d5
1 change: 0 additions & 1 deletion core/licenses/lucene-memory-6.5.0.jar.sha1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e5f53b38652b1284ff254fba39e624ec117aef7d
1 change: 0 additions & 1 deletion core/licenses/lucene-misc-6.5.0.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions core/licenses/lucene-misc-7.0.0-snapshot-89f6d17.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2f340ed3f46d6b4c89fa31975b675c19028c15eb
1 change: 0 additions & 1 deletion core/licenses/lucene-queries-6.5.0.jar.sha1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a13862fb62cc1e516d16d6b6bb3cdb906c4925f6
1 change: 0 additions & 1 deletion core/licenses/lucene-queryparser-6.5.0.jar.sha1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4e014f72a588453bae7dd1a555d741cf3bf39032
1 change: 0 additions & 1 deletion core/licenses/lucene-sandbox-6.5.0.jar.sha1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5e87d61c604d6b1c0ee5c38f09441d1b8b9c8c2b
1 change: 0 additions & 1 deletion core/licenses/lucene-spatial-6.5.0.jar.sha1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
be14aa163b339403d8ec904493c1be5dfa9baeaf
1 change: 0 additions & 1 deletion core/licenses/lucene-spatial-extras-6.5.0.jar.sha1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a2c13be0fe4c5a98a30ec6ae673be1442409817c
1 change: 0 additions & 1 deletion core/licenses/lucene-spatial3d-6.5.0.jar.sha1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
92b8282e474845fdae31f9f239f953bc7164401f
1 change: 0 additions & 1 deletion core/licenses/lucene-suggest-6.5.0.jar.sha1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1c4aaea267ed41657ebf01769bfddbcab5b27414
Original file line number Diff line number Diff line change
Expand Up @@ -296,16 +296,15 @@ public int hashCode() {
return Objects.hash(classHash(), Arrays.hashCode(equalsTerms()));
}

public static BlendedTermQuery booleanBlendedQuery(Term[] terms, final boolean disableCoord) {
return booleanBlendedQuery(terms, null, disableCoord);
public static BlendedTermQuery booleanBlendedQuery(Term[] terms) {
return booleanBlendedQuery(terms, null);
}

public static BlendedTermQuery booleanBlendedQuery(Term[] terms, final float[] boosts, final boolean disableCoord) {
public static BlendedTermQuery booleanBlendedQuery(Term[] terms, final float[] boosts) {
return new BlendedTermQuery(terms, boosts) {
@Override
protected Query topLevelQuery(Term[] terms, TermContext[] ctx, int[] docFreqs, int maxDoc) {
BooleanQuery.Builder booleanQueryBuilder = new BooleanQuery.Builder();
booleanQueryBuilder.setDisableCoord(disableCoord);
for (int i = 0; i < terms.length; i++) {
Query query = new TermQuery(terms[i], ctx[i]);
if (boosts != null && boosts[i] != 1f) {
Expand All @@ -318,14 +317,12 @@ protected Query topLevelQuery(Term[] terms, TermContext[] ctx, int[] docFreqs, i
};
}

public static BlendedTermQuery commonTermsBlendedQuery(Term[] terms, final float[] boosts, final boolean disableCoord, final float maxTermFrequency) {
public static BlendedTermQuery commonTermsBlendedQuery(Term[] terms, final float[] boosts, final float maxTermFrequency) {
return new BlendedTermQuery(terms, boosts) {
@Override
protected Query topLevelQuery(Term[] terms, TermContext[] ctx, int[] docFreqs, int maxDoc) {
BooleanQuery.Builder highBuilder = new BooleanQuery.Builder();
highBuilder.setDisableCoord(disableCoord);
BooleanQuery.Builder lowBuilder = new BooleanQuery.Builder();
lowBuilder.setDisableCoord(disableCoord);
for (int i = 0; i < terms.length; i++) {
Query query = new TermQuery(terms[i], ctx[i]);
if (boosts != null && boosts[i] != 1f) {
Expand All @@ -343,7 +340,6 @@ protected Query topLevelQuery(Term[] terms, TermContext[] ctx, int[] docFreqs, i
BooleanQuery low = lowBuilder.build();
if (low.clauses().isEmpty()) {
BooleanQuery.Builder queryBuilder = new BooleanQuery.Builder();
queryBuilder.setDisableCoord(disableCoord);
for (BooleanClause booleanClause : high) {
queryBuilder.add(booleanClause.getQuery(), Occur.MUST);
}
Expand All @@ -352,7 +348,6 @@ protected Query topLevelQuery(Term[] terms, TermContext[] ctx, int[] docFreqs, i
return low;
} else {
return new BooleanQuery.Builder()
.setDisableCoord(true)
.add(high, BooleanClause.Occur.SHOULD)
.add(low, BooleanClause.Occur.MUST)
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public class ExtendedCommonTermsQuery extends CommonTermsQuery {

private final MappedFieldType fieldType;

public ExtendedCommonTermsQuery(Occur highFreqOccur, Occur lowFreqOccur, float maxTermFrequency, boolean disableCoord, MappedFieldType fieldType) {
super(highFreqOccur, lowFreqOccur, maxTermFrequency, disableCoord);
public ExtendedCommonTermsQuery(Occur highFreqOccur, Occur lowFreqOccur, float maxTermFrequency, MappedFieldType fieldType) {
super(highFreqOccur, lowFreqOccur, maxTermFrequency);
this.fieldType = fieldType;
}

Expand Down
4 changes: 2 additions & 2 deletions core/src/main/java/org/apache/lucene/queries/MinDocQuery.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public boolean equals(Object obj) {
}

@Override
public Weight createWeight(IndexSearcher searcher, boolean needsScores) throws IOException {
return new ConstantScoreWeight(this) {
public Weight createWeight(IndexSearcher searcher, boolean needsScores, float boost) throws IOException {
return new ConstantScoreWeight(this, boost) {
@Override
public Scorer scorer(LeafReaderContext context) throws IOException {
final int maxDoc = context.reader().maxDoc();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
import org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute;
import org.apache.lucene.index.Term;
import org.apache.lucene.queryparser.analyzing.AnalyzingQueryParser;
import org.apache.lucene.search.BooleanClause;
import org.apache.lucene.search.BooleanQuery;
import org.apache.lucene.search.BoostQuery;
import org.apache.lucene.search.DisjunctionMaxQuery;
import org.apache.lucene.search.FuzzyQuery;
Expand Down Expand Up @@ -70,7 +68,7 @@
* Also breaks fields with [type].[name] into a boolean query that must include the type
* as well as the query on the name.
*/
public class MapperQueryParser extends AnalyzingQueryParser {
public class MapperQueryParser extends QueryParser {

public static final Map<String, FieldQueryExtension> FIELD_QUERY_EXTENSIONS;

Expand Down Expand Up @@ -103,14 +101,13 @@ public void reset(QueryParserSettings settings) {
setAnalyzer(settings.analyzer());
setMultiTermRewriteMethod(settings.rewriteMethod());
setEnablePositionIncrements(settings.enablePositionIncrements());
setSplitOnWhitespace(settings.splitOnWhitespace());
setAutoGeneratePhraseQueries(settings.autoGeneratePhraseQueries());
setMaxDeterminizedStates(settings.maxDeterminizedStates());
setAllowLeadingWildcard(settings.allowLeadingWildcard());
setLowercaseExpandedTerms(false);
setPhraseSlop(settings.phraseSlop());
setDefaultOperator(settings.defaultOperator());
setFuzzyPrefixLength(settings.fuzzyPrefixLength());
setSplitOnWhitespace(settings.splitOnWhitespace());
}

/**
Expand Down Expand Up @@ -175,7 +172,7 @@ public Query getFieldQuery(String field, String queryText, boolean quoted) throw
}
}
if (clauses.isEmpty()) return null; // happens for stopwords
return getBooleanQueryCoordDisabled(clauses);
return getBooleanQuery(clauses);
}
} else {
return getFieldQuerySingle(field, queryText, quoted);
Expand Down Expand Up @@ -277,7 +274,7 @@ protected Query getFieldQuery(String field, String queryText, int slop) throws P
}
}
if (clauses.isEmpty()) return null; // happens for stopwords
return getBooleanQueryCoordDisabled(clauses);
return getBooleanQuery(clauses);
}
} else {
return super.getFieldQuery(field, queryText, slop);
Expand Down Expand Up @@ -328,7 +325,7 @@ protected Query getRangeQuery(String field, String part1, String part2,
}
}
if (clauses.isEmpty()) return null; // happens for stopwords
return getBooleanQueryCoordDisabled(clauses);
return getBooleanQuery(clauses);
}
}

Expand Down Expand Up @@ -386,7 +383,7 @@ protected Query getFuzzyQuery(String field, String termStr, String minSimilarity
clauses.add(new BooleanClause(applyBoost(mField, q), BooleanClause.Occur.SHOULD));
}
}
return getBooleanQueryCoordDisabled(clauses);
return getBooleanQuery(clauses);
}
} else {
return getFuzzyQuerySingle(field, termStr, minSimilarity);
Expand Down Expand Up @@ -450,7 +447,7 @@ protected Query getPrefixQuery(String field, String termStr) throws ParseExcepti
}
}
if (clauses.isEmpty()) return null; // happens for stopwords
return getBooleanQueryCoordDisabled(clauses);
return getBooleanQuery(clauses);
}
} else {
return getPrefixQuerySingle(field, termStr);
Expand Down Expand Up @@ -559,7 +556,7 @@ private Query getPossiblyAnalyzedPrefixQuery(String field, String termStr) throw
innerClauses.add(new BooleanClause(super.getPrefixQuery(field, token),
BooleanClause.Occur.SHOULD));
}
posQuery = getBooleanQueryCoordDisabled(innerClauses);
posQuery = getBooleanQuery(innerClauses);
}
clauses.add(new BooleanClause(posQuery,
getDefaultOperator() == Operator.AND ? BooleanClause.Occur.MUST : BooleanClause.Occur.SHOULD));
Expand Down Expand Up @@ -612,7 +609,7 @@ protected Query getWildcardQuery(String field, String termStr) throws ParseExcep
}
}
if (clauses.isEmpty()) return null; // happens for stopwords
return getBooleanQueryCoordDisabled(clauses);
return getBooleanQuery(clauses);
}
} else {
return getWildcardQuerySingle(field, termStr);
Expand Down Expand Up @@ -676,7 +673,7 @@ protected Query getRegexpQuery(String field, String termStr) throws ParseExcepti
}
}
if (clauses.isEmpty()) return null; // happens for stopwords
return getBooleanQueryCoordDisabled(clauses);
return getBooleanQuery(clauses);
}
} else {
return getRegexpQuerySingle(field, termStr);
Expand Down Expand Up @@ -713,19 +710,6 @@ private Query getRegexpQuerySingle(String field, String termStr) throws ParseExc
}
}

/**
* @deprecated review all use of this, don't rely on coord
*/
@Deprecated
protected Query getBooleanQueryCoordDisabled(List<BooleanClause> clauses) throws ParseException {
BooleanQuery.Builder builder = new BooleanQuery.Builder();
builder.setDisableCoord(true);
for (BooleanClause clause : clauses) {
builder.add(clause);
}
return fixNegativeQueryIfNeeded(builder.build());
}


@Override
protected Query getBooleanQuery(List<BooleanClause> clauses) throws ParseException {
Expand Down
Loading