No matches for sentence in Algolia. Match in Elastic. How to improve?

Hi

I am very impressed with Algolia. Ease of use and speed is incredible.

However, I have problems getting search results when writing sentences. I have indexed the same data in Elasticsearch and in Algolia. When searching for a sentence e.g. ‘the cat died inside the box’ (multimatch) in ElasticSearch I get relevant results but no results in Algolia. I get very good (and fast) results if I search for ‘cat’. Can you help ?

Best Regards

Jens

Figured it out. Change removeWordsIfNoResults and change prefix settings

1 Like

Yep, that’s it @jmad! For anyone viewing this, the relevant documentation is here:

https://www.algolia.com/doc/api-client/javascript/parameters/removeWordsIfNoResults/