[DOCS] Fixed fielddata regex syntax

This commit is contained in:
Clinton Gormley 2013-09-04 23:17:46 +02:00
parent 6d667e5d41
commit 8257aba166

View File

@ -85,7 +85,9 @@ expression which matches terms beginning with `#`:
analyzer: "whitespace" analyzer: "whitespace"
fielddata: { fielddata: {
filter: { filter: {
regex: "^#.*" regex: {
pattern: "^#.*"
}
} }
} }
} }
@ -105,7 +107,9 @@ The `frequency` and `regex` filters can be combined:
analyzer: "whitespace" analyzer: "whitespace"
fielddata: { fielddata: {
filter: { filter: {
regex: "^#.*", regex: {
pattern: "^#.*",
},
frequency: { frequency: {
min: 0.001, min: 0.001,
max: 0.1, max: 0.1,