AT:
- When I perform a variable value request, then I can filter for more then just variable value prefixes
- The filtering algorithm works as follows:
- Keep only those entries, where the provided filter value matches anything in the variable value, e.g. input: foo, value list: [foooooo, barfoobar, barfoo, bfbaroobar] -> filter result: [foooooo, barfoobar, barfoo]
- the filtering is case insensitive, e.g. input: foo, value list: [FOO, FoO, foo, fOO, BAR] -> filter result: [FOO, FoO, foo, fOO]
- if the input is empty, I get all entries
- the REST-API documentation is adjusted according to possible changes in the API
Hint:
- I might make sense to rename the "valuePrefix" query parameter into something like "valueFilter"
- Use an additional multi-field to apply a lowercase token filter in a text field
- Don't forget to adjust the upgrade script, if you change the Elasticsearch data structure