[PreSale Q] French stop word

Hi all, does all language stop word are managed when the option “Remove Stop Words” is set to true?. is there a list somewhere of those stop words please?

Hi there,

There are two ways of setting up the value of removeStopWords:

  • using a boolean value: true or false
  • using a list of languages for which you want the stop words to be removed

Today, if you use the boolean switch, all the languages are considered, which can yield to several edge cases: “thé” in French which is a word and “the” which is an English stop words. To avoid that, I advise you to set the value to "removeStopWords": ["fr"].

You can find more information here: https://www.algolia.com/doc/api-reference/api-parameters/removeStopWords/

Regarding which stop words are considered, you can find most of them here: https://www.ranks.nl/stopwords