gbv / jskos-server

Web service to access JSKOS data
https://coli-conc.gbv.de/api/
MIT License
6 stars 4 forks source link

Search/Typeahead: Fallback to word stem if there are no results #50

Open stefandesu opened 5 years ago

stefandesu commented 5 years ago

If there are no results for a search term, the search could fall back to the stem of the word. The question is whether to implement this in Cocoda (i.e. in the ConceptApiProvider) or only in our backend (which would therefore only work for the vocabularies hosted in jskos-server).

Could use natural (no support for English yet) or node-snowball (not updated in 2 years, but support for a variety of languages).

stefandesu commented 5 years ago

Maybe related to #43.

nichtich commented 5 years ago

See also this great article on autocomplete.

stefandesu commented 5 years ago

See also this great article on autocomplete.

While I agree on the points in the article, it doesn't have much to do with this issue, and also our search fares pretty well looking at that list.