mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-23 13:26:02 +00:00
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:
parent
0e24f34b0c
commit
f83909f7ae
@ -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
|
`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
|
http://lucene.apache.org/core/4_9_0/core/org/apache/lucene/util/automaton/RegExp.html[Lucene
|
||||||
documentation] for their meaning
|
documentation] for their meaning
|
||||||
|
@ -202,11 +202,9 @@ For string `"abcd"`:
|
|||||||
|
|
||||||
===== Optional operators
|
===== Optional operators
|
||||||
|
|
||||||
These operators are only available when they are explicitly enabled, by
|
These operators are available by default as the `flags` parameter defaults to `ALL`.
|
||||||
passing `flags` to the query.
|
Different flag combinations (concatened with `"\"`) can be used to enable/disable
|
||||||
|
specific operators:
|
||||||
Multiple flags can be enabled either using the `ALL` flag, or by
|
|
||||||
concatenating flags with a pipe `"|"`:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"regexp": {
|
"regexp": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user