algoliasearch.search

Members list

Type members

Classlikes

sealed trait Acl

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AddObject.type
object Analytics.type
object Browse.type
object DeleteIndex.type
object DeleteObject.type
object EditSettings.type
object Inference.type
object ListIndexes.type
object Logs.type
object Personalization.type
object Recommendation.type
object Search.type
object Settings.type
object Usage.type
Show all
object Acl

API key permissions: addObject: required to add or update records, copy or move an index. analytics: required to access the Analytics API. browse: required to view records deleteIndex: required to delete indices. deleteObject: required to delete records. editSettings: required to change index settings. inference: required to access the Inference API. listIndexes: required to list indices. logs: required to access logs of search and indexing operations. recommendation: required to access the Personalization and Recommend APIs. search: required to search records seeUnretrievableAttributes: required to retrieve unretrievableAttributes for all operations that return records. settings: required to examine index settings.

API key permissions: addObject: required to add or update records, copy or move an index. analytics: required to access the Analytics API. browse: required to view records deleteIndex: required to delete indices. deleteObject: required to delete records. editSettings: required to change index settings. inference: required to access the Inference API. listIndexes: required to list indices. logs: required to access logs of search and indexing operations. recommendation: required to access the Personalization and Recommend APIs. search: required to search records seeUnretrievableAttributes: required to retrieve unretrievableAttributes for all operations that return records. settings: required to examine index settings.

Attributes

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

Attributes

Supertypes
class CustomSerializer[Acl]
trait Serializer[Acl]
class Object
trait Matchable
class Any
sealed trait Action

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AddObject.type
object Clear.type
object Delete.type
object DeleteObject.type
object PartialUpdateObject.type
object UpdateObject.type
Show all
object Action

Type of batch operation.

Type of batch operation.

Attributes

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

Attributes

Supertypes
class CustomSerializer[Action]
trait Serializer[Action]
class Object
trait Matchable
class Any
case class AddApiKeyResponse(key: String, createdAt: String)

AddApiKeyResponse

AddApiKeyResponse

Value parameters

createdAt

Timestamp of creation in ISO-8601 format.

key

API key.

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ExactPhrase.type
object ExcludeWords.type

AdvancedSyntaxFeatures enumeration

AdvancedSyntaxFeatures enumeration

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class CustomSerializer[AdvancedSyntaxFeatures]
trait Serializer[AdvancedSyntaxFeatures]
class Object
trait Matchable
class Any
sealed trait AlternativesAsExact

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object IgnorePlurals.type
object MultiWordsSynonym.type
object SingleWordSynonym.type

AlternativesAsExact enumeration

AlternativesAsExact enumeration

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class AlternativesAsExactSerializer extends CustomSerializer[AlternativesAsExact]

Attributes

Supertypes
class CustomSerializer[AlternativesAsExact]
trait Serializer[AlternativesAsExact]
class Object
trait Matchable
class Any
sealed trait Anchoring

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Contains.type
object EndsWith.type
object Is.type
object StartsWith.type
object Anchoring

Whether the pattern parameter matches the beginning (startsWith) or end (endsWith) of the query string, is an exact match (is), or a partial match (contains).

Whether the pattern parameter matches the beginning (startsWith) or end (endsWith) of the query string, is an exact match (is), or a partial match (contains).

Attributes

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

Attributes

Supertypes
class CustomSerializer[Anchoring]
trait Serializer[Anchoring]
class Object
trait Matchable
class Any
case class ApiKey(acl: Seq[Acl], description: Option[String], indexes: Option[Seq[String]], maxHitsPerQuery: Option[Int], maxQueriesPerIPPerHour: Option[Int], queryParameters: Option[String], referers: Option[Seq[String]], validity: Option[Int])

API key object.

API key object.

Value parameters

acl

Permissions associated with the key.

description

Description of an API key for you and your team members.

indexes

Restricts this API key to a list of indices or index patterns. If the list is empty, all indices are allowed. Specify either an exact index name or a pattern with a leading or trailing wildcard character (or both). For example: - dev_* matches all indices starting with "dev_" - *_dev matches all indices ending with "_dev" - *_products_* matches all indices containing "products".

maxHitsPerQuery

Maximum number of hits this API key can retrieve in one query. If zero, no limit is enforced. > Note: Use this parameter to protect you from third-party attempts to retrieve your entire content by massively querying the index.

maxQueriesPerIPPerHour

Maximum number of API calls per hour allowed from a given IP address or user token. Each time an API call is performed with this key, a check is performed. If there were more than the specified number of calls within the last hour, the API returns an error with the status code 429 (Too Many Requests). > Note: Use this parameter to protect you from third-party attempts to retrieve your entire content by massively querying the index.

queryParameters

Force some query parameters to be applied for each query made with this API key. It's a URL-encoded query string.

referers

Restrict this API key to specific referrers. If empty, all referrers are allowed. For example: - https://algolia.com/_* matches all referrers starting with "https://algolia.com/" - *.algolia.com matches all referrers ending with ".algolia.com" - *algolia.com* allows everything in the domain "algolia.com".

validity

Validity duration of a key (in seconds). The key will automatically be removed after this time has expired. The default value of 0 never expires. Short-lived API keys are useful to grant temporary access to your data. For example, in mobile apps, you can't control when users update your app. So instead of encoding keys into your app as you would for a web app, you should dynamically fetch them from your mobile app's backend.

Attributes

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

Precision of a geographical search (in meters), to group results that are more or less the same distance from a central point.

Precision of a geographical search (in meters), to group results that are more or less the same distance from a central point.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
case class AroundPrecisionFromValueInner(from: Option[Int], value: Option[Int])

AroundPrecisionFromValueInner

AroundPrecisionFromValueInner

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object AroundPrecisionSerializer extends Serializer[AroundPrecision]

Attributes

Supertypes
trait Serializer[AroundPrecision]
class Object
trait Matchable
class Any
Self type
sealed trait AroundRadius

Maximum radius for a geographical search (in meters).

Maximum radius for a geographical search (in meters).

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class IntValue
object All.type
object AroundRadius

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait AroundRadiusAll extends AroundRadiusTrait

Attributes

Companion
object
Supertypes
trait AroundRadius
class Object
trait Matchable
class Any
Known subtypes
object All.type

AroundRadiusAll enumeration

AroundRadiusAll enumeration

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class AroundRadiusAllSerializer extends CustomSerializer[AroundRadiusAll]

Attributes

Supertypes
class CustomSerializer[AroundRadiusAll]
trait Serializer[AroundRadiusAll]
class Object
trait Matchable
class Any
object AroundRadiusSerializer extends Serializer[AroundRadius]

Attributes

Supertypes
trait Serializer[AroundRadius]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait AroundRadius
class Object
trait Matchable
class Any
Known subtypes
object All.type
case class AssignUserIdParams(cluster: String)

Assign userID parameters.

Assign userID parameters.

Value parameters

cluster

Cluster name.

Attributes

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

AttributeToUpdate

AttributeToUpdate

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
object AttributeToUpdateSerializer extends Serializer[AttributeToUpdate]

Attributes

Supertypes
trait Serializer[AttributeToUpdate]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class AutomaticFacetFilter(facet: String, score: Option[Int], disjunctive: Option[Boolean])

Automatic facet Filter.

Automatic facet Filter.

Value parameters

disjunctive

Whether the filter is disjunctive (true) or conjunctive (false).

facet

Attribute to filter on. This must match a facet placeholder in the Rule's pattern.

score

Score for the filter. Typically used for optional or disjunctive filters.

Attributes

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

Names of facets to which automatic filtering must be applied; they must match the facet name of a facet value placeholder in the query pattern.

Names of facets to which automatic filtering must be applied; they must match the facet name of a facet value placeholder in the query pattern.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait Serializer[AutomaticFacetFilters]
class Object
trait Matchable
class Any
Self type
case class BaseGetApiKeyResponse(value: Option[String], createdAt: Long)

BaseGetApiKeyResponse

BaseGetApiKeyResponse

Value parameters

createdAt

Timestamp of creation in milliseconds in Unix epoch time.

value

API key.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BaseIndexSettings(replicas: Option[Seq[String]], paginationLimitedTo: Option[Int], unretrievableAttributes: Option[Seq[String]], disableTypoToleranceOnWords: Option[Seq[String]], attributesToTransliterate: Option[Seq[String]], camelCaseAttributes: Option[Seq[String]], decompoundedAttributes: Option[Any], indexLanguages: Option[Seq[String]], disablePrefixOnAttributes: Option[Seq[String]], allowCompressionOfIntegerArray: Option[Boolean], numericAttributesForFiltering: Option[Seq[String]], separatorsToIndex: Option[String], searchableAttributes: Option[Seq[String]], userData: Option[Any], customNormalization: Option[Map[String, Map[String, String]]], attributeForDistinct: Option[String])

BaseIndexSettings

BaseIndexSettings

Value parameters

allowCompressionOfIntegerArray

Incidates whether the engine compresses arrays with exclusively non-negative integers. When enabled, the compressed arrays may be reordered.

attributeForDistinct

Name of the deduplication attribute to be used with Algolia's distinct feature.

attributesToTransliterate

Attributes in your index to which Japanese transliteration applies. This will ensure that words indexed in Katakana or Kanji can also be searched in Hiragana.

camelCaseAttributes

Attributes on which to split camel case words.

customNormalization

A list of characters and their normalized replacements to override Algolia's default normalization.

decompoundedAttributes

Attributes in your index to which word segmentation (decompounding) applies.

disablePrefixOnAttributes

Attributes for which you want to turn off prefix matching.

disableTypoToleranceOnWords

Words for which you want to turn off typo tolerance.

indexLanguages

Set the languages of your index, for language-specific processing steps such as tokenization and normalization.

numericAttributesForFiltering

Numeric attributes that can be used as numerical filters.

paginationLimitedTo

Maximum number of hits accessible through pagination.

replicas

Creates replicas, which are copies of a primary index with the same records but different settings.

searchableAttributes

Attributes used for searching, including determining if matches at the beginning of a word are important (ordered) or not (unordered).

separatorsToIndex

Controls which separators are added to an Algolia index as part of normalization. Separators are all non-letter characters except spaces and currency characters, such as $€£¥.

unretrievableAttributes

Attributes that can't be retrieved at query time.

userData

Lets you store custom data in your indices.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BaseSearchParams(query: Option[String], similarQuery: Option[String], filters: Option[String], facetFilters: Option[FacetFilters], optionalFilters: Option[OptionalFilters], numericFilters: Option[NumericFilters], tagFilters: Option[TagFilters], sumOrFiltersScores: Option[Boolean], restrictSearchableAttributes: Option[Seq[String]], facets: Option[Seq[String]], facetingAfterDistinct: Option[Boolean], page: Option[Int], offset: Option[Int], length: Option[Int], aroundLatLng: Option[String], aroundLatLngViaIP: Option[Boolean], aroundRadius: Option[AroundRadius], aroundPrecision: Option[AroundPrecision], minimumAroundRadius: Option[Int], insideBoundingBox: Option[Seq[Seq[Double]]], insidePolygon: Option[Seq[Seq[Double]]], naturalLanguages: Option[Seq[String]], ruleContexts: Option[Seq[String]], personalizationImpact: Option[Int], userToken: Option[String], getRankingInfo: Option[Boolean], explain: Option[Seq[String]], synonyms: Option[Boolean], clickAnalytics: Option[Boolean], analytics: Option[Boolean], analyticsTags: Option[Seq[String]], percentileComputation: Option[Boolean], enableABTest: Option[Boolean])

BaseSearchParams

BaseSearchParams

Value parameters

analytics

Indicates whether this query will be included in analytics.

analyticsTags

Tags to apply to the query for segmenting analytics data.

aroundLatLng

Search for entries around a central location, enabling a geographical search within a circular area.

aroundLatLngViaIP

Search for entries around a location. The location is automatically computed from the requester's IP address.

clickAnalytics

Indicates whether a query ID parameter is included in the search response. This is required for tracking click and conversion events.

enableABTest

Incidates whether this search will be considered in A/B testing.

explain

Enriches the API's response with information about how the query was processed.

facetingAfterDistinct

Forces faceting to be applied after de-duplication (with the distinct feature). Alternatively, the afterDistinct modifier of attributesForFaceting allows for more granular control.

facets

Returns facets, their facet values, and the number of matching facet values.

filters

Filter the query with numeric, facet, or tag filters.

getRankingInfo

Incidates whether the search response includes detailed ranking information.

insideBoundingBox

Search inside a rectangular area (in geographical coordinates).

insidePolygon

Search inside a polygon (in geographical coordinates).

length

Sets the number of hits to retrieve (for use with offset). > Note: Using page and hitsPerPage is the recommended method for paging results. However, you can use offset and length to implement an alternative approach to paging.

minimumAroundRadius

Minimum radius (in meters) used for a geographical search when aroundRadius isn't set.

naturalLanguages

Changes the default values of parameters that work best for a natural language query, such as ignorePlurals, removeStopWords, removeWordsIfNoResults, analyticsTags, and ruleContexts. These parameters work well together when the query consists of fuller natural language strings instead of keywords, for example when processing voice search queries.

offset

Specifies the offset of the first hit to return. > Note: Using page and hitsPerPage is the recommended method for paging results. However, you can use offset and length to implement an alternative approach to paging.

page

Page to retrieve (the first page is 0, not 1).

percentileComputation

Whether to include or exclude a query from the processing-time percentile computation.

personalizationImpact

Defines how much Personalization affects results.

query

Text to search for in an index.

restrictSearchableAttributes

Restricts a query to only look at a subset of your searchable attributes.

ruleContexts

Assigns rule contexts to search queries.

similarQuery

Overrides the query parameter and performs a more generic search.

sumOrFiltersScores

Determines how to calculate filter scores. If false, maximum score is kept. If true, score is summed.

synonyms

Whether to take into account an index's synonyms for a particular search.

userToken

Associates a user token with the current search.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BaseSearchParamsWithoutQuery(similarQuery: Option[String], filters: Option[String], facetFilters: Option[FacetFilters], optionalFilters: Option[OptionalFilters], numericFilters: Option[NumericFilters], tagFilters: Option[TagFilters], sumOrFiltersScores: Option[Boolean], restrictSearchableAttributes: Option[Seq[String]], facets: Option[Seq[String]], facetingAfterDistinct: Option[Boolean], page: Option[Int], offset: Option[Int], length: Option[Int], aroundLatLng: Option[String], aroundLatLngViaIP: Option[Boolean], aroundRadius: Option[AroundRadius], aroundPrecision: Option[AroundPrecision], minimumAroundRadius: Option[Int], insideBoundingBox: Option[Seq[Seq[Double]]], insidePolygon: Option[Seq[Seq[Double]]], naturalLanguages: Option[Seq[String]], ruleContexts: Option[Seq[String]], personalizationImpact: Option[Int], userToken: Option[String], getRankingInfo: Option[Boolean], explain: Option[Seq[String]], synonyms: Option[Boolean], clickAnalytics: Option[Boolean], analytics: Option[Boolean], analyticsTags: Option[Seq[String]], percentileComputation: Option[Boolean], enableABTest: Option[Boolean])

BaseSearchParamsWithoutQuery

BaseSearchParamsWithoutQuery

Value parameters

analytics

Indicates whether this query will be included in analytics.

analyticsTags

Tags to apply to the query for segmenting analytics data.

aroundLatLng

Search for entries around a central location, enabling a geographical search within a circular area.

aroundLatLngViaIP

Search for entries around a location. The location is automatically computed from the requester's IP address.

clickAnalytics

Indicates whether a query ID parameter is included in the search response. This is required for tracking click and conversion events.

enableABTest

Incidates whether this search will be considered in A/B testing.

explain

Enriches the API's response with information about how the query was processed.

facetingAfterDistinct

Forces faceting to be applied after de-duplication (with the distinct feature). Alternatively, the afterDistinct modifier of attributesForFaceting allows for more granular control.

facets

Returns facets, their facet values, and the number of matching facet values.

filters

Filter the query with numeric, facet, or tag filters.

getRankingInfo

Incidates whether the search response includes detailed ranking information.

insideBoundingBox

Search inside a rectangular area (in geographical coordinates).

insidePolygon

Search inside a polygon (in geographical coordinates).

length

Sets the number of hits to retrieve (for use with offset). > Note: Using page and hitsPerPage is the recommended method for paging results. However, you can use offset and length to implement an alternative approach to paging.

minimumAroundRadius

Minimum radius (in meters) used for a geographical search when aroundRadius isn't set.

naturalLanguages

Changes the default values of parameters that work best for a natural language query, such as ignorePlurals, removeStopWords, removeWordsIfNoResults, analyticsTags, and ruleContexts. These parameters work well together when the query consists of fuller natural language strings instead of keywords, for example when processing voice search queries.

offset

Specifies the offset of the first hit to return. > Note: Using page and hitsPerPage is the recommended method for paging results. However, you can use offset and length to implement an alternative approach to paging.

page

Page to retrieve (the first page is 0, not 1).

percentileComputation

Whether to include or exclude a query from the processing-time percentile computation.

personalizationImpact

Defines how much Personalization affects results.

restrictSearchableAttributes

Restricts a query to only look at a subset of your searchable attributes.

ruleContexts

Assigns rule contexts to search queries.

similarQuery

Overrides the query parameter and performs a more generic search.

sumOrFiltersScores

Determines how to calculate filter scores. If false, maximum score is kept. If true, score is summed.

synonyms

Whether to take into account an index's synonyms for a particular search.

userToken

Associates a user token with the current search.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BaseSearchResponse(abTestID: Option[Int], abTestVariantID: Option[Int], aroundLatLng: Option[String], automaticRadius: Option[String], exhaustive: Option[Exhaustive], exhaustiveFacetsCount: Option[Boolean], exhaustiveNbHits: Option[Boolean], exhaustiveTypo: Option[Boolean], facets: Option[Map[String, Map[String, Int]]], facetsStats: Option[Map[String, FacetsStats]], hitsPerPage: Int, index: Option[String], indexUsed: Option[String], message: Option[String], nbHits: Int, nbPages: Int, nbSortedHits: Option[Int], page: Int, parsedQuery: Option[String], processingTimeMS: Int, processingTimingsMS: Option[Any], queryAfterRemoval: Option[String], redirect: Option[Redirect], renderingContent: Option[RenderingContent], serverTimeMS: Option[Int], serverUsed: Option[String], userData: Option[Any], additionalProperties: Option[List[JField]])

BaseSearchResponse

BaseSearchResponse

Value parameters

abTestID

A/B test ID. This is only included in the response for indices that are part of an A/B test.

abTestVariantID

Variant ID. This is only included in the response for indices that are part of an A/B test.

aroundLatLng

Computed geographical location.

automaticRadius

Automatically-computed radius.

exhaustiveFacetsCount

See the facetsCount field of the exhaustive object in the response.

exhaustiveNbHits

See the nbHits field of the exhaustive object in the response.

exhaustiveTypo

See the typo field of the exhaustive object in the response.

facets

Mapping of each facet name to the corresponding facet counts.

facetsStats

Statistics for numerical facets.

hitsPerPage

Number of hits per page.

index

Index name used for the query.

indexUsed

Index name used for the query. During A/B testing, the targeted index isn't always the index used by the query.

message

Warnings about the query.

nbHits

Number of hits the search query matched.

nbPages

Number of pages of results for the current query.

nbSortedHits

Number of hits selected and sorted by the relevant sort algorithm.

page

Page to retrieve (the first page is 0, not 1).

parsedQuery

Post-normalization query string that will be searched.

processingTimeMS

Time the server took to process the request, in milliseconds.

processingTimingsMS

Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues.

queryAfterRemoval

Markup text indicating which parts of the original query have been removed to retrieve a non-empty result set.

serverTimeMS

Time the server took to process the request, in milliseconds.

serverUsed

Host name of the server that processed the request.

userData

Lets you store custom data in your indices.

Attributes

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

Attributes

Supertypes
trait Serializer[BaseSearchResponse]
class Object
trait Matchable
class Any
case class BatchAssignUserIdsParams(cluster: String, users: Seq[String])

Assign userID parameters.

Assign userID parameters.

Value parameters

cluster

Cluster name.

users

User IDs to assign.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BatchDictionaryEntriesParams(clearExistingDictionaryEntries: Option[Boolean], requests: Seq[BatchDictionaryEntriesRequest])

batchDictionaryEntries parameters.

batchDictionaryEntries parameters.

Value parameters

clearExistingDictionaryEntries

Incidates whether to replace all custom entries in the dictionary with the ones sent with this request.

requests

Operations to batch.

Attributes

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

BatchDictionaryEntriesRequest

BatchDictionaryEntriesRequest

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BatchParams(requests: Seq[MultipleBatchRequest])

Batch parameters.

Batch parameters.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BatchRequest(action: Action, body: Any)

BatchRequest

BatchRequest

Value parameters

body

Operation arguments (varies with specified action).

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BatchResponse(taskID: Long, objectIDs: Seq[String])

BatchResponse

BatchResponse

Value parameters

objectIDs

Unique object (record) identifiers.

taskID

Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the task operation and this taskID.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BatchWriteParams(requests: Seq[BatchRequest])

Batch parameters.

Batch parameters.

Attributes

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

BrowseParams

BrowseParams

Attributes

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

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class BrowseParamsObject(query: Option[String], similarQuery: Option[String], filters: Option[String], facetFilters: Option[FacetFilters], optionalFilters: Option[OptionalFilters], numericFilters: Option[NumericFilters], tagFilters: Option[TagFilters], sumOrFiltersScores: Option[Boolean], restrictSearchableAttributes: Option[Seq[String]], facets: Option[Seq[String]], facetingAfterDistinct: Option[Boolean], page: Option[Int], offset: Option[Int], length: Option[Int], aroundLatLng: Option[String], aroundLatLngViaIP: Option[Boolean], aroundRadius: Option[AroundRadius], aroundPrecision: Option[AroundPrecision], minimumAroundRadius: Option[Int], insideBoundingBox: Option[Seq[Seq[Double]]], insidePolygon: Option[Seq[Seq[Double]]], naturalLanguages: Option[Seq[String]], ruleContexts: Option[Seq[String]], personalizationImpact: Option[Int], userToken: Option[String], getRankingInfo: Option[Boolean], explain: Option[Seq[String]], synonyms: Option[Boolean], clickAnalytics: Option[Boolean], analytics: Option[Boolean], analyticsTags: Option[Seq[String]], percentileComputation: Option[Boolean], enableABTest: Option[Boolean], attributesForFaceting: Option[Seq[String]], attributesToRetrieve: Option[Seq[String]], ranking: Option[Seq[String]], customRanking: Option[Seq[String]], relevancyStrictness: Option[Int], attributesToHighlight: Option[Seq[String]], attributesToSnippet: Option[Seq[String]], highlightPreTag: Option[String], highlightPostTag: Option[String], snippetEllipsisText: Option[String], restrictHighlightAndSnippetArrays: Option[Boolean], hitsPerPage: Option[Int], minWordSizefor1Typo: Option[Int], minWordSizefor2Typos: Option[Int], typoTolerance: Option[TypoTolerance], allowTyposOnNumericTokens: Option[Boolean], disableTypoToleranceOnAttributes: Option[Seq[String]], ignorePlurals: Option[IgnorePlurals], removeStopWords: Option[RemoveStopWords], keepDiacriticsOnCharacters: Option[String], queryLanguages: Option[Seq[String]], decompoundQuery: Option[Boolean], enableRules: Option[Boolean], enablePersonalization: Option[Boolean], queryType: Option[QueryType], removeWordsIfNoResults: Option[RemoveWordsIfNoResults], mode: Option[Mode], semanticSearch: Option[SemanticSearch], advancedSyntax: Option[Boolean], optionalWords: Option[Seq[String]], disableExactOnAttributes: Option[Seq[String]], exactOnSingleWordQuery: Option[ExactOnSingleWordQuery], alternativesAsExact: Option[Seq[AlternativesAsExact]], advancedSyntaxFeatures: Option[Seq[AdvancedSyntaxFeatures]], distinct: Option[Distinct], replaceSynonymsInHighlight: Option[Boolean], minProximity: Option[Int], responseFields: Option[Seq[String]], maxFacetHits: Option[Int], maxValuesPerFacet: Option[Int], sortFacetValuesBy: Option[String], attributeCriteriaComputedByMinProximity: Option[Boolean], renderingContent: Option[RenderingContent], enableReRanking: Option[Boolean], reRankingApplyFilter: Option[ReRankingApplyFilter], cursor: Option[String]) extends BrowseParamsTrait

BrowseParamsObject

BrowseParamsObject

Value parameters

advancedSyntax

Enables the advanced query syntax.

advancedSyntaxFeatures

Allows you to specify which advanced syntax features are active when advancedSyntax is enabled.

allowTyposOnNumericTokens

Whether to allow typos on numbers ("numeric tokens") in the query string.

alternativesAsExact

Alternatives that should be considered an exact match by the exact ranking criterion.

analytics

Indicates whether this query will be included in analytics.

analyticsTags

Tags to apply to the query for segmenting analytics data.

aroundLatLng

Search for entries around a central location, enabling a geographical search within a circular area.

aroundLatLngViaIP

Search for entries around a location. The location is automatically computed from the requester's IP address.

attributeCriteriaComputedByMinProximity

When the Attribute criterion is ranked above Proximity in your ranking formula, Proximity is used to select which searchable attribute is matched in the Attribute ranking stage.

attributesForFaceting

Attributes used for faceting and the modifiers that can be applied: filterOnly, searchable, and afterDistinct.

attributesToHighlight

Attributes to highlight. Strings that match the search query in the attributes are highlighted by surrounding them with HTML tags (highlightPreTag and highlightPostTag).

attributesToRetrieve

Attributes to include in the API response. To reduce the size of your response, you can retrieve only some of the attributes. By default, the response includes all attributes.

attributesToSnippet

Attributes to snippet. 'Snippeting' is shortening the attribute to a certain number of words. If not specified, the attribute is shortened to the 10 words around the matching string but you can specify the number. For example: body:20.

clickAnalytics

Indicates whether a query ID parameter is included in the search response. This is required for tracking click and conversion events.

cursor

Cursor indicating the location to resume browsing from. Must match the value returned by the previous call. Pass this value to the subsequent browse call to get the next page of results. When the end of the index has been reached, cursor is absent from the response.

customRanking

Specifies the Custom ranking criterion. Use the asc and desc modifiers to specify the ranking order: ascending or descending.

decompoundQuery

Splits compound words into their component word parts in the query.

disableExactOnAttributes

Attributes for which you want to turn off the exact ranking criterion.

disableTypoToleranceOnAttributes

Attributes for which you want to turn off typo tolerance.

enableABTest

Incidates whether this search will be considered in A/B testing.

enablePersonalization

Incidates whether Personalization is enabled.

enableReRanking

Indicates whether this search will use Dynamic Re-Ranking.

enableRules

Incidates whether Rules are enabled.

explain

Enriches the API's response with information about how the query was processed.

facetingAfterDistinct

Forces faceting to be applied after de-duplication (with the distinct feature). Alternatively, the afterDistinct modifier of attributesForFaceting allows for more granular control.

facets

Returns facets, their facet values, and the number of matching facet values.

filters

Filter the query with numeric, facet, or tag filters.

getRankingInfo

Incidates whether the search response includes detailed ranking information.

highlightPostTag

HTML string to insert after the highlighted parts in all highlight and snippet results.

highlightPreTag

HTML string to insert before the highlighted parts in all highlight and snippet results.

hitsPerPage

Number of hits per page.

insideBoundingBox

Search inside a rectangular area (in geographical coordinates).

insidePolygon

Search inside a polygon (in geographical coordinates).

keepDiacriticsOnCharacters

Characters that the engine shouldn't automatically normalize.

length

Sets the number of hits to retrieve (for use with offset). > Note: Using page and hitsPerPage is the recommended method for paging results. However, you can use offset and length to implement an alternative approach to paging.

maxFacetHits

Maximum number of facet hits to return when searching for facet values.

maxValuesPerFacet

Maximum number of facet values to return for each facet.

minProximity

Precision of the proximity ranking criterion.

minWordSizefor1Typo

Minimum number of characters a word in the query string must contain to accept matches with one typo.

minWordSizefor2Typos

Minimum number of characters a word in the query string must contain to accept matches with two typos.

minimumAroundRadius

Minimum radius (in meters) used for a geographical search when aroundRadius isn't set.

naturalLanguages

Changes the default values of parameters that work best for a natural language query, such as ignorePlurals, removeStopWords, removeWordsIfNoResults, analyticsTags, and ruleContexts. These parameters work well together when the query consists of fuller natural language strings instead of keywords, for example when processing voice search queries.

offset

Specifies the offset of the first hit to return. > Note: Using page and hitsPerPage is the recommended method for paging results. However, you can use offset and length to implement an alternative approach to paging.

optionalWords

Words which should be considered optional when found in a query.

page

Page to retrieve (the first page is 0, not 1).

percentileComputation

Whether to include or exclude a query from the processing-time percentile computation.

personalizationImpact

Defines how much Personalization affects results.

query

Text to search for in an index.

queryLanguages

Sets your user's search language. This adjusts language-specific settings and features such as ignorePlurals, removeStopWords, and CJK word detection.

ranking

Determines the order in which Algolia returns your results.

relevancyStrictness

Relevancy threshold below which less relevant results aren't included in the results.

replaceSynonymsInHighlight

Whether to highlight and snippet the original word that matches the synonym or the synonym itself.

responseFields

Attributes to include in the API response for search and browse queries.

restrictHighlightAndSnippetArrays

Restrict highlighting and snippeting to items that matched the query.

restrictSearchableAttributes

Restricts a query to only look at a subset of your searchable attributes.

ruleContexts

Assigns rule contexts to search queries.

similarQuery

Overrides the query parameter and performs a more generic search.

snippetEllipsisText

String used as an ellipsis indicator when a snippet is truncated.

sortFacetValuesBy

Controls how facet values are fetched.

sumOrFiltersScores

Determines how to calculate filter scores. If false, maximum score is kept. If true, score is summed.

synonyms

Whether to take into account an index's synonyms for a particular search.

userToken

Associates a user token with the current search.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait BrowseParams
class Object
trait Matchable
class Any
Show all
object BrowseParamsSerializer extends Serializer[BrowseParams]

Attributes

Supertypes
trait Serializer[BrowseParams]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait BrowseParams
class Object
trait Matchable
class Any
Known subtypes
case class BrowseResponse(abTestID: Option[Int], abTestVariantID: Option[Int], aroundLatLng: Option[String], automaticRadius: Option[String], exhaustive: Option[Exhaustive], exhaustiveFacetsCount: Option[Boolean], exhaustiveNbHits: Option[Boolean], exhaustiveTypo: Option[Boolean], facets: Option[Map[String, Map[String, Int]]], facetsStats: Option[Map[String, FacetsStats]], hitsPerPage: Int, index: Option[String], indexUsed: Option[String], message: Option[String], nbHits: Int, nbPages: Int, nbSortedHits: Option[Int], page: Int, parsedQuery: Option[String], processingTimeMS: Int, processingTimingsMS: Option[Any], queryAfterRemoval: Option[String], redirect: Option[Redirect], renderingContent: Option[RenderingContent], serverTimeMS: Option[Int], serverUsed: Option[String], userData: Option[Any], hits: Seq[JObject], query: String, params: String, cursor: Option[String])

BrowseResponse

BrowseResponse

Value parameters

abTestID

A/B test ID. This is only included in the response for indices that are part of an A/B test.

abTestVariantID

Variant ID. This is only included in the response for indices that are part of an A/B test.

aroundLatLng

Computed geographical location.

automaticRadius

Automatically-computed radius.

cursor

Cursor indicating the location to resume browsing from. Must match the value returned by the previous call. Pass this value to the subsequent browse call to get the next page of results. When the end of the index has been reached, cursor is absent from the response.

exhaustiveFacetsCount

See the facetsCount field of the exhaustive object in the response.

exhaustiveNbHits

See the nbHits field of the exhaustive object in the response.

exhaustiveTypo

See the typo field of the exhaustive object in the response.

facets

Mapping of each facet name to the corresponding facet counts.

facetsStats

Statistics for numerical facets.

hitsPerPage

Number of hits per page.

index

Index name used for the query.

indexUsed

Index name used for the query. During A/B testing, the targeted index isn't always the index used by the query.

message

Warnings about the query.

nbHits

Number of hits the search query matched.

nbPages

Number of pages of results for the current query.

nbSortedHits

Number of hits selected and sorted by the relevant sort algorithm.

page

Page to retrieve (the first page is 0, not 1).

params

URL-encoded string of all search parameters.

parsedQuery

Post-normalization query string that will be searched.

processingTimeMS

Time the server took to process the request, in milliseconds.

processingTimingsMS

Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues.

query

Text to search for in an index.

queryAfterRemoval

Markup text indicating which parts of the original query have been removed to retrieve a non-empty result set.

serverTimeMS

Time the server took to process the request, in milliseconds.

serverUsed

Host name of the server that processed the request.

userData

Lets you store custom data in your indices.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BuiltInOperation(_operation: BuiltInOperationType, value: String) extends AttributeToUpdateTrait

To update an attribute without pushing the entire record, you can use these built-in operations.

To update an attribute without pushing the entire record, you can use these built-in operations.

Value parameters

value

Value that corresponds to the operation, for example an Increment or Decrement step, Add or Remove value.

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Add.type
object AddUnique.type
object Decrement.type
object Increment.type
object IncrementFrom.type
object IncrementSet.type
object Remove.type
Show all

Operation to apply to the attribute.

Operation to apply to the attribute.

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class BuiltInOperationTypeSerializer extends CustomSerializer[BuiltInOperationType]

Attributes

Supertypes
class CustomSerializer[BuiltInOperationType]
trait Serializer[BuiltInOperationType]
class Object
trait Matchable
class Any
case class Condition(pattern: Option[String], anchoring: Option[Anchoring], alternatives: Option[Boolean], context: Option[String])

Condition

Condition

Value parameters

alternatives

Whether the pattern matches on plurals, synonyms, and typos.

context

Rule context format: [A-Za-z0-9_-]+).

pattern

Query pattern syntax.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Consequence(params: Option[ConsequenceParams], promote: Option[Seq[Promote]], filterPromotes: Option[Boolean], hide: Option[Seq[ConsequenceHide]], userData: Option[Any])

Consequences of a rule.

Consequences of a rule.

Value parameters

filterPromotes

Only use in combination with the promote consequence. When true, promoted results will be restricted to match the filters of the current search. When false, the promoted results will show up regardless of the filters.

hide

Records to hide. By default, you can hide up to 50 records per rule.

promote

Records to promote.

userData

Custom JSON object that will be appended to the userData array in the response. This object isn't interpreted by the API. It's limited to 1kB of minified JSON.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ConsequenceHide(objectID: String)

Unique identifier of the record to hide.

Unique identifier of the record to hide.

Value parameters

objectID

Unique object identifier.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ConsequenceParams(similarQuery: Option[String], filters: Option[String], facetFilters: Option[FacetFilters], optionalFilters: Option[OptionalFilters], numericFilters: Option[NumericFilters], tagFilters: Option[TagFilters], sumOrFiltersScores: Option[Boolean], restrictSearchableAttributes: Option[Seq[String]], facets: Option[Seq[String]], facetingAfterDistinct: Option[Boolean], page: Option[Int], offset: Option[Int], length: Option[Int], aroundLatLng: Option[String], aroundLatLngViaIP: Option[Boolean], aroundRadius: Option[AroundRadius], aroundPrecision: Option[AroundPrecision], minimumAroundRadius: Option[Int], insideBoundingBox: Option[Seq[Seq[Double]]], insidePolygon: Option[Seq[Seq[Double]]], naturalLanguages: Option[Seq[String]], ruleContexts: Option[Seq[String]], personalizationImpact: Option[Int], userToken: Option[String], getRankingInfo: Option[Boolean], explain: Option[Seq[String]], synonyms: Option[Boolean], clickAnalytics: Option[Boolean], analytics: Option[Boolean], analyticsTags: Option[Seq[String]], percentileComputation: Option[Boolean], enableABTest: Option[Boolean], attributesForFaceting: Option[Seq[String]], attributesToRetrieve: Option[Seq[String]], ranking: Option[Seq[String]], customRanking: Option[Seq[String]], relevancyStrictness: Option[Int], attributesToHighlight: Option[Seq[String]], attributesToSnippet: Option[Seq[String]], highlightPreTag: Option[String], highlightPostTag: Option[String], snippetEllipsisText: Option[String], restrictHighlightAndSnippetArrays: Option[Boolean], hitsPerPage: Option[Int], minWordSizefor1Typo: Option[Int], minWordSizefor2Typos: Option[Int], typoTolerance: Option[TypoTolerance], allowTyposOnNumericTokens: Option[Boolean], disableTypoToleranceOnAttributes: Option[Seq[String]], ignorePlurals: Option[IgnorePlurals], removeStopWords: Option[RemoveStopWords], keepDiacriticsOnCharacters: Option[String], queryLanguages: Option[Seq[String]], decompoundQuery: Option[Boolean], enableRules: Option[Boolean], enablePersonalization: Option[Boolean], queryType: Option[QueryType], removeWordsIfNoResults: Option[RemoveWordsIfNoResults], mode: Option[Mode], semanticSearch: Option[SemanticSearch], advancedSyntax: Option[Boolean], optionalWords: Option[Seq[String]], disableExactOnAttributes: Option[Seq[String]], exactOnSingleWordQuery: Option[ExactOnSingleWordQuery], alternativesAsExact: Option[Seq[AlternativesAsExact]], advancedSyntaxFeatures: Option[Seq[AdvancedSyntaxFeatures]], distinct: Option[Distinct], replaceSynonymsInHighlight: Option[Boolean], minProximity: Option[Int], responseFields: Option[Seq[String]], maxFacetHits: Option[Int], maxValuesPerFacet: Option[Int], sortFacetValuesBy: Option[String], attributeCriteriaComputedByMinProximity: Option[Boolean], renderingContent: Option[RenderingContent], enableReRanking: Option[Boolean], reRankingApplyFilter: Option[ReRankingApplyFilter], query: Option[ConsequenceQuery], automaticFacetFilters: Option[AutomaticFacetFilters], automaticOptionalFacetFilters: Option[AutomaticFacetFilters])

ConsequenceParams

ConsequenceParams

Value parameters

advancedSyntax

Enables the advanced query syntax.

advancedSyntaxFeatures

Allows you to specify which advanced syntax features are active when advancedSyntax is enabled.

allowTyposOnNumericTokens

Whether to allow typos on numbers ("numeric tokens") in the query string.

alternativesAsExact

Alternatives that should be considered an exact match by the exact ranking criterion.

analytics

Indicates whether this query will be included in analytics.

analyticsTags

Tags to apply to the query for segmenting analytics data.

aroundLatLng

Search for entries around a central location, enabling a geographical search within a circular area.

aroundLatLngViaIP

Search for entries around a location. The location is automatically computed from the requester's IP address.

attributeCriteriaComputedByMinProximity

When the Attribute criterion is ranked above Proximity in your ranking formula, Proximity is used to select which searchable attribute is matched in the Attribute ranking stage.

attributesForFaceting

Attributes used for faceting and the modifiers that can be applied: filterOnly, searchable, and afterDistinct.

attributesToHighlight

Attributes to highlight. Strings that match the search query in the attributes are highlighted by surrounding them with HTML tags (highlightPreTag and highlightPostTag).

attributesToRetrieve

Attributes to include in the API response. To reduce the size of your response, you can retrieve only some of the attributes. By default, the response includes all attributes.

attributesToSnippet

Attributes to snippet. 'Snippeting' is shortening the attribute to a certain number of words. If not specified, the attribute is shortened to the 10 words around the matching string but you can specify the number. For example: body:20.

clickAnalytics

Indicates whether a query ID parameter is included in the search response. This is required for tracking click and conversion events.

customRanking

Specifies the Custom ranking criterion. Use the asc and desc modifiers to specify the ranking order: ascending or descending.

decompoundQuery

Splits compound words into their component word parts in the query.

disableExactOnAttributes

Attributes for which you want to turn off the exact ranking criterion.

disableTypoToleranceOnAttributes

Attributes for which you want to turn off typo tolerance.

enableABTest

Incidates whether this search will be considered in A/B testing.

enablePersonalization

Incidates whether Personalization is enabled.

enableReRanking

Indicates whether this search will use Dynamic Re-Ranking.

enableRules

Incidates whether Rules are enabled.

explain

Enriches the API's response with information about how the query was processed.

facetingAfterDistinct

Forces faceting to be applied after de-duplication (with the distinct feature). Alternatively, the afterDistinct modifier of attributesForFaceting allows for more granular control.

facets

Returns facets, their facet values, and the number of matching facet values.

filters

Filter the query with numeric, facet, or tag filters.

getRankingInfo

Incidates whether the search response includes detailed ranking information.

highlightPostTag

HTML string to insert after the highlighted parts in all highlight and snippet results.

highlightPreTag

HTML string to insert before the highlighted parts in all highlight and snippet results.

hitsPerPage

Number of hits per page.

insideBoundingBox

Search inside a rectangular area (in geographical coordinates).

insidePolygon

Search inside a polygon (in geographical coordinates).

keepDiacriticsOnCharacters

Characters that the engine shouldn't automatically normalize.

length

Sets the number of hits to retrieve (for use with offset). > Note: Using page and hitsPerPage is the recommended method for paging results. However, you can use offset and length to implement an alternative approach to paging.

maxFacetHits

Maximum number of facet hits to return when searching for facet values.

maxValuesPerFacet

Maximum number of facet values to return for each facet.

minProximity

Precision of the proximity ranking criterion.

minWordSizefor1Typo

Minimum number of characters a word in the query string must contain to accept matches with one typo.

minWordSizefor2Typos

Minimum number of characters a word in the query string must contain to accept matches with two typos.

minimumAroundRadius

Minimum radius (in meters) used for a geographical search when aroundRadius isn't set.

naturalLanguages

Changes the default values of parameters that work best for a natural language query, such as ignorePlurals, removeStopWords, removeWordsIfNoResults, analyticsTags, and ruleContexts. These parameters work well together when the query consists of fuller natural language strings instead of keywords, for example when processing voice search queries.

offset

Specifies the offset of the first hit to return. > Note: Using page and hitsPerPage is the recommended method for paging results. However, you can use offset and length to implement an alternative approach to paging.

optionalWords

Words which should be considered optional when found in a query.

page

Page to retrieve (the first page is 0, not 1).

percentileComputation

Whether to include or exclude a query from the processing-time percentile computation.

personalizationImpact

Defines how much Personalization affects results.

queryLanguages

Sets your user's search language. This adjusts language-specific settings and features such as ignorePlurals, removeStopWords, and CJK word detection.

ranking

Determines the order in which Algolia returns your results.

relevancyStrictness

Relevancy threshold below which less relevant results aren't included in the results.

replaceSynonymsInHighlight

Whether to highlight and snippet the original word that matches the synonym or the synonym itself.

responseFields

Attributes to include in the API response for search and browse queries.

restrictHighlightAndSnippetArrays

Restrict highlighting and snippeting to items that matched the query.

restrictSearchableAttributes

Restricts a query to only look at a subset of your searchable attributes.

ruleContexts

Assigns rule contexts to search queries.

similarQuery

Overrides the query parameter and performs a more generic search.

snippetEllipsisText

String used as an ellipsis indicator when a snippet is truncated.

sortFacetValuesBy

Controls how facet values are fetched.

sumOrFiltersScores

Determines how to calculate filter scores. If false, maximum score is kept. If true, score is summed.

synonyms

Whether to take into account an index's synonyms for a particular search.

userToken

Associates a user token with the current search.

Attributes

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

When providing a string, it replaces the entire query string. When providing an object, it describes incremental edits to be made to the query string (but you can't do both).

When providing a string, it replaces the entire query string. When providing an object, it describes incremental edits to be made to the query string (but you can't do both).

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class ConsequenceQueryObject(remove: Option[Seq[String]], edits: Option[Seq[Edit]]) extends ConsequenceQueryTrait

ConsequenceQueryObject

ConsequenceQueryObject

Value parameters

edits

Edits to apply.

remove

Words to remove.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ConsequenceQuerySerializer extends Serializer[ConsequenceQuery]

Attributes

Supertypes
trait Serializer[ConsequenceQuery]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class CreatedAtResponse(createdAt: String)

Response and creation timestamp.

Response and creation timestamp.

Value parameters

createdAt

Timestamp of creation in ISO-8601 format.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Cursor(cursor: Option[String])

Cursor

Cursor

Value parameters

cursor

Cursor indicating the location to resume browsing from. Must match the value returned by the previous call. Pass this value to the subsequent browse call to get the next page of results. When the end of the index has been reached, cursor is absent from the response.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class DeleteApiKeyResponse(deletedAt: String)

DeleteApiKeyResponse

DeleteApiKeyResponse

Value parameters

deletedAt

Timestamp of deletion in ISO 8601 format.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class DeleteByParams(facetFilters: Option[FacetFilters], filters: Option[String], numericFilters: Option[NumericFilters], tagFilters: Option[TagFilters], aroundLatLng: Option[String], aroundRadius: Option[AroundRadius], insideBoundingBox: Option[Seq[Seq[Double]]], insidePolygon: Option[Seq[Seq[Double]]])

DeleteByParams

DeleteByParams

Value parameters

aroundLatLng

Search for entries around a central location, enabling a geographical search within a circular area.

filters

Filter the query with numeric, facet, or tag filters.

insideBoundingBox

Search inside a rectangular area (in geographical coordinates).

insidePolygon

Search inside a polygon (in geographical coordinates).

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class DeleteSourceResponse(deletedAt: String)

DeleteSourceResponse

DeleteSourceResponse

Value parameters

deletedAt

Timestamp of deletion in ISO 8601 format.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class DeletedAtResponse(taskID: Long, deletedAt: String)

Response, taskID, and deletion timestamp.

Response, taskID, and deletion timestamp.

Value parameters

deletedAt

Timestamp of deletion in ISO 8601 format.

taskID

Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the task operation and this taskID.

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AddEntry.type
object DeleteEntry.type

Actions to perform.

Actions to perform.

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class DictionaryActionSerializer extends CustomSerializer[DictionaryAction]

Attributes

Supertypes
class CustomSerializer[DictionaryAction]
trait Serializer[DictionaryAction]
class Object
trait Matchable
class Any
case class DictionaryEntry(objectID: String, language: String, word: Option[String], words: Option[Seq[String]], decomposition: Option[Seq[String]], state: Option[DictionaryEntryState], additionalProperties: Option[List[JField]])

Dictionary entry.

Dictionary entry.

Value parameters

decomposition

For compound entries, governs the behavior of the word parameter.

language

Supported language ISO code.

objectID

Unique identifier for a dictionary object.

word

Dictionary entry word. Usage depends on the type of dictionary entry. stopwordEntry The stop word you want to add or update. If the entry already exists in Algolia's standard dictionary, you can override its behavior by adding it to the custom dictionary and setting its state to disabled. compoundEntry When decomposition is empty: adds word as a compound atom. For example, atom “kino” decomposes the query “kopfkino” into "kopf" and "kino". When decomposition isn't empty: creates a decomposition exception. For example, when decomposition is set to the ["hund", "hutte"] exception, "hundehutte" decomposes into “hund” and “hutte”, discarding the linking "e".

words

Compound dictionary word declensions. If the entry already exists in Algolia's standard dictionary, you can override its behavior by adding it to the custom dictionary and setting its state to disabled.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class DictionaryEntrySerializer extends Serializer[DictionaryEntry]

Attributes

Supertypes
trait Serializer[DictionaryEntry]
class Object
trait Matchable
class Any
sealed trait DictionaryEntryState

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Disabled.type
object Enabled.type

Indicates whether a dictionary entry is active (enabled) or inactive (disabled).

Indicates whether a dictionary entry is active (enabled) or inactive (disabled).

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class DictionaryEntryStateSerializer extends CustomSerializer[DictionaryEntryState]

Attributes

Supertypes
class CustomSerializer[DictionaryEntryState]
trait Serializer[DictionaryEntryState]
class Object
trait Matchable
class Any
case class DictionaryLanguage(nbCustomEntries: Option[Int])

Custom entries for a dictionary.

Custom entries for a dictionary.

Value parameters

nbCustomEntries

If 0, the dictionary hasn't been customized and only contains standard entries provided by Algolia. If null, that feature isn't available or isn't supported for that language.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class DictionarySettingsParams(disableStandardEntries: StandardEntries)

Enable or turn off the built-in Algolia stop words for a specific language.

Enable or turn off the built-in Algolia stop words for a specific language.

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Compounds.type
object Plurals.type
object Stopwords.type

DictionaryType enumeration

DictionaryType enumeration

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class DictionaryTypeSerializer extends CustomSerializer[DictionaryType]

Attributes

Supertypes
class CustomSerializer[DictionaryType]
trait Serializer[DictionaryType]
class Object
trait Matchable
class Any
sealed trait Distinct

Enables deduplication or grouping of results (Algolia's distinct feature).

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BooleanValue
class IntValue
object Distinct

Attributes

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

Attributes

Supertypes
trait Serializer[Distinct]
class Object
trait Matchable
class Any
Self type
case class Edit(`type`: Option[EditType], delete: Option[String], insert: Option[String])

Edit

Edit

Value parameters

delete

Text or patterns to remove from the query string.

insert

Text that should be inserted in place of the removed text inside the query string.

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Remove.type
object Replace.type
object EditType

Type of edit.

Type of edit.

Attributes

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

Attributes

Supertypes
class CustomSerializer[EditType]
trait Serializer[EditType]
class Object
trait Matchable
class Any
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
sealed trait ExactOnSingleWordQuery

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Attribute.type
object None.type
object Word.type

Determines how the Exact ranking criterion is computed when the query contains only one word.

Determines how the Exact ranking criterion is computed when the query contains only one word.

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class CustomSerializer[ExactOnSingleWordQuery]
trait Serializer[ExactOnSingleWordQuery]
class Object
trait Matchable
class Any
case class Exhaustive(facetsCount: Option[Boolean], facetValues: Option[Boolean], nbHits: Option[Boolean], rulesMatch: Option[Boolean], typo: Option[Boolean])

Whether certain properties of the search response are calculated exhaustive (exact) or approximated.

Whether certain properties of the search response are calculated exhaustive (exact) or approximated.

Value parameters

facetValues

The value is false if not all facet values are retrieved.

facetsCount

Whether the facet count is exhaustive (true) or approximate (false). See the related discussion.

nbHits

Whether the nbHits is exhaustive (true) or approximate (false). When the query takes more than 50ms to be processed, the engine makes an approximation. This can happen when using complex filters on millions of records, when typo-tolerance was not exhaustive, or when enough hits have been retrieved (for example, after the engine finds 10,000 exact matches). nbHits is reported as non-exhaustive whenever an approximation is made, even if the approximation didn’t, in the end, impact the exhaustivity of the query.

rulesMatch

Rules matching exhaustivity. The value is false if rules were enable for this query, and could not be fully processed due a timeout. This is generally caused by the number of alternatives (such as typos) which is too large.

typo

Whether the typo search was exhaustive (true) or approximate (false). An approximation is done when the typo search query part takes more than 10% of the query budget (ie. 5ms by default) to be processed (this can happen when a lot of typo alternatives exist for the query). This field will not be included when typo-tolerance is entirely disabled.

Attributes

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

Filter hits by facet value.

Attributes

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

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object FacetFiltersSerializer extends Serializer[FacetFilters]

Attributes

Supertypes
trait Serializer[FacetFilters]
class Object
trait Matchable
class Any
Self type
case class FacetHits(value: String, highlighted: String, count: Int)

FacetHits

FacetHits

Value parameters

count

Number of records containing this facet value. This takes into account the extra search parameters specified in the query. Like for a regular search query, the counts may not be exhaustive.

highlighted

Markup text with facetQuery matches highlighted.

value

Facet value.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class FacetOrdering(facets: Option[Facets], values: Option[Map[String, Value]])

Defines the ordering of facets (widgets).

Defines the ordering of facets (widgets).

Value parameters

values

Ordering of facet values within an individual facet.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Facets(order: Option[Seq[String]])

Ordering of facets (widgets).

Ordering of facets (widgets).

Value parameters

order

Pinned order of facet lists.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class FacetsStats(min: Option[Double], max: Option[Double], avg: Option[Double], sum: Option[Double])

FacetsStats

FacetsStats

Value parameters

avg

Average facet value in the results.

max

Maximum value in the results.

min

Minimum value in the results.

sum

Sum of all values in the results.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class FetchedIndex(name: String, createdAt: String, updatedAt: String, entries: Int, dataSize: Int, fileSize: Int, lastBuildTimeS: Int, numberOfPendingTasks: Int, pendingTask: Boolean, primary: Option[String], replicas: Option[Seq[String]])

FetchedIndex

FetchedIndex

Value parameters

createdAt

Index creation date. An empty string means that the index has no records.

dataSize

Number of bytes of the index in minified format.

entries

Number of records contained in the index.

fileSize

Number of bytes of the index binary file.

lastBuildTimeS

Last build time.

name

Index name.

numberOfPendingTasks

Number of pending indexing operations. This value is deprecated and should not be used.

pendingTask

A boolean which says whether the index has pending tasks. This value is deprecated and should not be used.

primary

Only present if the index is a replica. Contains the name of the related primary index.

replicas

Only present if the index is a primary index with replicas. Contains the names of all linked replicas.

updatedAt

Timestamp of the last update in ISO 8601 format.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class GetApiKeyResponse(value: Option[String], createdAt: Long, acl: Seq[Acl], description: Option[String], indexes: Option[Seq[String]], maxHitsPerQuery: Option[Int], maxQueriesPerIPPerHour: Option[Int], queryParameters: Option[String], referers: Option[Seq[String]], validity: Option[Int])

GetApiKeyResponse

GetApiKeyResponse

Value parameters

acl

Permissions associated with the key.

createdAt

Timestamp of creation in milliseconds in Unix epoch time.

description

Description of an API key for you and your team members.

indexes

Restricts this API key to a list of indices or index patterns. If the list is empty, all indices are allowed. Specify either an exact index name or a pattern with a leading or trailing wildcard character (or both). For example: - dev_* matches all indices starting with "dev_" - *_dev matches all indices ending with "_dev" - *_products_* matches all indices containing "products".

maxHitsPerQuery

Maximum number of hits this API key can retrieve in one query. If zero, no limit is enforced. > Note: Use this parameter to protect you from third-party attempts to retrieve your entire content by massively querying the index.

maxQueriesPerIPPerHour

Maximum number of API calls per hour allowed from a given IP address or user token. Each time an API call is performed with this key, a check is performed. If there were more than the specified number of calls within the last hour, the API returns an error with the status code 429 (Too Many Requests). > Note: Use this parameter to protect you from third-party attempts to retrieve your entire content by massively querying the index.

queryParameters

Force some query parameters to be applied for each query made with this API key. It's a URL-encoded query string.

referers

Restrict this API key to specific referrers. If empty, all referrers are allowed. For example: - https://algolia.com/_* matches all referrers starting with "https://algolia.com/" - *.algolia.com matches all referrers ending with ".algolia.com" - *algolia.com* allows everything in the domain "algolia.com".

validity

Validity duration of a key (in seconds). The key will automatically be removed after this time has expired. The default value of 0 never expires. Short-lived API keys are useful to grant temporary access to your data. For example, in mobile apps, you can't control when users update your app. So instead of encoding keys into your app as you would for a web app, you should dynamically fetch them from your mobile app's backend.

value

API key.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class GetDictionarySettingsResponse(disableStandardEntries: StandardEntries)

GetDictionarySettingsResponse

GetDictionarySettingsResponse

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class GetLogsResponse(logs: Seq[Log])

GetLogsResponse

GetLogsResponse

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class GetObjectsParams(requests: Seq[GetObjectsRequest])

Request parameters.

Request parameters.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class GetObjectsRequest(attributesToRetrieve: Option[Seq[String]], objectID: String, indexName: String)

Record retrieval operation.

Record retrieval operation.

Value parameters

attributesToRetrieve

Attributes to retrieve. If not specified, all retrievable attributes are returned.

indexName

Name of the index containing the required records.

objectID

Record's objectID.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class GetObjectsResponse(results: Seq[JObject])

GetObjectsResponse

GetObjectsResponse

Value parameters

results

Retrieved results.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class GetTaskResponse(status: TaskStatus)

GetTaskResponse

GetTaskResponse

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class GetTopUserIdsResponse(topUsers: Seq[Map[String, Seq[UserId]]])

User IDs and clusters.

User IDs and clusters.

Value parameters

topUsers

Key-value pairs with cluster names as keys and lists of users with the highest number of records per cluster as values.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class HasPendingMappingsResponse(pending: Boolean, clusters: Option[Map[String, Seq[String]]])

HasPendingMappingsResponse

HasPendingMappingsResponse

Value parameters

clusters

Cluster pending mapping state: migrating, creating, deleting.

pending

Indicates whether there are clusters undergoing migration, creation, or deletion.

Attributes

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

HighlightResult

HighlightResult

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class HighlightResultOption(value: String, matchLevel: MatchLevel, matchedWords: Seq[String], fullyHighlighted: Option[Boolean]) extends HighlightResultTrait

Show highlighted section and words matched on a query.

Show highlighted section and words matched on a query.

Value parameters

fullyHighlighted

Whether the entire attribute value is highlighted.

matchedWords

List of words from the query that matched the object.

value

Markup text with facetQuery matches highlighted.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object HighlightResultSerializer extends Serializer[HighlightResult]

Attributes

Supertypes
trait Serializer[HighlightResult]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class Hit(objectID: String, highlightResult: Option[Map[String, HighlightResult]], snippetResult: Option[Map[String, SnippetResult]], rankingInfo: Option[RankingInfo], distinctSeqID: Option[Int], additionalProperties: Option[List[JField]])

A single hit.

A single hit.

Value parameters

highlightResult

Show highlighted section and words matched on a query.

objectID

Unique object identifier.

snippetResult

Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class HitSerializer extends Serializer[Hit]

Attributes

Supertypes
trait Serializer[Hit]
class Object
trait Matchable
class Any
sealed trait IgnorePlurals

Treats singular, plurals, and other forms of declensions as matching terms. ignorePlurals is used in conjunction with the queryLanguages setting. list: language ISO codes for which ignoring plurals should be enabled. This list will override any values that you may have set in queryLanguages. true: enables the ignore plurals feature, where singulars and plurals are considered equivalent ("foot" = "feet"). The languages supported here are either every language (this is the default) or those set by queryLanguages. false: turns off the ignore plurals feature, so that singulars and plurals aren't considered to be the same ("foot" will not find "feet").

Treats singular, plurals, and other forms of declensions as matching terms. ignorePlurals is used in conjunction with the queryLanguages setting. list: language ISO codes for which ignoring plurals should be enabled. This list will override any values that you may have set in queryLanguages. true: enables the ignore plurals feature, where singulars and plurals are considered equivalent ("foot" = "feet"). The languages supported here are either every language (this is the default) or those set by queryLanguages. false: turns off the ignore plurals feature, so that singulars and plurals aren't considered to be the same ("foot" will not find "feet").

Attributes

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

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object IgnorePluralsSerializer extends Serializer[IgnorePlurals]

Attributes

Supertypes
trait Serializer[IgnorePlurals]
class Object
trait Matchable
class Any
Self type
case class IndexSettings(replicas: Option[Seq[String]], paginationLimitedTo: Option[Int], unretrievableAttributes: Option[Seq[String]], disableTypoToleranceOnWords: Option[Seq[String]], attributesToTransliterate: Option[Seq[String]], camelCaseAttributes: Option[Seq[String]], decompoundedAttributes: Option[Any], indexLanguages: Option[Seq[String]], disablePrefixOnAttributes: Option[Seq[String]], allowCompressionOfIntegerArray: Option[Boolean], numericAttributesForFiltering: Option[Seq[String]], separatorsToIndex: Option[String], searchableAttributes: Option[Seq[String]], userData: Option[Any], customNormalization: Option[Map[String, Map[String, String]]], attributeForDistinct: Option[String], attributesForFaceting: Option[Seq[String]], attributesToRetrieve: Option[Seq[String]], ranking: Option[Seq[String]], customRanking: Option[Seq[String]], relevancyStrictness: Option[Int], attributesToHighlight: Option[Seq[String]], attributesToSnippet: Option[Seq[String]], highlightPreTag: Option[String], highlightPostTag: Option[String], snippetEllipsisText: Option[String], restrictHighlightAndSnippetArrays: Option[Boolean], hitsPerPage: Option[Int], minWordSizefor1Typo: Option[Int], minWordSizefor2Typos: Option[Int], typoTolerance: Option[TypoTolerance], allowTyposOnNumericTokens: Option[Boolean], disableTypoToleranceOnAttributes: Option[Seq[String]], ignorePlurals: Option[IgnorePlurals], removeStopWords: Option[RemoveStopWords], keepDiacriticsOnCharacters: Option[String], queryLanguages: Option[Seq[String]], decompoundQuery: Option[Boolean], enableRules: Option[Boolean], enablePersonalization: Option[Boolean], queryType: Option[QueryType], removeWordsIfNoResults: Option[RemoveWordsIfNoResults], mode: Option[Mode], semanticSearch: Option[SemanticSearch], advancedSyntax: Option[Boolean], optionalWords: Option[Seq[String]], disableExactOnAttributes: Option[Seq[String]], exactOnSingleWordQuery: Option[ExactOnSingleWordQuery], alternativesAsExact: Option[Seq[AlternativesAsExact]], advancedSyntaxFeatures: Option[Seq[AdvancedSyntaxFeatures]], distinct: Option[Distinct], replaceSynonymsInHighlight: Option[Boolean], minProximity: Option[Int], responseFields: Option[Seq[String]], maxFacetHits: Option[Int], maxValuesPerFacet: Option[Int], sortFacetValuesBy: Option[String], attributeCriteriaComputedByMinProximity: Option[Boolean], renderingContent: Option[RenderingContent], enableReRanking: Option[Boolean], reRankingApplyFilter: Option[ReRankingApplyFilter])

Algolia index settings.

Algolia index settings.

Value parameters

advancedSyntax

Enables the advanced query syntax.

advancedSyntaxFeatures

Allows you to specify which advanced syntax features are active when advancedSyntax is enabled.

allowCompressionOfIntegerArray

Incidates whether the engine compresses arrays with exclusively non-negative integers. When enabled, the compressed arrays may be reordered.

allowTyposOnNumericTokens

Whether to allow typos on numbers ("numeric tokens") in the query string.

alternativesAsExact

Alternatives that should be considered an exact match by the exact ranking criterion.

attributeCriteriaComputedByMinProximity

When the Attribute criterion is ranked above Proximity in your ranking formula, Proximity is used to select which searchable attribute is matched in the Attribute ranking stage.

attributeForDistinct

Name of the deduplication attribute to be used with Algolia's distinct feature.

attributesForFaceting

Attributes used for faceting and the modifiers that can be applied: filterOnly, searchable, and afterDistinct.

attributesToHighlight

Attributes to highlight. Strings that match the search query in the attributes are highlighted by surrounding them with HTML tags (highlightPreTag and highlightPostTag).

attributesToRetrieve

Attributes to include in the API response. To reduce the size of your response, you can retrieve only some of the attributes. By default, the response includes all attributes.

attributesToSnippet

Attributes to snippet. 'Snippeting' is shortening the attribute to a certain number of words. If not specified, the attribute is shortened to the 10 words around the matching string but you can specify the number. For example: body:20.

attributesToTransliterate

Attributes in your index to which Japanese transliteration applies. This will ensure that words indexed in Katakana or Kanji can also be searched in Hiragana.

camelCaseAttributes

Attributes on which to split camel case words.

customNormalization

A list of characters and their normalized replacements to override Algolia's default normalization.

customRanking

Specifies the Custom ranking criterion. Use the asc and desc modifiers to specify the ranking order: ascending or descending.

decompoundQuery

Splits compound words into their component word parts in the query.

decompoundedAttributes

Attributes in your index to which word segmentation (decompounding) applies.

disableExactOnAttributes

Attributes for which you want to turn off the exact ranking criterion.

disablePrefixOnAttributes

Attributes for which you want to turn off prefix matching.

disableTypoToleranceOnAttributes

Attributes for which you want to turn off typo tolerance.

disableTypoToleranceOnWords

Words for which you want to turn off typo tolerance.

enablePersonalization

Incidates whether Personalization is enabled.

enableReRanking

Indicates whether this search will use Dynamic Re-Ranking.

enableRules

Incidates whether Rules are enabled.

highlightPostTag

HTML string to insert after the highlighted parts in all highlight and snippet results.

highlightPreTag

HTML string to insert before the highlighted parts in all highlight and snippet results.

hitsPerPage

Number of hits per page.

indexLanguages

Set the languages of your index, for language-specific processing steps such as tokenization and normalization.

keepDiacriticsOnCharacters

Characters that the engine shouldn't automatically normalize.

maxFacetHits

Maximum number of facet hits to return when searching for facet values.

maxValuesPerFacet

Maximum number of facet values to return for each facet.

minProximity

Precision of the proximity ranking criterion.

minWordSizefor1Typo

Minimum number of characters a word in the query string must contain to accept matches with one typo.

minWordSizefor2Typos

Minimum number of characters a word in the query string must contain to accept matches with two typos.

numericAttributesForFiltering

Numeric attributes that can be used as numerical filters.

optionalWords

Words which should be considered optional when found in a query.

paginationLimitedTo

Maximum number of hits accessible through pagination.

queryLanguages

Sets your user's search language. This adjusts language-specific settings and features such as ignorePlurals, removeStopWords, and CJK word detection.

ranking

Determines the order in which Algolia returns your results.

relevancyStrictness

Relevancy threshold below which less relevant results aren't included in the results.

replaceSynonymsInHighlight

Whether to highlight and snippet the original word that matches the synonym or the synonym itself.

replicas

Creates replicas, which are copies of a primary index with the same records but different settings.

responseFields

Attributes to include in the API response for search and browse queries.

restrictHighlightAndSnippetArrays

Restrict highlighting and snippeting to items that matched the query.

searchableAttributes

Attributes used for searching, including determining if matches at the beginning of a word are important (ordered) or not (unordered).

separatorsToIndex

Controls which separators are added to an Algolia index as part of normalization. Separators are all non-letter characters except spaces and currency characters, such as $€£¥.

snippetEllipsisText

String used as an ellipsis indicator when a snippet is truncated.

sortFacetValuesBy

Controls how facet values are fetched.

unretrievableAttributes

Attributes that can't be retrieved at query time.

userData

Lets you store custom data in your indices.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class IndexSettingsAsSearchParams(attributesForFaceting: Option[Seq[String]], attributesToRetrieve: Option[Seq[String]], ranking: Option[Seq[String]], customRanking: Option[Seq[String]], relevancyStrictness: Option[Int], attributesToHighlight: Option[Seq[String]], attributesToSnippet: Option[Seq[String]], highlightPreTag: Option[String], highlightPostTag: Option[String], snippetEllipsisText: Option[String], restrictHighlightAndSnippetArrays: Option[Boolean], hitsPerPage: Option[Int], minWordSizefor1Typo: Option[Int], minWordSizefor2Typos: Option[Int], typoTolerance: Option[TypoTolerance], allowTyposOnNumericTokens: Option[Boolean], disableTypoToleranceOnAttributes: Option[Seq[String]], ignorePlurals: Option[IgnorePlurals], removeStopWords: Option[RemoveStopWords], keepDiacriticsOnCharacters: Option[String], queryLanguages: Option[Seq[String]], decompoundQuery: Option[Boolean], enableRules: Option[Boolean], enablePersonalization: Option[Boolean], queryType: Option[QueryType], removeWordsIfNoResults: Option[RemoveWordsIfNoResults], mode: Option[Mode], semanticSearch: Option[SemanticSearch], advancedSyntax: Option[Boolean], optionalWords: Option[Seq[String]], disableExactOnAttributes: Option[Seq[String]], exactOnSingleWordQuery: Option[ExactOnSingleWordQuery], alternativesAsExact: Option[Seq[AlternativesAsExact]], advancedSyntaxFeatures: Option[Seq[AdvancedSyntaxFeatures]], distinct: Option[Distinct], replaceSynonymsInHighlight: Option[Boolean], minProximity: Option[Int], responseFields: Option[Seq[String]], maxFacetHits: Option[Int], maxValuesPerFacet: Option[Int], sortFacetValuesBy: Option[String], attributeCriteriaComputedByMinProximity: Option[Boolean], renderingContent: Option[RenderingContent], enableReRanking: Option[Boolean], reRankingApplyFilter: Option[ReRankingApplyFilter])

IndexSettingsAsSearchParams

IndexSettingsAsSearchParams

Value parameters

advancedSyntax

Enables the advanced query syntax.

advancedSyntaxFeatures

Allows you to specify which advanced syntax features are active when advancedSyntax is enabled.

allowTyposOnNumericTokens

Whether to allow typos on numbers ("numeric tokens") in the query string.

alternativesAsExact

Alternatives that should be considered an exact match by the exact ranking criterion.

attributeCriteriaComputedByMinProximity

When the Attribute criterion is ranked above Proximity in your ranking formula, Proximity is used to select which searchable attribute is matched in the Attribute ranking stage.

attributesForFaceting

Attributes used for faceting and the modifiers that can be applied: filterOnly, searchable, and afterDistinct.

attributesToHighlight

Attributes to highlight. Strings that match the search query in the attributes are highlighted by surrounding them with HTML tags (highlightPreTag and highlightPostTag).

attributesToRetrieve

Attributes to include in the API response. To reduce the size of your response, you can retrieve only some of the attributes. By default, the response includes all attributes.

attributesToSnippet

Attributes to snippet. 'Snippeting' is shortening the attribute to a certain number of words. If not specified, the attribute is shortened to the 10 words around the matching string but you can specify the number. For example: body:20.

customRanking

Specifies the Custom ranking criterion. Use the asc and desc modifiers to specify the ranking order: ascending or descending.

decompoundQuery

Splits compound words into their component word parts in the query.

disableExactOnAttributes

Attributes for which you want to turn off the exact ranking criterion.

disableTypoToleranceOnAttributes

Attributes for which you want to turn off typo tolerance.

enablePersonalization

Incidates whether Personalization is enabled.

enableReRanking

Indicates whether this search will use Dynamic Re-Ranking.

enableRules

Incidates whether Rules are enabled.

highlightPostTag

HTML string to insert after the highlighted parts in all highlight and snippet results.

highlightPreTag

HTML string to insert before the highlighted parts in all highlight and snippet results.

hitsPerPage

Number of hits per page.

keepDiacriticsOnCharacters

Characters that the engine shouldn't automatically normalize.

maxFacetHits

Maximum number of facet hits to return when searching for facet values.

maxValuesPerFacet

Maximum number of facet values to return for each facet.

minProximity

Precision of the proximity ranking criterion.

minWordSizefor1Typo

Minimum number of characters a word in the query string must contain to accept matches with one typo.

minWordSizefor2Typos

Minimum number of characters a word in the query string must contain to accept matches with two typos.

optionalWords

Words which should be considered optional when found in a query.

queryLanguages

Sets your user's search language. This adjusts language-specific settings and features such as ignorePlurals, removeStopWords, and CJK word detection.

ranking

Determines the order in which Algolia returns your results.

relevancyStrictness

Relevancy threshold below which less relevant results aren't included in the results.

replaceSynonymsInHighlight

Whether to highlight and snippet the original word that matches the synonym or the synonym itself.

responseFields

Attributes to include in the API response for search and browse queries.

restrictHighlightAndSnippetArrays

Restrict highlighting and snippeting to items that matched the query.

snippetEllipsisText

String used as an ellipsis indicator when a snippet is truncated.

sortFacetValuesBy

Controls how facet values are fetched.

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
case class Languages(plurals: DictionaryLanguage, stopwords: DictionaryLanguage, compounds: DictionaryLanguage)

Dictionary language.

Dictionary language.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ListApiKeysResponse(keys: Seq[GetApiKeyResponse])

ListApiKeysResponse

ListApiKeysResponse

Value parameters

keys

API keys.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ListClustersResponse(topUsers: Seq[String])

Clusters.

Clusters.

Value parameters

topUsers

Key-value pairs with cluster names as keys and lists of users with the highest number of records per cluster as values.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ListIndicesResponse(items: Seq[FetchedIndex], nbPages: Option[Int])

ListIndicesResponse

ListIndicesResponse

Value parameters

items

All indices in your Algolia application.

nbPages

Number of pages.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ListUserIdsResponse(userIDs: Seq[UserId])

User ID data.

User ID data.

Value parameters

userIDs

User IDs.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Log(timestamp: String, method: String, answerCode: String, queryBody: String, answer: String, url: String, ip: String, queryHeaders: String, sha1: String, nbApiCalls: String, processingTimeMs: String, index: Option[String], queryParams: Option[String], queryNbHits: Option[String], innerQueries: Option[Seq[LogQuery]])

Log

Log

Value parameters

answer

Answer body. Truncated after 1,000 characters.

answerCode

HTTP response code.

index

Index targeted by the query.

innerQueries

Performed queries for the given request.

ip

IP address of the client that performed the request.

method

HTTP method of the performed request.

nbApiCalls

Number of API calls.

processingTimeMs

Processing time for the query. Doesn't include network time.

queryBody

Request body. Truncated after 1,000 characters.

queryHeaders

Request headers (API key is obfuscated).

queryNbHits

Number of hits returned for the query.

queryParams

Query parameters sent with the request.

sha1

SHA1 signature of the log entry.

timestamp

Timestamp in ISO 8601 format.

url

Request URL.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class LogQuery(indexName: Option[String], userToken: Option[String], queryId: Option[String])

LogQuery

LogQuery

Value parameters

indexName

Index targeted by the query.

queryId

Unique query identifier.

userToken

User identifier.

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object All.type
object Build.type
object Error.type
object Query.type
object LogType

LogType enumeration

LogType enumeration

Attributes

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

Attributes

Supertypes
class CustomSerializer[LogType]
trait Serializer[LogType]
class Object
trait Matchable
class Any
sealed trait MatchLevel

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Full.type
object None.type
object Partial.type
object MatchLevel

Indicates how well the attribute matched the search query.

Indicates how well the attribute matched the search query.

Attributes

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

Attributes

Supertypes
class CustomSerializer[MatchLevel]
trait Serializer[MatchLevel]
class Object
trait Matchable
class Any
case class MatchedGeoLocation(lat: Option[Double], lng: Option[Double], distance: Option[Int])

MatchedGeoLocation

MatchedGeoLocation

Value parameters

distance

Distance between the matched location and the search location (in meters).

lat

Latitude of the matched location.

lng

Longitude of the matched location.

Attributes

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

MixedSearchFilters

MixedSearchFilters

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SeqOfString
class StringValue

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait Serializer[MixedSearchFilters]
class Object
trait Matchable
class Any
Self type
sealed trait Mode

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object KeywordSearch.type
object NeuralSearch.type
object Mode

Search mode the index will use to query for results.

Search mode the index will use to query for results.

Attributes

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

Attributes

Supertypes
class CustomSerializer[Mode]
trait Serializer[Mode]
class Object
trait Matchable
class Any
case class MultipleBatchRequest(action: Action, body: Any, indexName: String)

MultipleBatchRequest

MultipleBatchRequest

Value parameters

body

Operation arguments (varies with specified action).

indexName

Index to target for this operation.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MultipleBatchResponse(taskID: Map[String, Long], objectIDs: Seq[String])

MultipleBatchResponse

MultipleBatchResponse

Value parameters

objectIDs

Unique object (record) identifiers.

taskID

TaskIDs per index.

Attributes

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

Filter on numeric attributes.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object NumericFiltersSerializer extends Serializer[NumericFilters]

Attributes

Supertypes
trait Serializer[NumericFilters]
class Object
trait Matchable
class Any
Self type
case class OperationIndexParams(operation: OperationType, destination: String, scope: Option[Seq[ScopeType]])

OperationIndexParams

OperationIndexParams

Value parameters

destination

Algolia index name.

scope

This only applies to the copy operation. If you omit scope, the copy command copies all records, settings, synonyms, and rules. If you specify scope, only the specified scopes are copied.

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Copy.type
object Move.type
object OperationType

Operation to perform (move or copy).

Operation to perform (move or copy).

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class OperationTypeSerializer extends CustomSerializer[OperationType]

Attributes

Supertypes
class CustomSerializer[OperationType]
trait Serializer[OperationType]
class Object
trait Matchable
class Any
sealed trait OptionalFilters

Create filters to boost or demote records. Records that match the filter are ranked higher for positive and lower for negative optional filters. In contrast to regular filters, records that don't match the optional filter are still included in the results, only their ranking is affected.

Create filters to boost or demote records. Records that match the filter are ranked higher for positive and lower for negative optional filters. In contrast to regular filters, records that don't match the optional filter are still included in the results, only their ranking is affected.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object OptionalFiltersSerializer extends Serializer[OptionalFilters]

Attributes

Supertypes
trait Serializer[OptionalFilters]
class Object
trait Matchable
class Any
Self type
case class Params(query: Option[ConsequenceQuery], automaticFacetFilters: Option[AutomaticFacetFilters], automaticOptionalFacetFilters: Option[AutomaticFacetFilters], renderingContent: Option[RenderingContent])

Additional search parameters.

Additional search parameters.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Personalization(filtersScore: Option[Int], rankingScore: Option[Int], score: Option[Int])

Personalization

Personalization

Value parameters

filtersScore

The score of the filters.

rankingScore

The score of the ranking.

score

The score of the event.

Attributes

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

Promote

Promote

Attributes

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

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Promote.type
case class PromoteObjectID(objectID: String, position: Int) extends PromoteTrait

Record to promote.

Record to promote.

Value parameters

objectID

Unique identifier of the record to promote.

position

The position to promote the records to. If you pass objectIDs, the records are placed at this position as a group. For example, if you pronmote four objectIDs to position 0, the records take the first four positions.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PromoteTrait
trait Promote
class Object
trait Matchable
class Any
Show all
case class PromoteObjectIDs(objectIDs: Seq[String], position: Int) extends PromoteTrait

Records to promote.

Records to promote.

Value parameters

objectIDs

Unique identifiers of the records to promote.

position

The position to promote the records to. If you pass objectIDs, the records are placed at this position as a group. For example, if you pronmote four objectIDs to position 0, the records take the first four positions.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PromoteTrait
trait Promote
class Object
trait Matchable
class Any
Show all
object PromoteSerializer extends Serializer[Promote]

Attributes

Supertypes
trait Serializer[Promote]
class Object
trait Matchable
class Any
Self type
trait PromoteTrait extends Promote

Attributes

Supertypes
trait Promote
class Object
trait Matchable
class Any
Known subtypes
sealed trait QueryType

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object PrefixAll.type
object PrefixLast.type
object PrefixNone.type
object QueryType

Determines how query words are interpreted as prefixes.

Determines how query words are interpreted as prefixes.

Attributes

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

Attributes

Supertypes
class CustomSerializer[QueryType]
trait Serializer[QueryType]
class Object
trait Matchable
class Any
case class RankingInfo(filters: Int, firstMatchedWord: Int, geoDistance: Int, geoPrecision: Option[Int], matchedGeoLocation: Option[MatchedGeoLocation], personalization: Option[Personalization], nbExactWords: Int, nbTypos: Int, promoted: Boolean, proximityDistance: Option[Int], userScore: Int, words: Int, promotedByReRanking: Option[Boolean])

RankingInfo

RankingInfo

Value parameters

filters

This field is reserved for advanced usage.

firstMatchedWord

Position of the most important matched attribute in the attributes to index list.

geoDistance

Distance between the geo location in the search query and the best matching geo location in the record, divided by the geo precision (in meters).

geoPrecision

Precision used when computing the geo distance, in meters.

nbExactWords

Number of exactly matched words.

nbTypos

Number of typos encountered when matching the record.

promoted

Present and set to true if a Rule promoted the hit.

promotedByReRanking

Wether the record are promoted by the re-ranking strategy.

proximityDistance

When the query contains more than one word, the sum of the distances between matched words (in meters).

userScore

Custom ranking for the object, expressed as a single integer value.

words

Number of matched words, including prefixes and typos.

Attributes

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

When Dynamic Re-Ranking is enabled, only records that match these filters will be affected by Dynamic Re-Ranking.

When Dynamic Re-Ranking is enabled, only records that match these filters will be affected by Dynamic Re-Ranking.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait Serializer[ReRankingApplyFilter]
class Object
trait Matchable
class Any
Self type
case class Redirect(index: Option[Seq[RedirectRuleIndexMetadata]])

Redirect results to a URL.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class RedirectRuleIndexMetadata(source: String, dest: String, reason: String, succeed: Boolean, data: RedirectRuleIndexMetadataData)

RedirectRuleIndexMetadata

RedirectRuleIndexMetadata

Value parameters

dest

Destination index for the redirect rule.

reason

Reason for the redirect rule.

source

Source index for the redirect rule.

succeed

Redirect rule status.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class RedirectRuleIndexMetadataData(ruleObjectID: String)

Redirect rule data.

Redirect rule data.

Attributes

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

Removes stop (common) words from the query before executing it. removeStopWords is used in conjunction with the queryLanguages setting. list: language ISO codes for which stop words should be enabled. This list will override any values that you may have set in queryLanguages. true: enables the stop words feature, ensuring that stop words are removed from consideration in a search. The languages supported here are either every language (this is the default) or those set by queryLanguages. false: turns off the stop words feature, allowing stop words to be taken into account in a search.

Removes stop (common) words from the query before executing it. removeStopWords is used in conjunction with the queryLanguages setting. list: language ISO codes for which stop words should be enabled. This list will override any values that you may have set in queryLanguages. true: enables the stop words feature, ensuring that stop words are removed from consideration in a search. The languages supported here are either every language (this is the default) or those set by queryLanguages. false: turns off the stop words feature, allowing stop words to be taken into account in a search.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object RemoveStopWordsSerializer extends Serializer[RemoveStopWords]

Attributes

Supertypes
trait Serializer[RemoveStopWords]
class Object
trait Matchable
class Any
Self type
case class RemoveUserIdResponse(deletedAt: String)

RemoveUserIdResponse

RemoveUserIdResponse

Value parameters

deletedAt

Timestamp of deletion in ISO 8601 format.

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AllOptional.type
object FirstWords.type
object LastWords.type
object None.type

Strategy to remove words from the query when it doesn't match any hits.

Strategy to remove words from the query when it doesn't match any hits.

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class CustomSerializer[RemoveWordsIfNoResults]
trait Serializer[RemoveWordsIfNoResults]
class Object
trait Matchable
class Any
case class RenderingContent(facetOrdering: Option[FacetOrdering])

Extra content for the search UI, for example, to control the ordering and display of facets. You can set a default value and dynamically override it with Rules.

Extra content for the search UI, for example, to control the ordering and display of facets. You can set a default value and dynamically override it with Rules.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ReplaceSourceResponse(updatedAt: String)

ReplaceSourceResponse

ReplaceSourceResponse

Value parameters

updatedAt

Timestamp of the last update in ISO 8601 format.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Rule(objectID: String, conditions: Option[Seq[Condition]], consequence: Option[Consequence], description: Option[String], enabled: Option[Boolean], validity: Option[Seq[TimeRange]])

Rule object.

Rule object.

Value parameters

conditions

Conditions required to activate a rule. You can use up to 25 conditions per rule.

description

Description of the rule's purpose. This can be helpful for display in the Algolia dashboard.

enabled

Indicates whether to enable the rule. If it isn't enabled, it isn't applied at query time.

objectID

Unique identifier for a rule object.

validity

If you specify a validity period, the rule only applies only during that period. If specified, the array must not be empty.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SaveObjectResponse(createdAt: String, taskID: Long, objectID: Option[String])

SaveObjectResponse

SaveObjectResponse

Value parameters

createdAt

Date of creation (ISO-8601 format).

objectID

Unique object identifier.

taskID

Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the task operation and this taskID.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SaveSynonymResponse(taskID: Long, updatedAt: String, id: String)

SaveSynonymResponse

SaveSynonymResponse

Value parameters

id

Unique identifier of a synonym object.

taskID

Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the task operation and this taskID.

updatedAt

Timestamp of the last update in ISO 8601 format.

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Rules.type
object Settings.type
object Synonyms.type
object ScopeType

ScopeType enumeration

ScopeType enumeration

Attributes

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

Attributes

Supertypes
class CustomSerializer[ScopeType]
trait Serializer[ScopeType]
class Object
trait Matchable
class Any
case class SearchDictionaryEntriesParams(query: String, page: Option[Int], hitsPerPage: Option[Int], language: Option[String])

searchDictionaryEntries parameters.

searchDictionaryEntries parameters.

Value parameters

hitsPerPage

Number of hits per page.

language

Supported language ISO code.

page

Page to retrieve (the first page is 0, not 1).

query

Text to search for in an index.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SearchForFacetValuesRequest(params: Option[String], facetQuery: Option[String], maxFacetHits: Option[Int])

SearchForFacetValuesRequest

SearchForFacetValuesRequest

Value parameters

facetQuery

Text to search inside the facet's values.

maxFacetHits

Maximum number of facet hits to return when searching for facet values.

params

Search parameters as a URL-encoded query string.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SearchForFacetValuesResponse(facetHits: Seq[FacetHits], exhaustiveFacetsCount: Boolean, processingTimeMS: Option[Int]) extends SearchResultTrait

SearchForFacetValuesResponse

SearchForFacetValuesResponse

Value parameters

exhaustiveFacetsCount

See the facetsCount field of the exhaustive object in the response.

processingTimeMS

Time the server took to process the request, in milliseconds.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SearchResult
class Object
trait Matchable
class Any
Show all
case class SearchForFacets(params: Option[String], query: Option[String], similarQuery: Option[String], filters: Option[String], facetFilters: Option[FacetFilters], optionalFilters: Option[OptionalFilters], numericFilters: Option[NumericFilters], tagFilters: Option[TagFilters], sumOrFiltersScores: Option[Boolean], restrictSearchableAttributes: Option[Seq[String]], facets: Option[Seq[String]], facetingAfterDistinct: Option[Boolean], page: Option[Int], offset: Option[Int], length: Option[Int], aroundLatLng: Option[String], aroundLatLngViaIP: Option[Boolean], aroundRadius: Option[AroundRadius], aroundPrecision: Option[AroundPrecision], minimumAroundRadius: Option[Int], insideBoundingBox: Option[Seq[Seq[Double]]], insidePolygon: Option[Seq[Seq[Double]]], naturalLanguages: Option[Seq[String]], ruleContexts: Option[Seq[String]], personalizationImpact: Option[Int], userToken: Option[String], getRankingInfo: Option[Boolean], explain: Option[Seq[String]], synonyms: Option[Boolean], clickAnalytics: Option[Boolean], analytics: Option[Boolean], analyticsTags: Option[Seq[String]], percentileComputation: Option[Boolean], enableABTest: Option[Boolean], attributesForFaceting: Option[Seq[String]], attributesToRetrieve: Option[Seq[String]], ranking: Option[Seq[String]], customRanking: Option[Seq[String]], relevancyStrictness: Option[Int], attributesToHighlight: Option[Seq[String]], attributesToSnippet: Option[Seq[String]], highlightPreTag: Option[String], highlightPostTag: Option[String], snippetEllipsisText: Option[String], restrictHighlightAndSnippetArrays: Option[Boolean], hitsPerPage: Option[Int], minWordSizefor1Typo: Option[Int], minWordSizefor2Typos: Option[Int], typoTolerance: Option[TypoTolerance], allowTyposOnNumericTokens: Option[Boolean], disableTypoToleranceOnAttributes: Option[Seq[String]], ignorePlurals: Option[IgnorePlurals], removeStopWords: Option[RemoveStopWords], keepDiacriticsOnCharacters: Option[String], queryLanguages: Option[Seq[String]], decompoundQuery: Option[Boolean], enableRules: Option[Boolean], enablePersonalization: Option[Boolean], queryType: Option[QueryType], removeWordsIfNoResults: Option[RemoveWordsIfNoResults], mode: Option[Mode], semanticSearch: Option[SemanticSearch], advancedSyntax: Option[Boolean], optionalWords: Option[Seq[String]], disableExactOnAttributes: Option[Seq[String]], exactOnSingleWordQuery: Option[ExactOnSingleWordQuery], alternativesAsExact: Option[Seq[AlternativesAsExact]], advancedSyntaxFeatures: Option[Seq[AdvancedSyntaxFeatures]], distinct: Option[Distinct], replaceSynonymsInHighlight: Option[Boolean], minProximity: Option[Int], responseFields: Option[Seq[String]], maxFacetHits: Option[Int], maxValuesPerFacet: Option[Int], sortFacetValuesBy: Option[String], attributeCriteriaComputedByMinProximity: Option[Boolean], renderingContent: Option[RenderingContent], enableReRanking: Option[Boolean], reRankingApplyFilter: Option[ReRankingApplyFilter], facet: String, indexName: String, facetQuery: Option[String], `type`: SearchTypeFacet) extends SearchQueryTrait

SearchForFacets

SearchForFacets

Value parameters

advancedSyntax

Enables the advanced query syntax.

advancedSyntaxFeatures

Allows you to specify which advanced syntax features are active when advancedSyntax is enabled.

allowTyposOnNumericTokens

Whether to allow typos on numbers ("numeric tokens") in the query string.

alternativesAsExact

Alternatives that should be considered an exact match by the exact ranking criterion.

analytics

Indicates whether this query will be included in analytics.

analyticsTags

Tags to apply to the query for segmenting analytics data.

aroundLatLng

Search for entries around a central location, enabling a geographical search within a circular area.

aroundLatLngViaIP

Search for entries around a location. The location is automatically computed from the requester's IP address.

attributeCriteriaComputedByMinProximity

When the Attribute criterion is ranked above Proximity in your ranking formula, Proximity is used to select which searchable attribute is matched in the Attribute ranking stage.

attributesForFaceting

Attributes used for faceting and the modifiers that can be applied: filterOnly, searchable, and afterDistinct.

attributesToHighlight

Attributes to highlight. Strings that match the search query in the attributes are highlighted by surrounding them with HTML tags (highlightPreTag and highlightPostTag).

attributesToRetrieve

Attributes to include in the API response. To reduce the size of your response, you can retrieve only some of the attributes. By default, the response includes all attributes.

attributesToSnippet

Attributes to snippet. 'Snippeting' is shortening the attribute to a certain number of words. If not specified, the attribute is shortened to the 10 words around the matching string but you can specify the number. For example: body:20.

clickAnalytics

Indicates whether a query ID parameter is included in the search response. This is required for tracking click and conversion events.

customRanking

Specifies the Custom ranking criterion. Use the asc and desc modifiers to specify the ranking order: ascending or descending.

decompoundQuery

Splits compound words into their component word parts in the query.

disableExactOnAttributes

Attributes for which you want to turn off the exact ranking criterion.

disableTypoToleranceOnAttributes

Attributes for which you want to turn off typo tolerance.

enableABTest

Incidates whether this search will be considered in A/B testing.

enablePersonalization

Incidates whether Personalization is enabled.

enableReRanking

Indicates whether this search will use Dynamic Re-Ranking.

enableRules

Incidates whether Rules are enabled.

explain

Enriches the API's response with information about how the query was processed.

facet

Facet name.

facetQuery

Text to search inside the facet's values.

facetingAfterDistinct

Forces faceting to be applied after de-duplication (with the distinct feature). Alternatively, the afterDistinct modifier of attributesForFaceting allows for more granular control.

facets

Returns facets, their facet values, and the number of matching facet values.

filters

Filter the query with numeric, facet, or tag filters.

getRankingInfo

Incidates whether the search response includes detailed ranking information.

highlightPostTag

HTML string to insert after the highlighted parts in all highlight and snippet results.

highlightPreTag

HTML string to insert before the highlighted parts in all highlight and snippet results.

hitsPerPage

Number of hits per page.

indexName

Algolia index name.

insideBoundingBox

Search inside a rectangular area (in geographical coordinates).

insidePolygon

Search inside a polygon (in geographical coordinates).

keepDiacriticsOnCharacters

Characters that the engine shouldn't automatically normalize.

length

Sets the number of hits to retrieve (for use with offset). > Note: Using page and hitsPerPage is the recommended method for paging results. However, you can use offset and length to implement an alternative approach to paging.

maxFacetHits

Maximum number of facet hits to return when searching for facet values.

maxValuesPerFacet

Maximum number of facet values to return for each facet.

minProximity

Precision of the proximity ranking criterion.

minWordSizefor1Typo

Minimum number of characters a word in the query string must contain to accept matches with one typo.

minWordSizefor2Typos

Minimum number of characters a word in the query string must contain to accept matches with two typos.

minimumAroundRadius

Minimum radius (in meters) used for a geographical search when aroundRadius isn't set.

naturalLanguages

Changes the default values of parameters that work best for a natural language query, such as ignorePlurals, removeStopWords, removeWordsIfNoResults, analyticsTags, and ruleContexts. These parameters work well together when the query consists of fuller natural language strings instead of keywords, for example when processing voice search queries.

offset

Specifies the offset of the first hit to return. > Note: Using page and hitsPerPage is the recommended method for paging results. However, you can use offset and length to implement an alternative approach to paging.

optionalWords

Words which should be considered optional when found in a query.

page

Page to retrieve (the first page is 0, not 1).

params

Search parameters as a URL-encoded query string.

percentileComputation

Whether to include or exclude a query from the processing-time percentile computation.

personalizationImpact

Defines how much Personalization affects results.

query

Text to search for in an index.

queryLanguages

Sets your user's search language. This adjusts language-specific settings and features such as ignorePlurals, removeStopWords, and CJK word detection.

ranking

Determines the order in which Algolia returns your results.

relevancyStrictness

Relevancy threshold below which less relevant results aren't included in the results.

replaceSynonymsInHighlight

Whether to highlight and snippet the original word that matches the synonym or the synonym itself.

responseFields

Attributes to include in the API response for search and browse queries.

restrictHighlightAndSnippetArrays

Restrict highlighting and snippeting to items that matched the query.

restrictSearchableAttributes

Restricts a query to only look at a subset of your searchable attributes.

ruleContexts

Assigns rule contexts to search queries.

similarQuery

Overrides the query parameter and performs a more generic search.

snippetEllipsisText

String used as an ellipsis indicator when a snippet is truncated.

sortFacetValuesBy

Controls how facet values are fetched.

sumOrFiltersScores

Determines how to calculate filter scores. If false, maximum score is kept. If true, score is summed.

synonyms

Whether to take into account an index's synonyms for a particular search.

userToken

Associates a user token with the current search.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SearchQuery
class Object
trait Matchable
class Any
Show all
case class SearchForFacetsOptions(facet: String, indexName: String, facetQuery: Option[String], maxFacetHits: Option[Int], `type`: SearchTypeFacet)

SearchForFacetsOptions

SearchForFacetsOptions

Value parameters

facet

Facet name.

facetQuery

Text to search inside the facet's values.

indexName

Algolia index name.

maxFacetHits

Maximum number of facet hits to return when searching for facet values.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SearchForHits(params: Option[String], query: Option[String], similarQuery: Option[String], filters: Option[String], facetFilters: Option[FacetFilters], optionalFilters: Option[OptionalFilters], numericFilters: Option[NumericFilters], tagFilters: Option[TagFilters], sumOrFiltersScores: Option[Boolean], restrictSearchableAttributes: Option[Seq[String]], facets: Option[Seq[String]], facetingAfterDistinct: Option[Boolean], page: Option[Int], offset: Option[Int], length: Option[Int], aroundLatLng: Option[String], aroundLatLngViaIP: Option[Boolean], aroundRadius: Option[AroundRadius], aroundPrecision: Option[AroundPrecision], minimumAroundRadius: Option[Int], insideBoundingBox: Option[Seq[Seq[Double]]], insidePolygon: Option[Seq[Seq[Double]]], naturalLanguages: Option[Seq[String]], ruleContexts: Option[Seq[String]], personalizationImpact: Option[Int], userToken: Option[String], getRankingInfo: Option[Boolean], explain: Option[Seq[String]], synonyms: Option[Boolean], clickAnalytics: Option[Boolean], analytics: Option[Boolean], analyticsTags: Option[Seq[String]], percentileComputation: Option[Boolean], enableABTest: Option[Boolean], attributesForFaceting: Option[Seq[String]], attributesToRetrieve: Option[Seq[String]], ranking: Option[Seq[String]], customRanking: Option[Seq[String]], relevancyStrictness: Option[Int], attributesToHighlight: Option[Seq[String]], attributesToSnippet: Option[Seq[String]], highlightPreTag: Option[String], highlightPostTag: Option[String], snippetEllipsisText: Option[String], restrictHighlightAndSnippetArrays: Option[Boolean], hitsPerPage: Option[Int], minWordSizefor1Typo: Option[Int], minWordSizefor2Typos: Option[Int], typoTolerance: Option[TypoTolerance], allowTyposOnNumericTokens: Option[Boolean], disableTypoToleranceOnAttributes: Option[Seq[String]], ignorePlurals: Option[IgnorePlurals], removeStopWords: Option[RemoveStopWords], keepDiacriticsOnCharacters: Option[String], queryLanguages: Option[Seq[String]], decompoundQuery: Option[Boolean], enableRules: Option[Boolean], enablePersonalization: Option[Boolean], queryType: Option[QueryType], removeWordsIfNoResults: Option[RemoveWordsIfNoResults], mode: Option[Mode], semanticSearch: Option[SemanticSearch], advancedSyntax: Option[Boolean], optionalWords: Option[Seq[String]], disableExactOnAttributes: Option[Seq[String]], exactOnSingleWordQuery: Option[ExactOnSingleWordQuery], alternativesAsExact: Option[Seq[AlternativesAsExact]], advancedSyntaxFeatures: Option[Seq[AdvancedSyntaxFeatures]], distinct: Option[Distinct], replaceSynonymsInHighlight: Option[Boolean], minProximity: Option[Int], responseFields: Option[Seq[String]], maxFacetHits: Option[Int], maxValuesPerFacet: Option[Int], sortFacetValuesBy: Option[String], attributeCriteriaComputedByMinProximity: Option[Boolean], renderingContent: Option[RenderingContent], enableReRanking: Option[Boolean], reRankingApplyFilter: Option[ReRankingApplyFilter], indexName: String, `type`: Option[SearchTypeDefault]) extends SearchQueryTrait

SearchForHits

SearchForHits

Value parameters

advancedSyntax

Enables the advanced query syntax.

advancedSyntaxFeatures

Allows you to specify which advanced syntax features are active when advancedSyntax is enabled.

allowTyposOnNumericTokens

Whether to allow typos on numbers ("numeric tokens") in the query string.

alternativesAsExact

Alternatives that should be considered an exact match by the exact ranking criterion.

analytics

Indicates whether this query will be included in analytics.

analyticsTags

Tags to apply to the query for segmenting analytics data.

aroundLatLng

Search for entries around a central location, enabling a geographical search within a circular area.

aroundLatLngViaIP

Search for entries around a location. The location is automatically computed from the requester's IP address.

attributeCriteriaComputedByMinProximity

When the Attribute criterion is ranked above Proximity in your ranking formula, Proximity is used to select which searchable attribute is matched in the Attribute ranking stage.

attributesForFaceting

Attributes used for faceting and the modifiers that can be applied: filterOnly, searchable, and afterDistinct.

attributesToHighlight

Attributes to highlight. Strings that match the search query in the attributes are highlighted by surrounding them with HTML tags (highlightPreTag and highlightPostTag).

attributesToRetrieve

Attributes to include in the API response. To reduce the size of your response, you can retrieve only some of the attributes. By default, the response includes all attributes.

attributesToSnippet

Attributes to snippet. 'Snippeting' is shortening the attribute to a certain number of words. If not specified, the attribute is shortened to the 10 words around the matching string but you can specify the number. For example: body:20.

clickAnalytics

Indicates whether a query ID parameter is included in the search response. This is required for tracking click and conversion events.

customRanking

Specifies the Custom ranking criterion. Use the asc and desc modifiers to specify the ranking order: ascending or descending.

decompoundQuery

Splits compound words into their component word parts in the query.

disableExactOnAttributes

Attributes for which you want to turn off the exact ranking criterion.

disableTypoToleranceOnAttributes

Attributes for which you want to turn off typo tolerance.

enableABTest

Incidates whether this search will be considered in A/B testing.

enablePersonalization

Incidates whether Personalization is enabled.

enableReRanking

Indicates whether this search will use Dynamic Re-Ranking.

enableRules

Incidates whether Rules are enabled.

explain

Enriches the API's response with information about how the query was processed.

facetingAfterDistinct

Forces faceting to be applied after de-duplication (with the distinct feature). Alternatively, the afterDistinct modifier of attributesForFaceting allows for more granular control.

facets

Returns facets, their facet values, and the number of matching facet values.

filters

Filter the query with numeric, facet, or tag filters.

getRankingInfo

Incidates whether the search response includes detailed ranking information.

highlightPostTag

HTML string to insert after the highlighted parts in all highlight and snippet results.

highlightPreTag

HTML string to insert before the highlighted parts in all highlight and snippet results.

hitsPerPage

Number of hits per page.

indexName

Algolia index name.

insideBoundingBox

Search inside a rectangular area (in geographical coordinates).

insidePolygon

Search inside a polygon (in geographical coordinates).

keepDiacriticsOnCharacters

Characters that the engine shouldn't automatically normalize.

length

Sets the number of hits to retrieve (for use with offset). > Note: Using page and hitsPerPage is the recommended method for paging results. However, you can use offset and length to implement an alternative approach to paging.

maxFacetHits

Maximum number of facet hits to return when searching for facet values.

maxValuesPerFacet

Maximum number of facet values to return for each facet.

minProximity

Precision of the proximity ranking criterion.

minWordSizefor1Typo

Minimum number of characters a word in the query string must contain to accept matches with one typo.

minWordSizefor2Typos

Minimum number of characters a word in the query string must contain to accept matches with two typos.

minimumAroundRadius

Minimum radius (in meters) used for a geographical search when aroundRadius isn't set.

naturalLanguages

Changes the default values of parameters that work best for a natural language query, such as ignorePlurals, removeStopWords, removeWordsIfNoResults, analyticsTags, and ruleContexts. These parameters work well together when the query consists of fuller natural language strings instead of keywords, for example when processing voice search queries.

offset

Specifies the offset of the first hit to return. > Note: Using page and hitsPerPage is the recommended method for paging results. However, you can use offset and length to implement an alternative approach to paging.

optionalWords

Words which should be considered optional when found in a query.

page

Page to retrieve (the first page is 0, not 1).

params

Search parameters as a URL-encoded query string.

percentileComputation

Whether to include or exclude a query from the processing-time percentile computation.

personalizationImpact

Defines how much Personalization affects results.

query

Text to search for in an index.

queryLanguages

Sets your user's search language. This adjusts language-specific settings and features such as ignorePlurals, removeStopWords, and CJK word detection.

ranking

Determines the order in which Algolia returns your results.

relevancyStrictness

Relevancy threshold below which less relevant results aren't included in the results.

replaceSynonymsInHighlight

Whether to highlight and snippet the original word that matches the synonym or the synonym itself.

responseFields

Attributes to include in the API response for search and browse queries.

restrictHighlightAndSnippetArrays

Restrict highlighting and snippeting to items that matched the query.

restrictSearchableAttributes

Restricts a query to only look at a subset of your searchable attributes.

ruleContexts

Assigns rule contexts to search queries.

similarQuery

Overrides the query parameter and performs a more generic search.

snippetEllipsisText

String used as an ellipsis indicator when a snippet is truncated.

sortFacetValuesBy

Controls how facet values are fetched.

sumOrFiltersScores

Determines how to calculate filter scores. If false, maximum score is kept. If true, score is summed.

synonyms

Whether to take into account an index's synonyms for a particular search.

userToken

Associates a user token with the current search.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SearchQuery
class Object
trait Matchable
class Any
Show all
case class SearchForHitsOptions(indexName: String, `type`: Option[SearchTypeDefault])

SearchForHitsOptions

SearchForHitsOptions

Value parameters

indexName

Algolia index name.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SearchHits(hits: Seq[JObject], query: String, params: String, additionalProperties: Option[List[JField]])

SearchHits

SearchHits

Value parameters

params

URL-encoded string of all search parameters.

query

Text to search for in an index.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class SearchHitsSerializer extends Serializer[SearchHits]

Attributes

Supertypes
trait Serializer[SearchHits]
class Object
trait Matchable
class Any
case class SearchMethodParams(requests: Seq[SearchQuery], strategy: Option[SearchStrategy])

SearchMethodParams

SearchMethodParams

Attributes

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

SearchParams

SearchParams

Attributes

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

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class SearchParamsObject(query: Option[String], similarQuery: Option[String], filters: Option[String], facetFilters: Option[FacetFilters], optionalFilters: Option[OptionalFilters], numericFilters: Option[NumericFilters], tagFilters: Option[TagFilters], sumOrFiltersScores: Option[Boolean], restrictSearchableAttributes: Option[Seq[String]], facets: Option[Seq[String]], facetingAfterDistinct: Option[Boolean], page: Option[Int], offset: Option[Int], length: Option[Int], aroundLatLng: Option[String], aroundLatLngViaIP: Option[Boolean], aroundRadius: Option[AroundRadius], aroundPrecision: Option[AroundPrecision], minimumAroundRadius: Option[Int], insideBoundingBox: Option[Seq[Seq[Double]]], insidePolygon: Option[Seq[Seq[Double]]], naturalLanguages: Option[Seq[String]], ruleContexts: Option[Seq[String]], personalizationImpact: Option[Int], userToken: Option[String], getRankingInfo: Option[Boolean], explain: Option[Seq[String]], synonyms: Option[Boolean], clickAnalytics: Option[Boolean], analytics: Option[Boolean], analyticsTags: Option[Seq[String]], percentileComputation: Option[Boolean], enableABTest: Option[Boolean], attributesForFaceting: Option[Seq[String]], attributesToRetrieve: Option[Seq[String]], ranking: Option[Seq[String]], customRanking: Option[Seq[String]], relevancyStrictness: Option[Int], attributesToHighlight: Option[Seq[String]], attributesToSnippet: Option[Seq[String]], highlightPreTag: Option[String], highlightPostTag: Option[String], snippetEllipsisText: Option[String], restrictHighlightAndSnippetArrays: Option[Boolean], hitsPerPage: Option[Int], minWordSizefor1Typo: Option[Int], minWordSizefor2Typos: Option[Int], typoTolerance: Option[TypoTolerance], allowTyposOnNumericTokens: Option[Boolean], disableTypoToleranceOnAttributes: Option[Seq[String]], ignorePlurals: Option[IgnorePlurals], removeStopWords: Option[RemoveStopWords], keepDiacriticsOnCharacters: Option[String], queryLanguages: Option[Seq[String]], decompoundQuery: Option[Boolean], enableRules: Option[Boolean], enablePersonalization: Option[Boolean], queryType: Option[QueryType], removeWordsIfNoResults: Option[RemoveWordsIfNoResults], mode: Option[Mode], semanticSearch: Option[SemanticSearch], advancedSyntax: Option[Boolean], optionalWords: Option[Seq[String]], disableExactOnAttributes: Option[Seq[String]], exactOnSingleWordQuery: Option[ExactOnSingleWordQuery], alternativesAsExact: Option[Seq[AlternativesAsExact]], advancedSyntaxFeatures: Option[Seq[AdvancedSyntaxFeatures]], distinct: Option[Distinct], replaceSynonymsInHighlight: Option[Boolean], minProximity: Option[Int], responseFields: Option[Seq[String]], maxFacetHits: Option[Int], maxValuesPerFacet: Option[Int], sortFacetValuesBy: Option[String], attributeCriteriaComputedByMinProximity: Option[Boolean], renderingContent: Option[RenderingContent], enableReRanking: Option[Boolean], reRankingApplyFilter: Option[ReRankingApplyFilter]) extends SearchParamsTrait

SearchParamsObject

SearchParamsObject

Value parameters

advancedSyntax

Enables the advanced query syntax.

advancedSyntaxFeatures

Allows you to specify which advanced syntax features are active when advancedSyntax is enabled.

allowTyposOnNumericTokens

Whether to allow typos on numbers ("numeric tokens") in the query string.

alternativesAsExact

Alternatives that should be considered an exact match by the exact ranking criterion.

analytics

Indicates whether this query will be included in analytics.

analyticsTags

Tags to apply to the query for segmenting analytics data.

aroundLatLng

Search for entries around a central location, enabling a geographical search within a circular area.

aroundLatLngViaIP

Search for entries around a location. The location is automatically computed from the requester's IP address.

attributeCriteriaComputedByMinProximity

When the Attribute criterion is ranked above Proximity in your ranking formula, Proximity is used to select which searchable attribute is matched in the Attribute ranking stage.

attributesForFaceting

Attributes used for faceting and the modifiers that can be applied: filterOnly, searchable, and afterDistinct.

attributesToHighlight

Attributes to highlight. Strings that match the search query in the attributes are highlighted by surrounding them with HTML tags (highlightPreTag and highlightPostTag).

attributesToRetrieve

Attributes to include in the API response. To reduce the size of your response, you can retrieve only some of the attributes. By default, the response includes all attributes.

attributesToSnippet

Attributes to snippet. 'Snippeting' is shortening the attribute to a certain number of words. If not specified, the attribute is shortened to the 10 words around the matching string but you can specify the number. For example: body:20.

clickAnalytics

Indicates whether a query ID parameter is included in the search response. This is required for tracking click and conversion events.

customRanking

Specifies the Custom ranking criterion. Use the asc and desc modifiers to specify the ranking order: ascending or descending.

decompoundQuery

Splits compound words into their component word parts in the query.

disableExactOnAttributes

Attributes for which you want to turn off the exact ranking criterion.

disableTypoToleranceOnAttributes

Attributes for which you want to turn off typo tolerance.

enableABTest

Incidates whether this search will be considered in A/B testing.

enablePersonalization

Incidates whether Personalization is enabled.

enableReRanking

Indicates whether this search will use Dynamic Re-Ranking.

enableRules

Incidates whether Rules are enabled.

explain

Enriches the API's response with information about how the query was processed.

facetingAfterDistinct

Forces faceting to be applied after de-duplication (with the distinct feature). Alternatively, the afterDistinct modifier of attributesForFaceting allows for more granular control.

facets

Returns facets, their facet values, and the number of matching facet values.

filters

Filter the query with numeric, facet, or tag filters.

getRankingInfo

Incidates whether the search response includes detailed ranking information.

highlightPostTag

HTML string to insert after the highlighted parts in all highlight and snippet results.

highlightPreTag

HTML string to insert before the highlighted parts in all highlight and snippet results.

hitsPerPage

Number of hits per page.

insideBoundingBox

Search inside a rectangular area (in geographical coordinates).

insidePolygon

Search inside a polygon (in geographical coordinates).

keepDiacriticsOnCharacters

Characters that the engine shouldn't automatically normalize.

length

Sets the number of hits to retrieve (for use with offset). > Note: Using page and hitsPerPage is the recommended method for paging results. However, you can use offset and length to implement an alternative approach to paging.

maxFacetHits

Maximum number of facet hits to return when searching for facet values.

maxValuesPerFacet

Maximum number of facet values to return for each facet.

minProximity

Precision of the proximity ranking criterion.

minWordSizefor1Typo

Minimum number of characters a word in the query string must contain to accept matches with one typo.

minWordSizefor2Typos

Minimum number of characters a word in the query string must contain to accept matches with two typos.

minimumAroundRadius

Minimum radius (in meters) used for a geographical search when aroundRadius isn't set.

naturalLanguages

Changes the default values of parameters that work best for a natural language query, such as ignorePlurals, removeStopWords, removeWordsIfNoResults, analyticsTags, and ruleContexts. These parameters work well together when the query consists of fuller natural language strings instead of keywords, for example when processing voice search queries.

offset

Specifies the offset of the first hit to return. > Note: Using page and hitsPerPage is the recommended method for paging results. However, you can use offset and length to implement an alternative approach to paging.

optionalWords

Words which should be considered optional when found in a query.

page

Page to retrieve (the first page is 0, not 1).

percentileComputation

Whether to include or exclude a query from the processing-time percentile computation.

personalizationImpact

Defines how much Personalization affects results.

query

Text to search for in an index.

queryLanguages

Sets your user's search language. This adjusts language-specific settings and features such as ignorePlurals, removeStopWords, and CJK word detection.

ranking

Determines the order in which Algolia returns your results.

relevancyStrictness

Relevancy threshold below which less relevant results aren't included in the results.

replaceSynonymsInHighlight

Whether to highlight and snippet the original word that matches the synonym or the synonym itself.

responseFields

Attributes to include in the API response for search and browse queries.

restrictHighlightAndSnippetArrays

Restrict highlighting and snippeting to items that matched the query.

restrictSearchableAttributes

Restricts a query to only look at a subset of your searchable attributes.

ruleContexts

Assigns rule contexts to search queries.

similarQuery

Overrides the query parameter and performs a more generic search.

snippetEllipsisText

String used as an ellipsis indicator when a snippet is truncated.

sortFacetValuesBy

Controls how facet values are fetched.

sumOrFiltersScores

Determines how to calculate filter scores. If false, maximum score is kept. If true, score is summed.

synonyms

Whether to take into account an index's synonyms for a particular search.

userToken

Associates a user token with the current search.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SearchParams
class Object
trait Matchable
class Any
Show all
case class SearchParamsQuery(query: Option[String])

SearchParamsQuery

SearchParamsQuery

Value parameters

query

Text to search for in an index.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object SearchParamsSerializer extends Serializer[SearchParams]

Attributes

Supertypes
trait Serializer[SearchParams]
class Object
trait Matchable
class Any
Self type
case class SearchParamsString(params: Option[String]) extends SearchParamsTrait, BrowseParamsTrait

SearchParamsString

SearchParamsString

Value parameters

params

Search parameters as a URL-encoded query string.

Attributes

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

Attributes

Supertypes
trait SearchParams
class Object
trait Matchable
class Any
Known subtypes
sealed trait SearchQuery

SearchQuery

SearchQuery

Attributes

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

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
object SearchQuerySerializer extends Serializer[SearchQuery]

Attributes

Supertypes
trait Serializer[SearchQuery]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait SearchQuery
class Object
trait Matchable
class Any
Known subtypes
case class SearchResponse(abTestID: Option[Int], abTestVariantID: Option[Int], aroundLatLng: Option[String], automaticRadius: Option[String], exhaustive: Option[Exhaustive], exhaustiveFacetsCount: Option[Boolean], exhaustiveNbHits: Option[Boolean], exhaustiveTypo: Option[Boolean], facets: Option[Map[String, Map[String, Int]]], facetsStats: Option[Map[String, FacetsStats]], hitsPerPage: Int, index: Option[String], indexUsed: Option[String], message: Option[String], nbHits: Int, nbPages: Int, nbSortedHits: Option[Int], page: Int, parsedQuery: Option[String], processingTimeMS: Int, processingTimingsMS: Option[Any], queryAfterRemoval: Option[String], redirect: Option[Redirect], renderingContent: Option[RenderingContent], serverTimeMS: Option[Int], serverUsed: Option[String], userData: Option[Any], hits: Seq[JObject], query: String, params: String) extends SearchResultTrait

SearchResponse

SearchResponse

Value parameters

abTestID

A/B test ID. This is only included in the response for indices that are part of an A/B test.

abTestVariantID

Variant ID. This is only included in the response for indices that are part of an A/B test.

aroundLatLng

Computed geographical location.

automaticRadius

Automatically-computed radius.

exhaustiveFacetsCount

See the facetsCount field of the exhaustive object in the response.

exhaustiveNbHits

See the nbHits field of the exhaustive object in the response.

exhaustiveTypo

See the typo field of the exhaustive object in the response.

facets

Mapping of each facet name to the corresponding facet counts.

facetsStats

Statistics for numerical facets.

hitsPerPage

Number of hits per page.

index

Index name used for the query.

indexUsed

Index name used for the query. During A/B testing, the targeted index isn't always the index used by the query.

message

Warnings about the query.

nbHits

Number of hits the search query matched.

nbPages

Number of pages of results for the current query.

nbSortedHits

Number of hits selected and sorted by the relevant sort algorithm.

page

Page to retrieve (the first page is 0, not 1).

params

URL-encoded string of all search parameters.

parsedQuery

Post-normalization query string that will be searched.

processingTimeMS

Time the server took to process the request, in milliseconds.

processingTimingsMS

Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues.

query

Text to search for in an index.

queryAfterRemoval

Markup text indicating which parts of the original query have been removed to retrieve a non-empty result set.

serverTimeMS

Time the server took to process the request, in milliseconds.

serverUsed

Host name of the server that processed the request.

userData

Lets you store custom data in your indices.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SearchResult
class Object
trait Matchable
class Any
Show all
case class SearchResponses(results: Seq[SearchResult])

SearchResponses

SearchResponses

Attributes

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

SearchResult

SearchResult

Attributes

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

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
object SearchResultSerializer extends Serializer[SearchResult]

Attributes

Supertypes
trait Serializer[SearchResult]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait SearchResult
class Object
trait Matchable
class Any
Known subtypes
case class SearchRulesParams(query: Option[String], anchoring: Option[Anchoring], context: Option[String], page: Option[Int], hitsPerPage: Option[Int], enabled: Option[Boolean], requestOptions: Option[Seq[Any]])

Rules search parameters.

Rules search parameters.

Value parameters

context

Restricts responses to the specified contextual rule.

enabled

Restricts responses to enabled rules. When not specified (default), all rules are retrieved.

hitsPerPage

Maximum number of hits per page.

page

Requested page (the first page is page 0).

query

Rule object query.

requestOptions

Request options to send with the API call.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SearchRulesResponse(hits: Seq[Rule], nbHits: Int, page: Int, nbPages: Int)

SearchRulesResponse

SearchRulesResponse

Value parameters

hits

Fetched rules.

nbHits

Number of fetched rules.

nbPages

Number of pages.

page

Current page.

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object None.type
object StopIfEnoughMatches.type
  • none: executes all queries. - stopIfEnoughMatches: executes queries one by one, stopping further query execution as soon as a query matches at least the hitsPerPage number of results.

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class SearchStrategySerializer extends CustomSerializer[SearchStrategy]

Attributes

Supertypes
class CustomSerializer[SearchStrategy]
trait Serializer[SearchStrategy]
class Object
trait Matchable
class Any
case class SearchSynonymsParams(query: Option[String])

SearchSynonymsParams

SearchSynonymsParams

Value parameters

query

Text to search for in an index.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SearchSynonymsResponse(hits: Seq[SynonymHit], nbHits: Int, additionalProperties: Option[List[JField]])

SearchSynonymsResponse

SearchSynonymsResponse

Value parameters

hits

Synonym objects.

nbHits

Number of hits the search query matched.

Attributes

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

Attributes

Supertypes
trait Serializer[SearchSynonymsResponse]
class Object
trait Matchable
class Any
sealed trait SearchTypeDefault

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Default.type

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class SearchTypeDefaultSerializer extends CustomSerializer[SearchTypeDefault]

Attributes

Supertypes
class CustomSerializer[SearchTypeDefault]
trait Serializer[SearchTypeDefault]
class Object
trait Matchable
class Any
sealed trait SearchTypeFacet

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Facet.type

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class SearchTypeFacetSerializer extends CustomSerializer[SearchTypeFacet]

Attributes

Supertypes
class CustomSerializer[SearchTypeFacet]
trait Serializer[SearchTypeFacet]
class Object
trait Matchable
class Any
case class SearchUserIdsParams(query: String, clusterName: Option[String], page: Option[Int], hitsPerPage: Option[Int])

OK

OK

Value parameters

clusterName

Cluster name.

hitsPerPage

Number of hits per page.

page

Page to retrieve (the first page is 0, not 1).

query

Query to search. The search is a prefix search with typo tolerance enabled. An empty query will retrieve all users.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SearchUserIdsResponse(hits: Seq[UserHit], nbHits: Int, page: Int, hitsPerPage: Int, updatedAt: String)

userIDs data.

userIDs data.

Value parameters

hits

User objects that match the query.

hitsPerPage

Maximum number of hits per page.

nbHits

Number of hits the search query matched.

page

Page to retrieve (the first page is 0, not 1).

updatedAt

Timestamp of the last update in ISO 8601 format.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SemanticSearch(eventSources: Option[Seq[String]])

Settings for the semantic search part of NeuralSearch. Only used when mode is neuralSearch.

Settings for the semantic search part of NeuralSearch. Only used when mode is neuralSearch.

Value parameters

eventSources

Indices from which to collect click and conversion events. If null, the current index and replica group will be used as the event source.

Attributes

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

SnippetResult

SnippetResult

Attributes

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

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class SnippetResultOption(value: String, matchLevel: MatchLevel) extends SnippetResultTrait

Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.

Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.

Value parameters

value

Markup text with facetQuery matches highlighted.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object SnippetResultSerializer extends Serializer[SnippetResult]

Attributes

Supertypes
trait Serializer[SnippetResult]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
sealed trait SortRemainingBy

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Alpha.type
object Count.type
object Hidden.type

How to display the remaining items: - count: facet count (descending). - alpha: alphabetical (ascending). - hidden: show only pinned values.

How to display the remaining items: - count: facet count (descending). - alpha: alphabetical (ascending). - hidden: show only pinned values.

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class SortRemainingBySerializer extends CustomSerializer[SortRemainingBy]

Attributes

Supertypes
class CustomSerializer[SortRemainingBy]
trait Serializer[SortRemainingBy]
class Object
trait Matchable
class Any
case class Source(source: String, description: Option[String])

Source.

Source.

Value parameters

description

Source description.

source

IP address range of the source.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class StandardEntries(plurals: Option[Map[String, Boolean]], stopwords: Option[Map[String, Boolean]], compounds: Option[Map[String, Boolean]])

Key-value pairs of supported language ISO codes and boolean values.

Key-value pairs of supported language ISO codes and boolean values.

Value parameters

compounds

Key-value pair of a language ISO code and a boolean value.

plurals

Key-value pair of a language ISO code and a boolean value.

stopwords

Key-value pair of a language ISO code and a boolean value.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SynonymHit(objectID: String, `type`: SynonymType, synonyms: Option[Seq[String]], input: Option[String], word: Option[String], corrections: Option[Seq[String]], placeholder: Option[String], replacements: Option[Seq[String]])

Synonym object.

Synonym object.

Value parameters

corrections

Words to be matched in records.

input

Word or phrase to appear in query strings (for onewaysynonyms).

objectID

Unique identifier of a synonym object.

placeholder

Placeholder token to be put inside records.

replacements

Query words that will match the placeholder token.

synonyms

Words or phrases considered equivalent.

word

Word or phrase to appear in query strings (for altcorrection1 and altcorrection2).

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Altcorrection1.type
object Altcorrection2.type
object Onewaysynonym.type
object Placeholder.type
object Synonym.type
object SynonymType

Synonym type.

Synonym type.

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class SynonymTypeSerializer extends CustomSerializer[SynonymType]

Attributes

Supertypes
class CustomSerializer[SynonymType]
trait Serializer[SynonymType]
class Object
trait Matchable
class Any
sealed trait TagFilters

Filter hits by tags.

Attributes

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

Attributes

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

Attributes

Supertypes
trait Serializer[TagFilters]
class Object
trait Matchable
class Any
Self type
sealed trait TaskStatus

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object NotPublished.type
object Published.type
object TaskStatus

published if the task has been processed, notPublished otherwise.

published if the task has been processed, notPublished otherwise.

Attributes

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

Attributes

Supertypes
class CustomSerializer[TaskStatus]
trait Serializer[TaskStatus]
class Object
trait Matchable
class Any
case class TimeRange(from: Int, until: Int)

TimeRange

TimeRange

Value parameters

from

Lower bound of the time range (Unix timestamp).

until

Upper bound of the time range (Unix timestamp).

Attributes

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

Controls whether typo tolerance is enabled and how it is applied.

Controls whether typo tolerance is enabled and how it is applied.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BooleanValue
object Min.type
object Strict.type
object TypoTolerance

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait TypoToleranceEnum extends TypoToleranceTrait

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Min.type
object Strict.type

TypoToleranceEnum enumeration

TypoToleranceEnum enumeration

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class TypoToleranceEnumSerializer extends CustomSerializer[TypoToleranceEnum]

Attributes

Supertypes
class CustomSerializer[TypoToleranceEnum]
trait Serializer[TypoToleranceEnum]
class Object
trait Matchable
class Any
object TypoToleranceSerializer extends Serializer[TypoTolerance]

Attributes

Supertypes
trait Serializer[TypoTolerance]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Min.type
object Strict.type
case class UpdateApiKeyResponse(key: String, updatedAt: String)

UpdateApiKeyResponse

UpdateApiKeyResponse

Value parameters

key

API key.

updatedAt

Timestamp of the last update in ISO 8601 format.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class UpdatedAtResponse(taskID: Long, updatedAt: String)

Response, taskID, and update timestamp.

Response, taskID, and update timestamp.

Value parameters

taskID

Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the task operation and this taskID.

updatedAt

Timestamp of the last update in ISO 8601 format.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class UpdatedAtWithObjectIdResponse(taskID: Option[Long], updatedAt: Option[String], objectID: Option[String])

Response, taskID, unique object identifier, and an update timestamp.

Response, taskID, unique object identifier, and an update timestamp.

Value parameters

objectID

Unique object identifier.

taskID

Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the task operation and this taskID.

updatedAt

Timestamp of the last update in ISO 8601 format.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class UpdatedRuleResponse(objectID: String, updatedAt: String, taskID: Long)

UpdatedRuleResponse

UpdatedRuleResponse

Value parameters

objectID

Unique object identifier.

taskID

Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the task operation and this taskID.

updatedAt

Timestamp of the last update in ISO 8601 format.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class UserHighlightResult(userID: HighlightResult, clusterName: HighlightResult)

UserHighlightResult

UserHighlightResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class UserHit(userID: String, clusterName: String, nbRecords: Int, dataSize: Int, objectID: String, highlightResult: UserHighlightResult)

UserHit

UserHit

Value parameters

clusterName

Cluster name.

dataSize

Data size taken by all the users assigned to the cluster.

nbRecords

Number of records in the cluster.

objectID

userID of the requested user. Same as userID.

userID

userID of the user.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class UserId(userID: String, clusterName: String, nbRecords: Int, dataSize: Int)

Unique user ID.

Unique user ID.

Value parameters

clusterName

Cluster to which the user is assigned.

dataSize

Data size used by the user.

nbRecords

Number of records belonging to the user.

userID

userID of the user.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Value(order: Option[Seq[String]], sortRemainingBy: Option[SortRemainingBy])

Value

Value

Value parameters

order

Pinned order of facet lists.

Attributes

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