Skip to content

Commit 77c541d

Browse files
Merge remote-tracking branch 'origin/indexLike_v3' into indexLike_v3
2 parents 7484410 + 3ad0404 commit 77c541d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

server/src/main/java/org/elasticsearch/index/mapper/MappedFieldType.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff 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() + "]"

0 commit comments

Comments
 (0)