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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product