SourceIndex
algoliasearch.querysuggestions.SourceIndex
case class SourceIndex(indexName: String, replicas: Option[Boolean], analyticsTags: Option[Seq[String]], facets: Option[Seq[Facet]], minHits: Option[Int], minLetters: Option[Int], generate: Option[Seq[Seq[String]]], external: Option[Seq[String]])
Configuration of an Algolia index for Query Suggestions.
Value parameters
- indexName
-
Name of the Algolia index (case-sensitive) to use as source for query suggestions.
- minHits
-
Minimum number of hits required to be included as a suggestion. A search query must at least generate
minHits
search results to be included in the Query Suggestions index. - minLetters
-
Minimum letters required to be included as a suggestion. A search query must be at least
minLetters
long to be included in the Query Suggestions index. - replicas
-
If true, Query Suggestions uses all replica indices to find popular searches. If false, only the primary index is used.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article