Elasticsearch->autocomplete method was passing a "lang" filter which doesnt seem to be working, I changed
Code: Select all
'filter' => [
'term' => [
'lang' => $this->getLanguage()
]
]
Code: Select all
'filter' => [
'terms' => ['category_id' => $this->getCategoryIds()]
],
I imagine this temporary fix breaks multi-lingual support tho.