mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
[DOCS] Fixed fielddata regex syntax
This commit is contained in:
parent
6d667e5d41
commit
8257aba166
@ -85,7 +85,9 @@ expression which matches terms beginning with `#`:
|
||||
analyzer: "whitespace"
|
||||
fielddata: {
|
||||
filter: {
|
||||
regex: "^#.*"
|
||||
regex: {
|
||||
pattern: "^#.*"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -105,7 +107,9 @@ The `frequency` and `regex` filters can be combined:
|
||||
analyzer: "whitespace"
|
||||
fielddata: {
|
||||
filter: {
|
||||
regex: "^#.*",
|
||||
regex: {
|
||||
pattern: "^#.*",
|
||||
},
|
||||
frequency: {
|
||||
min: 0.001,
|
||||
max: 0.1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user