mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
docs: fix inner hits snippet
This commit is contained in:
parent
6c2139c186
commit
8e0292b1aa
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user