I'm sure I'm missing something obvious but have do...
# community-help
o
I'm sure I'm missing something obvious but have done a good amount of searching, is there a way to return the highlights/snippets for a field but not the full field itself? I'm aware there is
exclude_fields
and
include_fields
but these appear to change the returned fields and also also the highlights. The usecase here is just a simple search of a large collection of big documents, I want to see the text that was matched but obviously not the whole document if it's book-sized or larger. Edit: as I suspected I was being stupid. Missed it right in the middle of the docs.
highlight_fields
seems to be what I'm after