haystack-website icon indicating copy to clipboard operation
haystack-website copied to clipboard

Design Search Bar

Open brandenchan opened this issue 2 years ago • 1 comments

  • We plan in the near future to have a fully fledged search function in our website
    • In the short term we can just have a basic keyword search
  • We could just create a ES + Retriever system in Haystack
    • Let's support versions by attaching it as filterable metadata
    • Search should only return results from the version of the page the user is currently on
  • For this, we need a basic design and implementation for the search bar
    • Shows page info for search results
    • Shows some context around the matched word
    • Users can click on a page to get
    • Algolia UI kit can be inspiration for what this might look like
    • Can handle both highlighted sentences as return or whole pages
  • Would be good if its possible to track user click behaviour
  • Can potentially be extended in future for autocompletion and also suggested questions

brandenchan avatar Apr 20 '22 14:04 brandenchan

@brandenchan do you have a simple search backend in place that we can make use of for this?

fstau avatar Apr 27 '22 07:04 fstau