docs: fix inner hits snippet

This commit is contained in:
Martijn van Groningen 2015-01-19 18:56:25 +01:00
parent 6c2139c186
commit 8e0292b1aa

View File

@ -16,11 +16,9 @@ The structure looks like this:
[source,js]
--------------------------------------------------
"inner_hits" : {
"<query>" : {
"inner_hits" : {
<inner_hits_options>
}
"<query>" : {
"inner_hits" : {
<inner_hits_options>
}
}
--------------------------------------------------
@ -283,4 +281,4 @@ Additional options that are only available when using the top level inner hits n
`query`:: Defines the query that will run in the defined nested, parent or child scope to collect and score hits. By default all document in the scope will be matched.
Either `path` or `type` must be defined. The `path` or `type` defines the scope from where hits are fetched and
used as inner hits.
used as inner hits.