algoliasearch 5.0.0-alpha.72 → 5.0.0-alpha.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/algoliasearch.cjs.js +342 -340
- package/dist/algoliasearch.esm.browser.js +342 -338
- package/dist/algoliasearch.esm.node.js +342 -338
- package/dist/algoliasearch.umd.js +2 -2
- package/dist/builds/browser.d.ts +2 -2
- package/dist/builds/node.d.ts +2 -2
- package/dist/client-abtesting/model/aBTest.d.ts +8 -12
- package/dist/client-abtesting/model/aBTest.d.ts.map +1 -1
- package/dist/client-abtesting/model/aBTestResponse.d.ts +3 -3
- package/dist/client-abtesting/model/abTestsVariant.d.ts +3 -3
- package/dist/client-abtesting/model/addABTestsRequest.d.ts +3 -3
- package/dist/client-abtesting/model/addABTestsRequest.d.ts.map +1 -1
- package/dist/client-abtesting/model/clientMethodProps.d.ts +16 -16
- package/dist/client-abtesting/model/customSearchParams.d.ts +3 -0
- package/dist/client-abtesting/model/customSearchParams.d.ts.map +1 -1
- package/dist/client-abtesting/model/listABTestsResponse.d.ts +3 -3
- package/dist/client-abtesting/model/variant.d.ts +20 -12
- package/dist/client-abtesting/model/variant.d.ts.map +1 -1
- package/dist/client-abtesting/src/abtestingClient.d.ts +27 -27
- package/dist/client-analytics/model/averageClickEvent.d.ts +3 -3
- package/dist/client-analytics/model/clickPosition.d.ts +2 -2
- package/dist/client-analytics/model/clickThroughRateEvent.d.ts +4 -4
- package/dist/client-analytics/model/clientMethodProps.d.ts +91 -91
- package/dist/client-analytics/model/conversionRateEvent.d.ts +4 -4
- package/dist/client-analytics/model/getAverageClickPositionResponse.d.ts +3 -3
- package/dist/client-analytics/model/getClickPositionsResponse.d.ts +1 -1
- package/dist/client-analytics/model/getClickThroughRateResponse.d.ts +4 -4
- package/dist/client-analytics/model/getConversationRateResponse.d.ts +4 -4
- package/dist/client-analytics/model/getNoClickRateResponse.d.ts +4 -4
- package/dist/client-analytics/model/getNoResultsRateResponse.d.ts +4 -4
- package/dist/client-analytics/model/getSearchesCountResponse.d.ts +2 -2
- package/dist/client-analytics/model/getSearchesNoClicksResponse.d.ts +1 -1
- package/dist/client-analytics/model/getSearchesNoResultsResponse.d.ts +1 -1
- package/dist/client-analytics/model/getStatusResponse.d.ts +1 -1
- package/dist/client-analytics/model/getTopCountriesResponse.d.ts +1 -1
- package/dist/client-analytics/model/getTopFilterAttribute.d.ts +2 -2
- package/dist/client-analytics/model/getTopFilterAttributesResponse.d.ts +1 -1
- package/dist/client-analytics/model/getTopFilterForAttribute.d.ts +4 -4
- package/dist/client-analytics/model/getTopFilterForAttributeResponse.d.ts +1 -1
- package/dist/client-analytics/model/getTopFiltersNoResultsResponse.d.ts +1 -1
- package/dist/client-analytics/model/getTopFiltersNoResultsValue.d.ts +3 -3
- package/dist/client-analytics/model/getTopFiltersNoResultsValues.d.ts +2 -2
- package/dist/client-analytics/model/getUsersCountResponse.d.ts +2 -2
- package/dist/client-analytics/model/noClickRateEvent.d.ts +4 -4
- package/dist/client-analytics/model/noResultsRateEvent.d.ts +4 -4
- package/dist/client-analytics/model/orderBy.d.ts +3 -0
- package/dist/client-analytics/model/orderBy.d.ts.map +1 -1
- package/dist/client-analytics/model/searchEvent.d.ts +2 -2
- package/dist/client-analytics/model/searchNoClickEvent.d.ts +3 -3
- package/dist/client-analytics/model/searchNoResultEvent.d.ts +3 -3
- package/dist/client-analytics/model/topCountry.d.ts +2 -2
- package/dist/client-analytics/model/topHit.d.ts +2 -2
- package/dist/client-analytics/model/topHitWithAnalytics.d.ts +7 -7
- package/dist/client-analytics/model/topHitsResponse.d.ts +1 -1
- package/dist/client-analytics/model/topHitsResponseWithAnalytics.d.ts +1 -1
- package/dist/client-analytics/model/topSearch.d.ts +3 -3
- package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +9 -9
- package/dist/client-analytics/model/topSearchesResponse.d.ts +1 -1
- package/dist/client-analytics/model/topSearchesResponseWithAnalytics.d.ts +1 -1
- package/dist/client-analytics/model/userWithDate.d.ts +2 -2
- package/dist/client-analytics/src/analyticsClient.d.ts +114 -114
- package/dist/client-personalization/model/clientMethodProps.d.ts +10 -10
- package/dist/client-personalization/src/personalizationClient.d.ts +11 -11
- package/dist/client-search/model/acl.d.ts +1 -1
- package/dist/client-search/model/action.d.ts +1 -1
- package/dist/client-search/model/addApiKeyResponse.d.ts +2 -2
- package/dist/client-search/model/anchoring.d.ts +1 -1
- package/dist/client-search/model/apiKey.d.ts +9 -9
- package/dist/client-search/model/aroundRadius.d.ts +1 -1
- package/dist/client-search/model/assignUserIdParams.d.ts +1 -1
- package/dist/client-search/model/baseGetApiKeyResponse.d.ts +2 -2
- package/dist/client-search/model/baseIndexSettings.d.ts +14 -14
- package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +25 -25
- package/dist/client-search/model/baseSearchResponse.d.ts +20 -20
- package/dist/client-search/model/baseSearchResponseRedirect.d.ts +1 -1
- package/dist/client-search/model/batchAssignUserIdsParams.d.ts +2 -2
- package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +3 -3
- package/dist/client-search/model/batchParams.d.ts +1 -1
- package/dist/client-search/model/batchRequest.d.ts +1 -1
- package/dist/client-search/model/batchResponse.d.ts +2 -2
- package/dist/client-search/model/batchWriteParams.d.ts +1 -1
- package/dist/client-search/model/builtInOperation.d.ts +1 -1
- package/dist/client-search/model/builtInOperationType.d.ts +1 -1
- package/dist/client-search/model/clientMethodProps.d.ts +88 -84
- package/dist/client-search/model/clientMethodProps.d.ts.map +1 -1
- package/dist/client-search/model/consequence.d.ts +4 -4
- package/dist/client-search/model/consequenceHide.d.ts +2 -2
- package/dist/client-search/model/createdAtResponse.d.ts +2 -2
- package/dist/client-search/model/cursor.d.ts +1 -1
- package/dist/client-search/model/deleteApiKeyResponse.d.ts +1 -1
- package/dist/client-search/model/deleteByParams.d.ts +4 -4
- package/dist/client-search/model/deleteSourceResponse.d.ts +1 -1
- package/dist/client-search/model/deletedAtResponse.d.ts +3 -3
- package/dist/client-search/model/dictionaryEntry.d.ts +6 -6
- package/dist/client-search/model/dictionaryEntryState.d.ts +1 -1
- package/dist/client-search/model/dictionaryLanguage.d.ts +2 -2
- package/dist/client-search/model/dictionarySettingsParams.d.ts +1 -1
- package/dist/client-search/model/distinct.d.ts +1 -1
- package/dist/client-search/model/exactOnSingleWordQuery.d.ts +1 -1
- package/dist/client-search/model/facetFilters.d.ts +1 -1
- package/dist/client-search/model/facetHits.d.ts +3 -3
- package/dist/client-search/model/facetOrdering.d.ts +2 -2
- package/dist/client-search/model/facets.d.ts +1 -1
- package/dist/client-search/model/facetsStats.d.ts +4 -4
- package/dist/client-search/model/fetchedIndex.d.ts +1 -1
- package/dist/client-search/model/getObjectsParams.d.ts +1 -1
- package/dist/client-search/model/getObjectsRequest.d.ts +4 -4
- package/dist/client-search/model/getObjectsResponse.d.ts +1 -1
- package/dist/client-search/model/getTopUserIdsResponse.d.ts +2 -2
- package/dist/client-search/model/hasPendingMappingsResponse.d.ts +2 -2
- package/dist/client-search/model/highlightResultOption.d.ts +1 -1
- package/dist/client-search/model/hit.d.ts +1 -1
- package/dist/client-search/model/ignorePlurals.d.ts +1 -1
- package/dist/client-search/model/indexSettings.d.ts +1 -1
- package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +30 -30
- package/dist/client-search/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
- package/dist/client-search/model/languages.d.ts +1 -1
- package/dist/client-search/model/listApiKeysResponse.d.ts +1 -1
- package/dist/client-search/model/listClustersResponse.d.ts +2 -2
- package/dist/client-search/model/listIndicesResponse.d.ts +1 -1
- package/dist/client-search/model/listUserIdsResponse.d.ts +2 -2
- package/dist/client-search/model/log.d.ts +7 -7
- package/dist/client-search/model/logQuery.d.ts +1 -1
- package/dist/client-search/model/mode.d.ts +1 -1
- package/dist/client-search/model/multipleBatchRequest.d.ts +1 -1
- package/dist/client-search/model/multipleBatchResponse.d.ts +2 -2
- package/dist/client-search/model/numericFilters.d.ts +1 -1
- package/dist/client-search/model/operationIndexParams.d.ts +2 -2
- package/dist/client-search/model/operationType.d.ts +1 -1
- package/dist/client-search/model/optionalFilters.d.ts +1 -1
- package/dist/client-search/model/params.d.ts +1 -1
- package/dist/client-search/model/promoteObjectID.d.ts +3 -3
- package/dist/client-search/model/promoteObjectIDs.d.ts +3 -3
- package/dist/client-search/model/queryType.d.ts +1 -1
- package/dist/client-search/model/reRankingApplyFilter.d.ts +1 -1
- package/dist/client-search/model/redirectRuleIndexMetadata.d.ts +1 -1
- package/dist/client-search/model/redirectRuleIndexMetadataData.d.ts +1 -1
- package/dist/client-search/model/removeStopWords.d.ts +1 -1
- package/dist/client-search/model/removeUserIdResponse.d.ts +1 -1
- package/dist/client-search/model/removeWordsIfNoResults.d.ts +1 -1
- package/dist/client-search/model/renderingContent.d.ts +1 -1
- package/dist/client-search/model/replaceSourceResponse.d.ts +1 -1
- package/dist/client-search/model/rule.d.ts +5 -5
- package/dist/client-search/model/saveObjectResponse.d.ts +5 -2
- package/dist/client-search/model/saveObjectResponse.d.ts.map +1 -1
- package/dist/client-search/model/saveSynonymResponse.d.ts +3 -3
- package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +5 -5
- package/dist/client-search/model/searchForFacetValuesRequest.d.ts +2 -2
- package/dist/client-search/model/searchForFacetsOptions.d.ts +3 -3
- package/dist/client-search/model/searchForHitsOptions.d.ts +1 -1
- package/dist/client-search/model/searchParamsQuery.d.ts +1 -1
- package/dist/client-search/model/searchParamsString.d.ts +1 -1
- package/dist/client-search/model/searchRulesParams.d.ts +7 -7
- package/dist/client-search/model/searchStrategy.d.ts +3 -0
- package/dist/client-search/model/searchStrategy.d.ts.map +1 -1
- package/dist/client-search/model/searchSynonymsParams.d.ts +1 -1
- package/dist/client-search/model/searchSynonymsResponse.d.ts +2 -2
- package/dist/client-search/model/searchTypeDefault.d.ts +1 -1
- package/dist/client-search/model/searchTypeFacet.d.ts +1 -1
- package/dist/client-search/model/searchUserIdsParams.d.ts +4 -4
- package/dist/client-search/model/searchUserIdsResponse.d.ts +5 -5
- package/dist/client-search/model/snippetResultOption.d.ts +1 -1
- package/dist/client-search/model/sortRemainingBy.d.ts +1 -1
- package/dist/client-search/model/source.d.ts +3 -3
- package/dist/client-search/model/standardEntries.d.ts +4 -4
- package/dist/client-search/model/synonymHit.d.ts +6 -6
- package/dist/client-search/model/synonymType.d.ts +1 -1
- package/dist/client-search/model/tagFilters.d.ts +1 -1
- package/dist/client-search/model/taskStatus.d.ts +3 -0
- package/dist/client-search/model/taskStatus.d.ts.map +1 -1
- package/dist/client-search/model/typoTolerance.d.ts +1 -1
- package/dist/client-search/model/updateApiKeyResponse.d.ts +2 -2
- package/dist/client-search/model/updatedAtResponse.d.ts +3 -3
- package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +4 -4
- package/dist/client-search/model/updatedRuleResponse.d.ts +3 -3
- package/dist/client-search/model/userHit.d.ts +1 -1
- package/dist/client-search/model/userId.d.ts +2 -2
- package/dist/client-search/src/searchClient.d.ts +185 -184
- package/dist/client-search/src/searchClient.d.ts.map +1 -1
- package/dist/lite/lite.cjs.js +6 -8
- package/dist/lite/lite.esm.browser.js +6 -6
- package/dist/lite/lite.esm.node.js +6 -6
- package/dist/lite/lite.umd.js +2 -2
- package/dist/lite/model/acl.d.ts +1 -1
- package/dist/lite/model/action.d.ts +1 -1
- package/dist/lite/model/addApiKeyResponse.d.ts +2 -2
- package/dist/lite/model/anchoring.d.ts +1 -1
- package/dist/lite/model/apiKey.d.ts +9 -9
- package/dist/lite/model/aroundRadius.d.ts +1 -1
- package/dist/lite/model/baseGetApiKeyResponse.d.ts +2 -2
- package/dist/lite/model/baseIndexSettings.d.ts +14 -14
- package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +25 -25
- package/dist/lite/model/baseSearchResponse.d.ts +20 -20
- package/dist/lite/model/baseSearchResponseRedirect.d.ts +1 -1
- package/dist/lite/model/builtInOperation.d.ts +1 -1
- package/dist/lite/model/builtInOperationType.d.ts +1 -1
- package/dist/lite/model/clientMethodProps.d.ts +3 -3
- package/dist/lite/model/consequence.d.ts +4 -4
- package/dist/lite/model/consequenceHide.d.ts +2 -2
- package/dist/lite/model/cursor.d.ts +1 -1
- package/dist/lite/model/deleteByParams.d.ts +4 -4
- package/dist/lite/model/dictionaryEntry.d.ts +6 -6
- package/dist/lite/model/dictionaryEntryState.d.ts +1 -1
- package/dist/lite/model/dictionaryLanguage.d.ts +2 -2
- package/dist/lite/model/distinct.d.ts +1 -1
- package/dist/lite/model/exactOnSingleWordQuery.d.ts +1 -1
- package/dist/lite/model/facetFilters.d.ts +1 -1
- package/dist/lite/model/facetOrdering.d.ts +2 -2
- package/dist/lite/model/facets.d.ts +1 -1
- package/dist/lite/model/facetsStats.d.ts +4 -4
- package/dist/lite/model/fetchedIndex.d.ts +1 -1
- package/dist/lite/model/highlightResultOption.d.ts +1 -1
- package/dist/lite/model/hit.d.ts +1 -1
- package/dist/lite/model/ignorePlurals.d.ts +1 -1
- package/dist/lite/model/indexSettings.d.ts +1 -1
- package/dist/lite/model/indexSettingsAsSearchParams.d.ts +30 -30
- package/dist/lite/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
- package/dist/lite/model/languages.d.ts +1 -1
- package/dist/lite/model/listIndicesResponse.d.ts +1 -1
- package/dist/lite/model/mode.d.ts +1 -1
- package/dist/lite/model/numericFilters.d.ts +1 -1
- package/dist/lite/model/operationType.d.ts +1 -1
- package/dist/lite/model/optionalFilters.d.ts +1 -1
- package/dist/lite/model/params.d.ts +1 -1
- package/dist/lite/model/promoteObjectID.d.ts +3 -3
- package/dist/lite/model/promoteObjectIDs.d.ts +3 -3
- package/dist/lite/model/queryType.d.ts +1 -1
- package/dist/lite/model/reRankingApplyFilter.d.ts +1 -1
- package/dist/lite/model/redirectRuleIndexMetadata.d.ts +1 -1
- package/dist/lite/model/redirectRuleIndexMetadataData.d.ts +1 -1
- package/dist/lite/model/removeStopWords.d.ts +1 -1
- package/dist/lite/model/removeWordsIfNoResults.d.ts +1 -1
- package/dist/lite/model/renderingContent.d.ts +1 -1
- package/dist/lite/model/rule.d.ts +5 -5
- package/dist/lite/model/searchForFacetsOptions.d.ts +3 -3
- package/dist/lite/model/searchForHitsOptions.d.ts +1 -1
- package/dist/lite/model/searchParamsQuery.d.ts +1 -1
- package/dist/lite/model/searchParamsString.d.ts +1 -1
- package/dist/lite/model/searchStrategy.d.ts +3 -0
- package/dist/lite/model/searchStrategy.d.ts.map +1 -1
- package/dist/lite/model/searchSynonymsResponse.d.ts +2 -2
- package/dist/lite/model/searchTypeDefault.d.ts +1 -1
- package/dist/lite/model/searchTypeFacet.d.ts +1 -1
- package/dist/lite/model/snippetResultOption.d.ts +1 -1
- package/dist/lite/model/sortRemainingBy.d.ts +1 -1
- package/dist/lite/model/source.d.ts +3 -3
- package/dist/lite/model/standardEntries.d.ts +4 -4
- package/dist/lite/model/synonymHit.d.ts +6 -6
- package/dist/lite/model/synonymType.d.ts +1 -1
- package/dist/lite/model/tagFilters.d.ts +1 -1
- package/dist/lite/model/taskStatus.d.ts +3 -0
- package/dist/lite/model/taskStatus.d.ts.map +1 -1
- package/dist/lite/model/typoTolerance.d.ts +1 -1
- package/dist/lite/model/updatedRuleResponse.d.ts +3 -3
- package/dist/lite/model/userId.d.ts +2 -2
- package/dist/lite/src/liteClient.d.ts +6 -6
- package/lite/model/acl.ts +1 -1
- package/lite/model/action.ts +1 -1
- package/lite/model/addApiKeyResponse.ts +2 -2
- package/lite/model/anchoring.ts +1 -1
- package/lite/model/apiKey.ts +9 -9
- package/lite/model/aroundRadius.ts +1 -1
- package/lite/model/baseGetApiKeyResponse.ts +2 -2
- package/lite/model/baseIndexSettings.ts +14 -14
- package/lite/model/baseSearchParamsWithoutQuery.ts +25 -25
- package/lite/model/baseSearchResponse.ts +20 -20
- package/lite/model/baseSearchResponseRedirect.ts +1 -1
- package/lite/model/builtInOperation.ts +1 -1
- package/lite/model/builtInOperationType.ts +1 -1
- package/lite/model/clientMethodProps.ts +3 -3
- package/lite/model/consequence.ts +4 -4
- package/lite/model/consequenceHide.ts +2 -2
- package/lite/model/cursor.ts +1 -1
- package/lite/model/deleteByParams.ts +4 -4
- package/lite/model/dictionaryEntry.ts +6 -6
- package/lite/model/dictionaryEntryState.ts +1 -1
- package/lite/model/dictionaryLanguage.ts +2 -2
- package/lite/model/distinct.ts +1 -1
- package/lite/model/exactOnSingleWordQuery.ts +1 -1
- package/lite/model/facetFilters.ts +1 -1
- package/lite/model/facetOrdering.ts +2 -2
- package/lite/model/facets.ts +1 -1
- package/lite/model/facetsStats.ts +4 -4
- package/lite/model/fetchedIndex.ts +1 -1
- package/lite/model/highlightResultOption.ts +1 -1
- package/lite/model/hit.ts +1 -1
- package/lite/model/ignorePlurals.ts +1 -1
- package/lite/model/indexSettings.ts +1 -1
- package/lite/model/indexSettingsAsSearchParams.ts +30 -30
- package/lite/model/indexSettingsAsSearchParamsSemanticSearch.ts +2 -2
- package/lite/model/languages.ts +1 -1
- package/lite/model/listIndicesResponse.ts +1 -1
- package/lite/model/mode.ts +1 -1
- package/lite/model/numericFilters.ts +1 -1
- package/lite/model/operationType.ts +1 -1
- package/lite/model/optionalFilters.ts +1 -1
- package/lite/model/params.ts +1 -1
- package/lite/model/promoteObjectID.ts +3 -3
- package/lite/model/promoteObjectIDs.ts +3 -3
- package/lite/model/queryType.ts +1 -1
- package/lite/model/reRankingApplyFilter.ts +1 -1
- package/lite/model/redirectRuleIndexMetadata.ts +1 -1
- package/lite/model/redirectRuleIndexMetadataData.ts +1 -1
- package/lite/model/removeStopWords.ts +1 -1
- package/lite/model/removeWordsIfNoResults.ts +1 -1
- package/lite/model/renderingContent.ts +1 -1
- package/lite/model/rule.ts +5 -5
- package/lite/model/searchForFacetsOptions.ts +3 -3
- package/lite/model/searchForHitsOptions.ts +1 -1
- package/lite/model/searchParamsQuery.ts +1 -1
- package/lite/model/searchParamsString.ts +1 -1
- package/lite/model/searchStrategy.ts +3 -0
- package/lite/model/searchSynonymsResponse.ts +2 -2
- package/lite/model/searchTypeDefault.ts +1 -1
- package/lite/model/searchTypeFacet.ts +1 -1
- package/lite/model/snippetResultOption.ts +1 -1
- package/lite/model/sortRemainingBy.ts +1 -1
- package/lite/model/source.ts +3 -3
- package/lite/model/standardEntries.ts +4 -4
- package/lite/model/synonymHit.ts +6 -6
- package/lite/model/synonymType.ts +1 -1
- package/lite/model/tagFilters.ts +1 -1
- package/lite/model/taskStatus.ts +3 -0
- package/lite/model/typoTolerance.ts +1 -1
- package/lite/model/updatedRuleResponse.ts +3 -3
- package/lite/model/userId.ts +2 -2
- package/lite/src/liteClient.ts +6 -6
- package/package.json +15 -14
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Response and creation timestamp.
|
|
3
3
|
*/
|
|
4
4
|
export type CreatedAtResponse = {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Timestamp of creation in [ISO-8601](https://wikipedia.org/wiki/ISO_8601) format.
|
|
7
7
|
*/
|
|
8
8
|
createdAt: string;
|
|
9
9
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type Cursor = {
|
|
2
2
|
/**
|
|
3
|
-
* Cursor indicating the location to resume browsing from. Must match the value returned by the previous call.
|
|
3
|
+
* 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.
|
|
4
4
|
*/
|
|
5
5
|
cursor?: string;
|
|
6
6
|
};
|
|
@@ -5,22 +5,22 @@ import type { TagFilters } from './tagFilters';
|
|
|
5
5
|
export type DeleteByParams = {
|
|
6
6
|
facetFilters?: FacetFilters;
|
|
7
7
|
/**
|
|
8
|
-
* Filter the query with numeric, facet
|
|
8
|
+
* [Filter](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) the query with numeric, facet, or tag filters.
|
|
9
9
|
*/
|
|
10
10
|
filters?: string;
|
|
11
11
|
numericFilters?: NumericFilters;
|
|
12
12
|
tagFilters?: TagFilters;
|
|
13
13
|
/**
|
|
14
|
-
* Search for entries around a central geolocation, enabling a
|
|
14
|
+
* Search for entries [around a central location](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filter-around-a-central-point), enabling a geographical search within a circular area.
|
|
15
15
|
*/
|
|
16
16
|
aroundLatLng?: string;
|
|
17
17
|
aroundRadius?: AroundRadius;
|
|
18
18
|
/**
|
|
19
|
-
* Search inside a rectangular area (in
|
|
19
|
+
* Search inside a [rectangular area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).
|
|
20
20
|
*/
|
|
21
21
|
insideBoundingBox?: number[];
|
|
22
22
|
/**
|
|
23
|
-
* Search inside a polygon (in
|
|
23
|
+
* Search inside a [polygon](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).
|
|
24
24
|
*/
|
|
25
25
|
insidePolygon?: number[];
|
|
26
26
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Response, taskID, and deletion timestamp.
|
|
3
3
|
*/
|
|
4
4
|
export type DeletedAtResponse = {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* 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`.
|
|
7
7
|
*/
|
|
8
8
|
taskID: number;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Timestamp of deletion in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
|
|
11
11
|
*/
|
|
12
12
|
deletedAt: string;
|
|
13
13
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import type { DictionaryEntryState } from './dictionaryEntryState';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Dictionary entry.
|
|
4
4
|
*/
|
|
5
5
|
export type DictionaryEntry = Record<string, any> & {
|
|
6
6
|
/**
|
|
7
|
-
* Unique identifier
|
|
7
|
+
* Unique identifier for a dictionary object.
|
|
8
8
|
*/
|
|
9
9
|
objectID: string;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* [Supported language ISO code](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/).
|
|
12
12
|
*/
|
|
13
13
|
language: string;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* 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\".
|
|
16
16
|
*/
|
|
17
17
|
word?: string;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Compound dictionary [word declensions](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-plurals-and-other-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`.
|
|
20
20
|
*/
|
|
21
21
|
words?: string[];
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* For compound entries, governs the behavior of the `word` parameter.
|
|
24
24
|
*/
|
|
25
25
|
decomposition?: string[];
|
|
26
26
|
state?: DictionaryEntryState;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export type DictionaryLanguage = {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* 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.
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
nbCustomEntries?: number;
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=dictionaryLanguage.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { StandardEntries } from './standardEntries';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Enable or turn off the built-in Algolia stop words for a specific language.
|
|
4
4
|
*/
|
|
5
5
|
export type DictionarySettingsParams = {
|
|
6
6
|
disableStandardEntries: StandardEntries;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Enables
|
|
2
|
+
* Enables [deduplication or grouping of results (Algolia\'s _distinct_ feature](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#introducing-algolias-distinct-feature)).
|
|
3
3
|
*/
|
|
4
4
|
export type Distinct = boolean | number;
|
|
5
5
|
//# sourceMappingURL=distinct.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the query contains only one word.
|
|
3
3
|
*/
|
|
4
4
|
export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word';
|
|
5
5
|
//# sourceMappingURL=exactOnSingleWordQuery.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
2
|
/**
|
|
3
|
-
* Filter hits by facet value.
|
|
3
|
+
* [Filter hits by facet value](https://www.algolia.com/doc/api-reference/api-parameters/facetFilters/).
|
|
4
4
|
*/
|
|
5
5
|
export type FacetFilters = MixedSearchFilters[] | string;
|
|
6
6
|
//# sourceMappingURL=facetFilters.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export type FacetHits = {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Facet value.
|
|
4
4
|
*/
|
|
5
5
|
value: string;
|
|
6
6
|
/**
|
|
7
|
-
* Markup text with
|
|
7
|
+
* Markup text with `facetQuery` matches highlighted.
|
|
8
8
|
*/
|
|
9
9
|
highlighted: string;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 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](https://support.algolia.com/hc/en-us/articles/4406975248145-Why-are-my-facet-and-hit-counts-not-accurate-).
|
|
12
12
|
*/
|
|
13
13
|
count: number;
|
|
14
14
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Facets } from './facets';
|
|
2
2
|
import type { Value } from './value';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Defines the ordering of facets (widgets).
|
|
5
5
|
*/
|
|
6
6
|
export type FacetOrdering = {
|
|
7
7
|
facets?: Facets;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Ordering of facet values within an individual facet.
|
|
10
10
|
*/
|
|
11
11
|
values?: Record<string, Value>;
|
|
12
12
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export type FacetsStats = {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Minimum value in the results.
|
|
4
4
|
*/
|
|
5
5
|
min?: number;
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Maximum value in the results.
|
|
8
8
|
*/
|
|
9
9
|
max?: number;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Average facet value in the results.
|
|
12
12
|
*/
|
|
13
13
|
avg?: number;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Sum of all values in the results.
|
|
16
16
|
*/
|
|
17
17
|
sum?: number;
|
|
18
18
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Record retrieval operation.
|
|
3
3
|
*/
|
|
4
4
|
export type GetObjectsRequest = {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Attributes to retrieve. If not specified, all retrievable attributes are returned.
|
|
7
7
|
*/
|
|
8
8
|
attributesToRetrieve?: string[];
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Record\'s objectID.
|
|
11
11
|
*/
|
|
12
12
|
objectID: string;
|
|
13
13
|
/**
|
|
14
|
-
* Name of the index containing the
|
|
14
|
+
* Name of the index containing the required records.
|
|
15
15
|
*/
|
|
16
16
|
indexName: string;
|
|
17
17
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { UserId } from './userId';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* User IDs and clusters.
|
|
4
4
|
*/
|
|
5
5
|
export type GetTopUserIdsResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Key-value pairs with cluster names as keys and lists of users with the highest number of records per cluster as values.
|
|
8
8
|
*/
|
|
9
9
|
topUsers: Array<Record<string, UserId[]>>;
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export type HasPendingMappingsResponse = {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Indicates whether there are clusters undergoing migration, creation, or deletion.
|
|
4
4
|
*/
|
|
5
5
|
pending: boolean;
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Cluster pending mapping state: migrating, creating, deleting.
|
|
8
8
|
*/
|
|
9
9
|
clusters?: Record<string, string[]>;
|
|
10
10
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Treats singular, plurals, and other forms of declensions as matching terms.
|
|
2
|
+
* 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](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/) (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\").
|
|
3
3
|
*/
|
|
4
4
|
export type IgnorePlurals = string[] | boolean;
|
|
5
5
|
//# sourceMappingURL=ignorePlurals.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseIndexSettings } from './baseIndexSettings';
|
|
2
2
|
import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Algolia index settings.
|
|
5
5
|
*/
|
|
6
6
|
export type IndexSettings = BaseIndexSettings & IndexSettingsAsSearchParams;
|
|
7
7
|
//# sourceMappingURL=indexSettings.d.ts.map
|
|
@@ -12,43 +12,43 @@ import type { RenderingContent } from './renderingContent';
|
|
|
12
12
|
import type { TypoTolerance } from './typoTolerance';
|
|
13
13
|
export type IndexSettingsAsSearchParams = {
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Attributes used for [faceting](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/) and the [modifiers](https://www.algolia.com/doc/api-reference/api-parameters/attributesForFaceting/#modifiers) that can be applied: `filterOnly`, `searchable`, and `afterDistinct`.
|
|
16
16
|
*/
|
|
17
17
|
attributesForFaceting?: string[];
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* 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.
|
|
20
20
|
*/
|
|
21
21
|
attributesToRetrieve?: string[];
|
|
22
22
|
/**
|
|
23
|
-
* Restricts a
|
|
23
|
+
* Restricts a query to only look at a subset of your [searchable attributes](https://www.algolia.com/doc/guides/managing-results/must-do/searchable-attributes/).
|
|
24
24
|
*/
|
|
25
25
|
restrictSearchableAttributes?: string[];
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Determines the order in which Algolia [returns your results](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/).
|
|
28
28
|
*/
|
|
29
29
|
ranking?: string[];
|
|
30
30
|
/**
|
|
31
|
-
* Specifies the
|
|
31
|
+
* Specifies the [Custom ranking criterion](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/). Use the `asc` and `desc` modifiers to specify the ranking order: ascending or descending.
|
|
32
32
|
*/
|
|
33
33
|
customRanking?: string[];
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Relevancy threshold below which less relevant results aren\'t included in the results.
|
|
36
36
|
*/
|
|
37
37
|
relevancyStrictness?: number;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Attributes to highlight. Strings that match the search query in the attributes are highlighted by surrounding them with HTML tags (`highlightPreTag` and `highlightPostTag`).
|
|
40
40
|
*/
|
|
41
41
|
attributesToHighlight?: string[];
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* 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`.
|
|
44
44
|
*/
|
|
45
45
|
attributesToSnippet?: string[];
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* HTML string to insert before the highlighted parts in all highlight and snippet results.
|
|
48
48
|
*/
|
|
49
49
|
highlightPreTag?: string;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* HTML string to insert after the highlighted parts in all highlight and snippet results.
|
|
52
52
|
*/
|
|
53
53
|
highlightPostTag?: string;
|
|
54
54
|
/**
|
|
@@ -60,15 +60,15 @@ export type IndexSettingsAsSearchParams = {
|
|
|
60
60
|
*/
|
|
61
61
|
restrictHighlightAndSnippetArrays?: boolean;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* Number of hits per page.
|
|
64
64
|
*/
|
|
65
65
|
hitsPerPage?: number;
|
|
66
66
|
/**
|
|
67
|
-
* Minimum number of characters a word in the query string must contain to accept matches with
|
|
67
|
+
* Minimum number of characters a word in the query string must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos).
|
|
68
68
|
*/
|
|
69
69
|
minWordSizefor1Typo?: number;
|
|
70
70
|
/**
|
|
71
|
-
* Minimum number of characters a word in the query string must contain to accept matches with
|
|
71
|
+
* Minimum number of characters a word in the query string must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos).
|
|
72
72
|
*/
|
|
73
73
|
minWordSizefor2Typos?: number;
|
|
74
74
|
typoTolerance?: TypoTolerance;
|
|
@@ -77,29 +77,29 @@ export type IndexSettingsAsSearchParams = {
|
|
|
77
77
|
*/
|
|
78
78
|
allowTyposOnNumericTokens?: boolean;
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/).
|
|
81
81
|
*/
|
|
82
82
|
disableTypoToleranceOnAttributes?: string[];
|
|
83
83
|
ignorePlurals?: IgnorePlurals;
|
|
84
84
|
removeStopWords?: RemoveStopWords;
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
86
|
+
* Characters that the engine shouldn\'t automatically [normalize](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).
|
|
87
87
|
*/
|
|
88
88
|
keepDiacriticsOnCharacters?: string;
|
|
89
89
|
/**
|
|
90
|
-
* Sets
|
|
90
|
+
* Sets your user\'s search language. This adjusts language-specific settings and features such as `ignorePlurals`, `removeStopWords`, and [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) word detection.
|
|
91
91
|
*/
|
|
92
92
|
queryLanguages?: string[];
|
|
93
93
|
/**
|
|
94
|
-
* Splits compound words into their
|
|
94
|
+
* [Splits compound words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words) into their component word parts in the query.
|
|
95
95
|
*/
|
|
96
96
|
decompoundQuery?: boolean;
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* Incidates whether [Rules](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/) are enabled.
|
|
99
99
|
*/
|
|
100
100
|
enableRules?: boolean;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* Incidates whether [Personalization](https://www.algolia.com/doc/guides/personalization/what-is-personalization/) is enabled.
|
|
103
103
|
*/
|
|
104
104
|
enablePersonalization?: boolean;
|
|
105
105
|
queryType?: QueryType;
|
|
@@ -107,33 +107,33 @@ export type IndexSettingsAsSearchParams = {
|
|
|
107
107
|
mode?: Mode;
|
|
108
108
|
semanticSearch?: IndexSettingsAsSearchParamsSemanticSearch;
|
|
109
109
|
/**
|
|
110
|
-
* Enables the advanced query syntax.
|
|
110
|
+
* Enables the [advanced query syntax](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/#advanced-syntax).
|
|
111
111
|
*/
|
|
112
112
|
advancedSyntax?: boolean;
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* Words which should be considered [optional](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words) when found in a query.
|
|
115
115
|
*/
|
|
116
116
|
optionalWords?: string[];
|
|
117
117
|
/**
|
|
118
|
-
*
|
|
118
|
+
* Attributes for which you want to [turn off the exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).
|
|
119
119
|
*/
|
|
120
120
|
disableExactOnAttributes?: string[];
|
|
121
121
|
exactOnSingleWordQuery?: ExactOnSingleWordQuery;
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
123
|
+
* Alternatives that should be considered an exact match by [the exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).
|
|
124
124
|
*/
|
|
125
125
|
alternativesAsExact?: AlternativesAsExact[];
|
|
126
126
|
/**
|
|
127
|
-
* Allows you to specify which advanced syntax features are active when
|
|
127
|
+
* Allows you to specify which advanced syntax features are active when `advancedSyntax` is enabled.
|
|
128
128
|
*/
|
|
129
129
|
advancedSyntaxFeatures?: AdvancedSyntaxFeatures[];
|
|
130
130
|
/**
|
|
131
|
-
* Enriches the API
|
|
131
|
+
* Enriches the API\'s response with information about how the query was processed.
|
|
132
132
|
*/
|
|
133
133
|
explain?: string[];
|
|
134
134
|
distinct?: Distinct;
|
|
135
135
|
/**
|
|
136
|
-
* Name of the
|
|
136
|
+
* Name of the deduplication attribute to be used with Algolia\'s [_distinct_ feature](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#introducing-algolias-distinct-feature).
|
|
137
137
|
*/
|
|
138
138
|
attributeForDistinct?: string;
|
|
139
139
|
/**
|
|
@@ -145,19 +145,19 @@ export type IndexSettingsAsSearchParams = {
|
|
|
145
145
|
*/
|
|
146
146
|
replaceSynonymsInHighlight?: boolean;
|
|
147
147
|
/**
|
|
148
|
-
* Precision of the proximity ranking criterion.
|
|
148
|
+
* Precision of the [proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity).
|
|
149
149
|
*/
|
|
150
150
|
minProximity?: number;
|
|
151
151
|
/**
|
|
152
|
-
*
|
|
152
|
+
* Attributes to include in the API response for search and browse queries.
|
|
153
153
|
*/
|
|
154
154
|
responseFields?: string[];
|
|
155
155
|
/**
|
|
156
|
-
* Maximum number of facet hits to return
|
|
156
|
+
* Maximum number of facet hits to return when [searching for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
|
|
157
157
|
*/
|
|
158
158
|
maxFacetHits?: number;
|
|
159
159
|
/**
|
|
160
|
-
* When
|
|
160
|
+
* When the [Attribute criterion is ranked above Proximity](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute-and-proximity-combinations) in your ranking formula, Proximity is used to select which searchable attribute is matched in the Attribute ranking stage.
|
|
161
161
|
*/
|
|
162
162
|
attributeCriteriaComputedByMinProximity?: boolean;
|
|
163
163
|
renderingContent?: RenderingContent;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Settings for the semantic search part of NeuralSearch. Only used when `mode` is _neuralSearch_.
|
|
3
3
|
*/
|
|
4
4
|
export type IndexSettingsAsSearchParamsSemanticSearch = {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Indices from which to collect click and conversion events. If null, the current index and replica group will be used as the event source.
|
|
7
7
|
*/
|
|
8
8
|
eventSources?: string[] | null;
|
|
9
9
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Clusters.
|
|
3
3
|
*/
|
|
4
4
|
export type ListClustersResponse = {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Key-value pairs with cluster names as keys and lists of users with the highest number of records per cluster as values.
|
|
7
7
|
*/
|
|
8
8
|
topUsers: string[];
|
|
9
9
|
};
|