diff --git a/core-signatures.txt b/core-signatures.txt index 8cc2aad3daa..ff306906a2e 100644 --- a/core-signatures.txt +++ b/core-signatures.txt @@ -28,6 +28,10 @@ org.apache.lucene.index.IndexReader#tryIncRef() @defaultMessage QueryWrapperFilter is cachable by default - use Queries#wrap instead org.apache.lucene.search.QueryWrapperFilter#(org.apache.lucene.search.Query) +@defaultMessage Because the filtercache doesn't take deletes into account FilteredQuery can't be used - use XFilteredQuery instead +org.apache.lucene.search.FilteredQuery#(org.apache.lucene.search.Query,org.apache.lucene.search.Filter) +org.apache.lucene.search.FilteredQuery#(org.apache.lucene.search.Query,org.apache.lucene.search.Filter,org.apache.lucene.search.FilteredQuery$FilterStrategy) + @defaultMessage Pass the precision step from the mappings explicitly instead org.apache.lucene.search.NumericRangeQuery#newDoubleRange(java.lang.String,java.lang.Double,java.lang.Double,boolean,boolean) org.apache.lucene.search.NumericRangeQuery#newFloatRange(java.lang.String,java.lang.Float,java.lang.Float,boolean,boolean) diff --git a/pom.xml b/pom.xml index 2ceb3015efa..b5793c71137 100644 --- a/pom.xml +++ b/pom.xml @@ -1068,6 +1068,9 @@ org/elasticsearch/common/util/MathUtils.class org/elasticsearch/common/math/UnboxedMathUtils.class + + org/elasticsearch/common/lucene/search/XFilteredQuery.class +