Learn how to customize stop-word dictionaries through the dashboard.
Stop words are the most common words in a language,
such as “the”, “that”, and “it” in English.
These words don’t give useful clues in a search.
They appear in many and can cause false positives in search results.The removeStopWords parameter controls whether Algolia removes stop words from the .
Turn it on if your users search with stop words or natural language, as in voice search.
Leave it off if they search with keywords only.
The index’s query language then decides which dictionaries apply.
With no query language set, removeStopWords applies to every supported language.Algolia provides a built-in stop-word dictionary for each supported language.
In the Algolia dashboard, you can add your own words to these dictionaries.Each Algolia uses one stop-word dictionary per language.
To ignore words in one only, use the optionalWords parameter.
A stop word can matter for your use case.
For example, if your catalog has down jackets and other jackets, queries must keep “down” to return relevant results.To keep a word in the query, you can turn off the stop-word entry.To turn off or delete stop words:
To apply only your own stop words, turn off all the built-in stop words first.
Then add your words one at a time, or upload them in bulk.You must choose which language’s dictionary to customize.
Set that language as the index’s queryLanguages and turn on removeStopWords.Open a stop-word dictionary, then select Actions:
To turn off the built-in stop words, select Disable Algolia words.
To upload your own list, select Upload your list of words.
To export what you added, select Download the list of your custom words as JSON or as CSV.
Every row needs all five columns, and type must be custom.
In CSV, don’t put a space after a comma.
The dashboard matches the header row character for character, so language doesn’t match language, and the upload skips the rows it can’t match.