elastic / app-search-javascript

Elastic App Search Official JavaScript Client
https://www.elastic.co/products/app-search
Apache License 2.0
66 stars 21 forks source link

Support filters in query suggestion #36

Closed panpanpandas closed 2 years ago

panpanpandas commented 2 years ago

We have a use case where we would like to add filters in query suggestion (e.g. filter out disabled products). Elastic Search itself supports the use case, however, app search doesn't support filters yet. Could you add the support? Thanks in advance!

App search query suggestion doc - https://www.elastic.co/guide/en/app-search/current/query-suggestions-guide.html Elastic Search suggester doc - https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters.html

JasonStoltz commented 2 years ago

I will pass this feedback onto the product team, thanks!

684efs3 commented 2 years ago

Has this been added? I would like to add a geospatial filter, like mentioned here: https://swiftype.com/documentation/site-search/searching/filtering

Screen Shot 2022-04-21 at 11 35 51 AM