Skip to content

Commit 7624112

Browse files
committed
fix: dont commit this here
1 parent 8f88e43 commit 7624112

3 files changed

Lines changed: 0 additions & 33 deletions

File tree

specs/common/schemas/IndexSettings.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,6 @@ indexSettingsAsSearchParams:
439439
$ref: '#/sortFacetValuesBy'
440440
attributeCriteriaComputedByMinProximity:
441441
$ref: '#/attributeCriteriaComputedByMinProximity'
442-
attributeCriteriaComputedBy:
443-
$ref: '#/attributeCriteriaComputedBy'
444442
renderingContent:
445443
$ref: '#/renderingContent'
446444
enableReRanking:
@@ -521,28 +519,6 @@ attributeCriteriaComputedByMinProximity:
521519
x-categories:
522520
- Advanced
523521

524-
attributeCriteriaComputedBy:
525-
description: |
526-
Strategy for computing the Attribute ranking criterion.
527-
This mainly affects multi-word queries where matches occur in and across multiple attributes.
528-
- `minProximity`.
529-
Determine the best matching attribute from those with the best proximity score.
530-
This is the default when Attribute follows Proximity in the `ranking` setting.
531-
Ties on an ordered attribute are broken by the match position.
532-
- `best`.
533-
Determine the best matching attribute from all attributes matching any query term.
534-
This is the default when Attribute comes before Proximity in the `ranking` setting.
535-
Ties on an ordered attribute are broken by the match position.
536-
- `sum`.
537-
Instead of a single best attribute, compute a score across each query term's best matching attribute (and position, for ordered attributes).
538-
Lower total scores rank higher.
539-
This keeps Attribute before Proximity while preventing a record from being boosted just because a single word of a multi-word query matched in a high-ranked attribute.
540-
Recommended with unordered attributes for any long-text field.
541-
allOf:
542-
- $ref: './SearchEnums.yml#/attributeCriteriaComputedBy'
543-
x-categories:
544-
- Advanced
545-
546522
attributesToHighlight:
547523
type: array
548524
items:

specs/common/schemas/SearchEnums.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ alternativesAsExact:
1010
x-categories:
1111
- Query strategy
1212

13-
attributeCriteriaComputedBy:
14-
type: string
15-
title: attribute criteria computed by
16-
enum: [minProximity, best, sum]
17-
x-categories:
18-
- Advanced
19-
2013
typoToleranceEnum:
2114
type: string
2215
title: typo tolerance

specs/recommend/common/schemas/IndexSettings.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ baseRecommendIndexSettings:
7474
$ref: '../../../common/schemas/IndexSettings.yml#/indexSettingsAsSearchParams/properties/sortFacetValuesBy'
7575
attributeCriteriaComputedByMinProximity:
7676
$ref: '../../../common/schemas/IndexSettings.yml#/indexSettingsAsSearchParams/properties/attributeCriteriaComputedByMinProximity'
77-
attributeCriteriaComputedBy:
78-
$ref: '../../../common/schemas/IndexSettings.yml#/indexSettingsAsSearchParams/properties/attributeCriteriaComputedBy'
7977
renderingContent:
8078
$ref: '../../../common/schemas/IndexSettings.yml#/indexSettingsAsSearchParams/properties/renderingContent'
8179
enableReRanking:

0 commit comments

Comments
 (0)