Open Askir opened 5 years ago
I'd be implementing this by also indexing all our tags into elasticsearch in addition to our artifacts.
We could also think about refactoring the search as a whole and have it not work via a simple string but instead an array of "search tags". Or even support a more fleshed out query with something like
{tags: ["xyz"], author: "Jascha", date: "dd/mm/yy"}
Checkout https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html to see how the search bar syntax could look like for an easy implementation.
As a user I want to have existing tags suggested when I start typing into the searchbar In order to not have to guess with what my artifacts have been tagged
Elasticsearch provides a pretty useful API to implement search suggestions. We can use this feature to have the searchbar suggest auto completions when a user starts typing.
Acceptance Criteria