Hello, If we don’t add field names like `fullText...
# community-help
r
Hello, If we don’t add field names like
fullText
or
content
to
include_fields
, we’re unable to retrieve highlighted snippets from those fields. Is there a way to obtain highlighted snippets without explicitly specifying the field names in
include_fields
?
f
Hey Rena, By default, all the fields mentioned in the
query_by
parameter will be highlighted if they have a match. If
include_fields
isn't defined, it will return every field present in the document, and will highlight the
query_by
fields. If
include_fields
is explicitly defined, then only fields that are both present in
query_by
and
include_fields
will be highlighted.