[DOCS] Fix query docs formatting (#60752) (#60760)

This commit is contained in:
James Rodewig 2020-08-05 12:47:42 -04:00 committed by GitHub
parent f64e572e69
commit 3f9152c835
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View File

@ -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,

View File

@ -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`>>

View File

@ -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 } }
}
}
}