parent
f64e572e69
commit
3f9152c835
|
@ -31,7 +31,7 @@ GET /_search
|
|||
{
|
||||
"query": {
|
||||
"fuzzy": {
|
||||
"user": {
|
||||
"user.id": {
|
||||
"value": "ki"
|
||||
}
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ GET /_search
|
|||
{
|
||||
"query": {
|
||||
"fuzzy": {
|
||||
"user": {
|
||||
"user.id": {
|
||||
"value": "ki",
|
||||
"fuzziness": "AUTO",
|
||||
"max_expansions": 50,
|
||||
|
|
|
@ -694,6 +694,7 @@ allows for fields to be stored in a denser, more efficient way.
|
|||
- Percolate queries do not scale in the same way as other queries, so percolation performance may benefit from using
|
||||
a different index configuration, like the number of primary shards.
|
||||
|
||||
[discrete]
|
||||
=== Notes
|
||||
==== Allow expensive queries
|
||||
Percolate queries will not be executed if <<query-dsl-allow-expensive-queries, `search.allow_expensive_queries`>>
|
||||
|
|
|
@ -15,7 +15,7 @@ GET /_search
|
|||
"query": {
|
||||
"span_multi": {
|
||||
"match": {
|
||||
"prefix": { "user": { "value": "ki" } }
|
||||
"prefix": { "user.id": { "value": "ki" } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ GET /_search
|
|||
"query": {
|
||||
"span_multi": {
|
||||
"match": {
|
||||
"prefix": { "user": { "value": "ki", "boost": 1.08 } }
|
||||
"prefix": { "user.id": { "value": "ki", "boost": 1.08 } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue