Order and Meaning in Returned Highlight Fields
TLDR SamHendley was unclear about the order of returned highlight fields. Jason clarified that fields with better matches show up earlier and that they will switch to the
highlight object soon.
Nov 17, 2022 (13 months ago)
highlightkey or the
highlightobject, since that’s the new structure that supported nested fields
Indexed 3011 threads (79% resolved)
Duplicate Highlight Keys in Search Results
Manish noticed two highlight keys in search results. Jason explained "highlight" is the newer key for nested fields, while "highlights" is for backward compatibility.
Creating Schema for Nested Objects in JSON
Greg asked about creating schemas for nested objects in JSON. Jason provided information about indexing nested fields in Typesense v0.24.0. PneuViz requested details about replacing the 'highlights' field with 'highlight' in the new version.
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.