algoliasearch.querysuggestions

Members list

Type members

Classlikes

case class AppID(appID: Option[String])

AppID

AppID

Value parameters

appID

Algolia application ID to which this Query Suggestions configuration belongs.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BaseResponse(status: Option[Int], message: Option[String])

BaseResponse

BaseResponse

Value parameters

message

Details about the response, such as error messages.

status

HTTP status code.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ErrorBase(message: Option[String], additionalProperties: Option[List[JField]])

Error.

Error.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class ErrorBaseSerializer extends Serializer[ErrorBase]

Attributes

Supertypes
trait Serializer[ErrorBase]
class Object
trait Matchable
class Any
case class Facet(attribute: Option[String], amount: Option[Int])

Facet to use as category.

Facet to use as category.

Value parameters

amount

Number of suggestions.

attribute

Facet name.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class GetConfigStatus200Response(indexName: Option[String], isRunning: Option[Boolean], lastBuiltAt: Option[String], lastSuccessfulBuiltAt: Option[String], lastSuccessfulBuildDuration: Option[String])

GetConfigStatus200Response

GetConfigStatus200Response

Value parameters

indexName

Name of the Query Suggestions index (case-sensitive).

isRunning

Whether the creation or update of the Query Suggestions index is in progress.

lastBuiltAt

Date and time when the Query Suggestions index was last built, in RFC 3339 format.

lastSuccessfulBuildDuration

Duration of the last successful build in seconds.

lastSuccessfulBuiltAt

Date and time when the Query Suggestions index was last updated successfully.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class GetLogFile200Response(timestamp: Option[String], level: Option[LogLevel], message: Option[String], contextLevel: Option[Int])

GetLogFile200Response

GetLogFile200Response

Value parameters

contextLevel

Level indicating the position of a suggestion in a hierarchy of records. For example, a contextLevel of 1 indicates that this suggestion belongs to a previous suggestion with contextLevel 0.

message

Details about this log entry.

timestamp

Date and time of the log entry, in RFC 3339 format.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object JsonSupport

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait Languages

Languages for deduplicating singular and plural suggestions. If specified, only the more popular form is included.

Languages for deduplicating singular and plural suggestions. If specified, only the more popular form is included.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Languages

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Languages.type
object LanguagesSerializer extends Serializer[Languages]

Attributes

Supertypes
trait Serializer[Languages]
class Object
trait Matchable
class Any
Self type
sealed trait LogLevel

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ERROR.type
object INFO.type
object SKIP.type
object LogLevel

Type of log entry. - SKIP. A query is skipped because it doesn't match the conditions for successful inclusion. For example, when a query doesn't generate enough search results. - INFO. An informative log entry. - ERROR. The Query Suggestions process encountered an error.

Type of log entry. - SKIP. A query is skipped because it doesn't match the conditions for successful inclusion. For example, when a query doesn't generate enough search results. - INFO. An informative log entry. - ERROR. The Query Suggestions process encountered an error.

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
LogLevel.type
class LogLevelSerializer extends CustomSerializer[LogLevel]

Attributes

Supertypes
class CustomSerializer[LogLevel]
trait Serializer[LogLevel]
class Object
trait Matchable
class Any
case class QuerySuggestionsConfiguration(sourceIndices: Seq[SourceIndex], languages: Option[Languages], exclude: Option[Seq[String]], enablePersonalization: Option[Boolean], allowSpecialCharacters: Option[Boolean])

Query Suggestions configuration.

Query Suggestions configuration.

Value parameters

allowSpecialCharacters

Whether to include suggestions with special characters.

enablePersonalization

Whether to turn on personalized query suggestions.

sourceIndices

Algolia indices from which to get the popular searches for query suggestions.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class QuerySuggestionsConfigurationResponse(appID: String, indexName: String, sourceIndices: Seq[SourceIndex], languages: Languages, exclude: Option[Seq[String]], enablePersonalization: Boolean, allowSpecialCharacters: Boolean)

API response for retrieving Query Suggestions configurations.

API response for retrieving Query Suggestions configurations.

Value parameters

allowSpecialCharacters

Whether to include suggestions with special characters.

appID

Algolia application ID to which this Query Suggestions configuration belongs.

enablePersonalization

Whether to turn on personalized query suggestions.

indexName

Name of the Query Suggestions index (case-sensitive).

sourceIndices

Algolia indices from which to get the popular searches for query suggestions.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class QuerySuggestionsConfigurationWithIndex(sourceIndices: Seq[SourceIndex], languages: Option[Languages], exclude: Option[Seq[String]], enablePersonalization: Option[Boolean], allowSpecialCharacters: Option[Boolean], indexName: String)

Query Suggestions configuration.

Query Suggestions configuration.

Value parameters

allowSpecialCharacters

Whether to include suggestions with special characters.

enablePersonalization

Whether to turn on personalized query suggestions.

indexName

Name of the Query Suggestions index (case-sensitive).

sourceIndices

Algolia indices from which to get the popular searches for query suggestions.

Attributes

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

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

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all