algoliasearch.recommend.RemoveWordsIfNoResults
See theRemoveWordsIfNoResults companion trait
object RemoveWordsIfNoResults
Strategy for removing words from the query when it doesn't return any results. This helps to avoid returning empty search results. - none
. No words are removed when a query doesn't return results. - lastWords
. Treat the last (then second to last, then third to last) word as optional, until there are results or at most 5 words have been removed. - firstWords
. Treat the first (then second, then third) word as optional, until there are results or at most 5 words have been removed. - allOptional
. Treat all words as optional. For more information, see Remove words to improve results.
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Members list
In this article