Disabling Highlighting Discussion
TLDR Robert inquired about disabling highlighting. Kishore Nallan suggested sending highlight_fields=x
where x
doesn't exist and Robert recommended updating documentation.
2
Oct 21, 2022 (12 months ago)
Robert
03:17 AMKishore Nallan
03:21 AMhighlight_fields=x
Kishore Nallan
03:21 AMx
is just any field that does not exist.1
Robert
03:31 AMRobert
03:33 AMhighlight_fields
to state that specying a field that does not exist will disable highlighting. I can submit a github issue for it if you'd like 🙂1
Typesense
Indexed 2779 threads (79% resolved)
Similar Threads
Turning Off Highlighting Feature for Better Performance
JinW inquired about disabling highlights to increase performance. Kishore Nallan explained that the feature can't be turned off, but it likely won't impact performance.
Discussing Typesense Search Highlighting Capabilities
Jack enquiries about getting highlight data to include all fields in an object on Typesense. Jason clarifies that only specific fields in 'query_by' will be returned, which resolves the issue for Jack.
Querying and Excluding Fields from Large Documents
Six sought assistance with querying and excluding specific fields in large documents. Kishore Nallan clarified fields to exclude are also excluded from highlights, hence suggested `highlight_fields` param. Six implemented the suggestion and resolved the issue.