We have a small data set and he would like to find it using a smart way to fill in an autocomplete input field. The user wants to search for one type of entity, but must be able to add attributes of related types.
Since our application is very industry specific, I will try to include the abstract question in a more relevant context:
Example : a user wants to select a certain type of fruit and can use many different characteristics of the fruit to find it. She can search for her name (apple), special types of the same fruit (golden delicious), localized versions (apfel, ΨͺΩΨ§Ψ, pomme), but also other characteristics, such as food containing fruits (pandas, cider) or even full-text results search for his description.
Usually I would like to use something like solr or elasticsearch , but our data set is not very large with 4-5 related objects with a maximum of 200 elements each. In addition, it will remain very static, with several editorial additions every week. Therefore, we thought about using the browser data store to manage and search for some kind of index. The problem is that in our research we could not find anything that goes far beyond abstracting Web SQL or an indexed database .
Are there projects or libraries that do something like solr or elasticsearch and can be used on the client side for small datasets? We are looking for the following features.
- Quick search
- Pre-processing (tokenization, filtering ...)
- Order
- Rating, increase in requests
It should work with the latest browsers and a mobile, dumb reserve for other browsers (i.e. full-text search) acceptable
source share