Highlight Keywords in Query Results using the Instantsearch JS Hits Widget

InstructorRaphael Terrier

Share this video with your friends

Send Tweet

Every good search UX make users understand instantly why a given hit is being displayed as part of the result set. One way to achieve that is to highlight the keywords from the query directly inside the Hits. This is built in the API JSON response and in this video we’ll explain how to leverage it easily.