Add more context to results
Done when
- Search results in the search-as-you-type form include breadcrumbs, like our current search
- Search results on the results page include breadcrumbs, like our current search
- Search results on the results page include snippets that show their relevant matched text, like current search
Implementation info
- Breadcrumbs are included on each page as a meta tag and should already be included in the result object
- Snippets can be retrieved from Elastic by adjusting our request parameters (like this maybe: https://www.elastic.co/docs/current/search-ui/api/core/configuration#result_fields)
- Try to use our existing Vue templates so we can be somewhat sure of not introducing visual changes/regressions
Edited by Sarah German