Elastic App Search Filter targeting CSV field
Solution 1:
App Search supports arrays for filtering, so instead of indexing that field as "fruit, vegetables"
, provide it as ["fruit", "vegetables"]
and they will be considered as independent values for the document, which would match for either of them.
Reference: https://www.elastic.co/guide/en/app-search/current/filters.html