TermsToHighlight: { [originalTerm: string]: string[] }

Terms to highlight (with stemming) in the results.

E.g., for the query "indexing consultant", where a result contains "Techzample is a consulting firm specializing in search indexes. It employs consultants that can analyze and improve your search index.", the TermsToHighlight might be { "indexing": ["indexes", "index"], "consultant": ["consulting", "consultants"] }.

Type declaration

  • [originalTerm: string]: string[]