@coveo/platform-client 45.4.0 → 45.4.1

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.
@@ -1164,7 +1164,7 @@ export type RestThreshold = string | number;
1164
1164
  export type RestComputedFieldOperation = 'average' | 'maximum' | 'minimum' | 'sum';
1165
1165
  export type RestHierarchicalFacetSortCriteria = 'score' | 'alphanumeric' | 'occurrences';
1166
1166
  export type RestRangeFacetSortCriteria = 'score' | 'alphanumeric' | 'ascending' | 'descending';
1167
- export type RestSpecificFacetSortCriteria = 'score' | 'alphanumeric';
1167
+ export type RestSpecificFacetSortCriteria = 'score' | 'alphanumeric' | 'occurrences';
1168
1168
  export type RestFormat = 'json' | 'opensearch-atom' | 'opensearch-rss' | 'xlsx';
1169
1169
  export type RestGroupBySortCriteria = 'alphaascending' | 'alphadescending' | 'chisquare' | 'computedfieldascending' | 'computedfielddescending' | 'nosort' | 'occurrences' | 'score';
1170
1170
  export type RestMLParametersPadding = 'popular' | 'trending';
@@ -1443,6 +1443,7 @@ export interface RestSpecificFacetRequest {
1443
1443
  * **Allowed values:**
1444
1444
  * - `score`: Sort values in descending score order. On a Coveo index, facet value scores are based on number of occurrences and position in the ranked query result set. On an Elasticsearch index, score values are based on number of occurrences only.
1445
1445
  * - `alphanumeric`: Sort values in ascending alphanumeric order.
1446
+ * - `occurrences`: Sort by number of occurrences, with field values having the highest number of occurrences appearing first.
1446
1447
  *
1447
1448
  * **Notes:**
1448
1449
  * - The Coveo ML DNE feature only works with the `score` sort criterion.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/platform-client",
3
- "version": "45.4.0",
3
+ "version": "45.4.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {