Closed KonradHoeffner closed 1 year ago
On the index page search field ("Enter a term..."), users should get autocompletion and fuzzy search. There are search libraries to choose from:
Fuse.js has fuzzy search, is easy to use (supply JSON array with fields) and allows weighted search
List.js adds search to HTML elements which would be nice for autocomplete.
FlexSearch seems to be the fastest and most memory efficient
[x] They all seem to accept JSON, so as a first step we need to convert HITO into a suitable JSON document, for example using a SPARQL select query.
Trying out FlexSearch first.
Using FlexSearch for now.
On the index page search field ("Enter a term..."), users should get autocompletion and fuzzy search. There are search libraries to choose from:
Fuse.js has fuzzy search, is easy to use (supply JSON array with fields) and allows weighted search
List.js adds search to HTML elements which would be nice for autocomplete.
FlexSearch seems to be the fastest and most memory efficient
[x] They all seem to accept JSON, so as a first step we need to convert HITO into a suitable JSON document, for example using a SPARQL select query.