File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
server/src/main/java/org/elasticsearch/index Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -380,9 +380,12 @@ public Query regexpQuery(
380380 );
381381 }
382382
383- public Query automatonQuery (Automaton automaton ,
384- @ Nullable MultiTermQuery .RewriteMethod method ,
385- SearchExecutionContext context , String description ){
383+ public Query automatonQuery (
384+ Automaton automaton ,
385+ @ Nullable MultiTermQuery .RewriteMethod method ,
386+ SearchExecutionContext context ,
387+ String description
388+ ) {
386389 throw new QueryShardException (
387390 context ,
388391 "Can only use automaton queries on keyword fields - not on [" + name + "] which is of type [" + typeName () + "]"
Original file line number Diff line number Diff line change 1010package org .elasticsearch .index .query ;
1111
1212import org .apache .lucene .index .Term ;
13- import org .apache .lucene .search .AutomatonQuery ;
1413import org .apache .lucene .search .Query ;
1514import org .apache .lucene .util .automaton .Automaton ;
1615import org .elasticsearch .TransportVersion ;
You can’t perform that action at this time.
0 commit comments