Docs: Update nested-filter.asciidoc
Fix whitespace to standardize on spaces for indents on both code examples for readability. Closes #6568
This commit is contained in:
parent
aa1dbc0778
commit
4f417aa774
|
@ -46,33 +46,33 @@ This is useful when a `nested` filter is used in a facet where nested is enabled
|
|||
--------------------------------------------------
|
||||
{
|
||||
"query" : {
|
||||
"nested" : {
|
||||
"path" : "offers",
|
||||
"query" : {
|
||||
"match" : {
|
||||
"offers.color" : "blue"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"facets" : {
|
||||
"size" : {
|
||||
"terms" : {
|
||||
"field" : "offers.size"
|
||||
},
|
||||
"facet_filter" : {
|
||||
"nested" : {
|
||||
"path" : "offers",
|
||||
"query" : {
|
||||
"match" : {
|
||||
"offers.color" : "blue"
|
||||
}
|
||||
},
|
||||
"join" : false
|
||||
}
|
||||
},
|
||||
"nested" : "offers"
|
||||
}
|
||||
}
|
||||
"nested" : {
|
||||
"path" : "offers",
|
||||
"query" : {
|
||||
"match" : {
|
||||
"offers.color" : "blue"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"facets" : {
|
||||
"size" : {
|
||||
"terms" : {
|
||||
"field" : "offers.size"
|
||||
},
|
||||
"facet_filter" : {
|
||||
"nested" : {
|
||||
"path" : "offers",
|
||||
"query" : {
|
||||
"match" : {
|
||||
"offers.color" : "blue"
|
||||
}
|
||||
},
|
||||
"join" : false
|
||||
}
|
||||
},
|
||||
"nested" : "offers"
|
||||
}
|
||||
}
|
||||
}'
|
||||
--------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue