Skip to content

Commit

Permalink
Tiny correction in inner-hits.asciidoc (#25066)
Browse files Browse the repository at this point in the history
  • Loading branch information
yibinlin authored and cbuescher committed Jun 6, 2017
1 parent 3ab4b22 commit 84f9dcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/search/request/inner-hits.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Nested document don't have a `_source` field, because the entire source of docum
its `_source` field. To include the source of just the nested document, the source of the root document is parsed and just
the relevant bit for the nested document is included as source in the inner hit. Doing this for each matching nested document
has an impact on the time it takes to execute the entire search request, especially when `size` and the inner hits' `size`
are set higher than the default. To avoid the relative expensive source extraction for nested inner hits, one can disable
are set higher than the default. To avoid the relatively expensive source extraction for nested inner hits, one can disable
including the source and solely rely on stored fields.

Enabled stored field for fields under the nested object field in your mapping:
Expand Down Expand Up @@ -273,4 +273,4 @@ An example of a response snippet that could be generated from the above search r
}
},
...
--------------------------------------------------
--------------------------------------------------

0 comments on commit 84f9dcc

Please sign in to comment.