Docs: The regexp query defaults to the ALL flag, and removed

the `AUTOMATON` flag which is not used in Elasticsearch.

Closes #6180
This commit is contained in:
Clinton Gormley 2014-12-30 19:53:15 +01:00
parent 0e24f34b0c
commit f83909f7ae
2 changed files with 4 additions and 6 deletions

View File

@ -50,7 +50,7 @@ You can also use special flags
}
--------------------------------------------------
Possible flags are `ALL`, `ANYSTRING`, `AUTOMATON`, `COMPLEMENT`,
Possible flags are `ALL` (default), `ANYSTRING`, `COMPLEMENT`,
`EMPTY`, `INTERSECTION`, `INTERVAL`, or `NONE`. Please check the
http://lucene.apache.org/core/4_9_0/core/org/apache/lucene/util/automaton/RegExp.html[Lucene
documentation] for their meaning

View File

@ -202,11 +202,9 @@ For string `"abcd"`:
===== Optional operators
These operators are only available when they are explicitly enabled, by
passing `flags` to the query.
Multiple flags can be enabled either using the `ALL` flag, or by
concatenating flags with a pipe `"|"`:
These operators are available by default as the `flags` parameter defaults to `ALL`.
Different flag combinations (concatened with `"\"`) can be used to enable/disable
specific operators:
{
"regexp": {