We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7484410 + 3ad0404 commit 77c541dCopy full SHA for 77c541d
server/src/main/java/org/elasticsearch/index/mapper/MappedFieldType.java
@@ -380,9 +380,12 @@ public Query regexpQuery(
380
);
381
}
382
383
- public Query automatonQuery(Automaton automaton,
384
- @Nullable MultiTermQuery.RewriteMethod method,
385
- SearchExecutionContext context, String description){
+ public Query automatonQuery(
+ Automaton automaton,
+ @Nullable MultiTermQuery.RewriteMethod method,
386
+ SearchExecutionContext context,
387
+ String description
388
+ ) {
389
throw new QueryShardException(
390
context,
391
"Can only use automaton queries on keyword fields - not on [" + name + "] which is of type [" + typeName() + "]"
0 commit comments