Skip to content

Commit c004dd2

Browse files
committed
fix: replace Search.yml with references to the common spec
1 parent 93b68b4 commit c004dd2

File tree

3 files changed

+75
-272
lines changed

3 files changed

+75
-272
lines changed

specs/composition-full/common/params/Search.yml

Lines changed: 0 additions & 197 deletions
This file was deleted.

specs/composition-full/common/schemas/components/Injection.yml

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -4,99 +4,99 @@ baseInjectionQueryParameters:
44
additionalProperties: false
55
properties:
66
advancedSyntax:
7-
$ref: '../../params/Search.yml#/advancedSyntax'
7+
$ref: '../../../../common/schemas/IndexSettings.yml#/advancedSyntax'
88
advancedSyntaxFeatures:
9-
$ref: '../../params/Search.yml#/advancedSyntaxFeatures'
9+
$ref: '../../../../common/schemas/IndexSettings.yml#/advancedSyntaxFeatures'
1010
allowTyposOnNumericTokens:
11-
$ref: '../../params/Search.yml#/allowTyposOnNumericTokens'
11+
$ref: '../../../../common/schemas/IndexSettings.yml#/allowTyposOnNumericTokens'
1212
alternativesAsExact:
13-
$ref: '../../params/Search.yml#/alternativesAsExact'
13+
$ref: '../../../../common/schemas/IndexSettings.yml#/alternativesAsExact'
1414
analytics:
15-
$ref: '../../params/Search.yml#/analytics'
15+
$ref: '../../../../common/schemas/SearchParams.yml#/analytics'
1616
attributeCriteriaComputedByMinProximity:
17-
$ref: '../../params/Search.yml#/attributeCriteriaComputedByMinProximity'
17+
$ref: '../../../../common/schemas/IndexSettings.yml#/attributeCriteriaComputedByMinProximity'
1818
attributesToHighlight:
19-
$ref: '../../params/Search.yml#/attributesToHighlight'
19+
$ref: '../../../../common/schemas/IndexSettings.yml#/attributesToHighlight'
2020
attributesToRetrieve:
21-
$ref: '../../params/Search.yml#/attributesToRetrieve'
21+
$ref: '../../../../common/schemas/IndexSettings.yml#/attributesToRetrieve'
2222
attributesToSnippet:
23-
$ref: '../../params/Search.yml#/attributesToSnippet'
23+
$ref: '../../../../common/schemas/IndexSettings.yml#/attributesToSnippet'
2424
clickAnalytics:
25-
$ref: '../../params/Search.yml#/clickAnalytics'
25+
$ref: '../../../../common/schemas/SearchParams.yml#/clickAnalytics'
2626
decompoundQuery:
27-
$ref: '../../params/Search.yml#/decompoundQuery'
27+
$ref: '../../../../common/schemas/IndexSettings.yml#/decompoundQuery'
2828
disableExactOnAttributes:
29-
$ref: '../../params/Search.yml#/disableExactOnAttributes'
29+
$ref: '../../../../common/schemas/IndexSettings.yml#/disableExactOnAttributes'
3030
disableTypoToleranceOnAttributes:
31-
$ref: '../../params/Search.yml#/disableTypoToleranceOnAttributes'
31+
$ref: '../../../../common/schemas/IndexSettings.yml#/disableTypoToleranceOnAttributes'
3232
distinct:
33-
$ref: '../../params/Search.yml#/distinct'
33+
$ref: '../../../../common/schemas/IndexSettings.yml#/distinct'
3434
enableABTest:
35-
$ref: '../../params/Search.yml#/enableABTest'
35+
$ref: '../../../../common/schemas/SearchParams.yml#/enableABTest'
3636
enablePersonalization:
37-
$ref: '../../params/Search.yml#/enablePersonalization'
37+
$ref: '../../../../common/schemas/IndexSettings.yml#/enablePersonalization'
3838
enableReRanking:
39-
$ref: '../../params/Search.yml#/enableReRanking'
39+
$ref: '../../../../common/schemas/IndexSettings.yml#/enableReRanking'
4040
enableRules:
41-
$ref: '../../params/Search.yml#/enableRules'
41+
$ref: '../../../../common/schemas/IndexSettings.yml#/enableRules'
4242
exactOnSingleWordQuery:
43-
$ref: '../../params/Search.yml#/exactOnSingleWordQuery'
43+
$ref: '../../../../common/schemas/IndexSettings.yml#/exactOnSingleWordQuery'
4444
facetFilters:
45-
$ref: '../../params/Search.yml#/facetFilters'
45+
$ref: '../../../../common/schemas/SearchParams.yml#/facetFilters'
4646
filters:
47-
$ref: '../../params/Search.yml#/filters'
47+
$ref: '../../../../common/schemas/SearchParams.yml#/filters'
4848
getRankingInfo:
49-
$ref: '../../params/Search.yml#/getRankingInfo'
49+
$ref: '../../../../common/schemas/SearchParams.yml#/getRankingInfo'
5050
highlightPostTag:
51-
$ref: '../../params/Search.yml#/highlightPostTag'
51+
$ref: '../../../../common/schemas/IndexSettings.yml#/highlightPostTag'
5252
highlightPreTag:
53-
$ref: '../../params/Search.yml#/highlightPreTag'
53+
$ref: '../../../../common/schemas/IndexSettings.yml#/highlightPreTag'
5454
ignorePlurals:
55-
$ref: '../../params/Search.yml#/ignorePlurals'
55+
$ref: '../../../../common/schemas/IndexSettings.yml#/ignorePlurals'
5656
maxFacetHits:
57-
$ref: '../../params/Search.yml#/maxFacetHits'
57+
$ref: '../../../../common/schemas/IndexSettings.yml#/maxFacetHits'
5858
minProximity:
59-
$ref: '../../params/Search.yml#/minProximity'
59+
$ref: '../../../../common/schemas/IndexSettings.yml#/minProximity'
6060
minWordSizefor1Typo:
61-
$ref: '../../params/Search.yml#/minWordSizefor1Typo'
61+
$ref: '../../../../common/schemas/IndexSettings.yml#/minWordSizefor1Typo'
6262
minWordSizefor2Typos:
63-
$ref: '../../params/Search.yml#/minWordSizefor2Typos'
63+
$ref: '../../../../common/schemas/IndexSettings.yml#/minWordSizefor2Typos'
6464
naturalLanguages:
65-
$ref: '../../params/Search.yml#/naturalLanguages'
65+
$ref: '../../../../common/schemas/SearchParams.yml#/naturalLanguages'
6666
numericFilters:
67-
$ref: '../../params/Search.yml#/numericFilters'
67+
$ref: '../../../../common/schemas/SearchParams.yml#/numericFilters'
6868
optionalFilters:
69-
$ref: '../../params/Search.yml#/optionalFilters'
69+
$ref: '../../../../common/schemas/SearchParams.yml#/optionalFilters'
7070
optionalWords:
71-
$ref: '../../params/Search.yml#/optionalWords'
71+
$ref: '../../../../common/schemas/IndexSettings.yml#/optionalWords'
7272
percentileComputation:
73-
$ref: '../../params/Search.yml#/percentileComputation'
73+
$ref: '../../../../common/schemas/SearchParams.yml#/percentileComputation'
7474
personalizationImpact:
75-
$ref: '../../params/Search.yml#/personalizationImpact'
75+
$ref: '../../../../common/schemas/SearchParams.yml#/personalizationImpact'
7676
queryLanguages:
77-
$ref: '../../params/Search.yml#/queryLanguages'
77+
$ref: '../../../../common/schemas/IndexSettings.yml#/queryLanguages'
7878
queryType:
79-
$ref: '../../params/Search.yml#/queryType'
79+
$ref: '../../../../common/schemas/IndexSettings.yml#/queryType'
8080
removeStopWords:
81-
$ref: '../../params/Search.yml#/removeStopWords'
81+
$ref: '../../../../common/schemas/IndexSettings.yml#/removeStopWords'
8282
removeWordsIfNoResults:
83-
$ref: '../../params/Search.yml#/removeWordsIfNoResults'
83+
$ref: '../../../../common/schemas/IndexSettings.yml#/removeWordsIfNoResults'
8484
replaceSynonymsInHighlight:
85-
$ref: '../../params/Search.yml#/replaceSynonymsInHighlight'
85+
$ref: '../../../../common/schemas/IndexSettings.yml#/replaceSynonymsInHighlight'
8686
responseFields:
87-
$ref: '../../params/Search.yml#/responseFields'
87+
$ref: '../../../../common/schemas/IndexSettings.yml#/responseFields'
8888
restrictHighlightAndSnippetArrays:
89-
$ref: '../../params/Search.yml#/restrictHighlightAndSnippetArrays'
89+
$ref: '../../../../common/schemas/IndexSettings.yml#/restrictHighlightAndSnippetArrays'
9090
restrictSearchableAttributes:
91-
$ref: '../../params/Search.yml#/restrictSearchableAttributes'
91+
$ref: '../../../../common/schemas/SearchParams.yml#/restrictSearchableAttributes'
9292
ruleContexts:
93-
$ref: '../../params/Search.yml#/ruleContexts'
93+
$ref: '../../../../common/schemas/SearchParams.yml#/ruleContexts'
9494
snippetEllipsisText:
95-
$ref: '../../params/Search.yml#/snippetEllipsisText'
95+
$ref: '../../../../common/schemas/IndexSettings.yml#/snippetEllipsisText'
9696
synonyms:
97-
$ref: '../../params/Search.yml#/synonyms'
97+
$ref: '../../../../common/schemas/SearchParams.yml#/synonyms'
9898
typoTolerance:
99-
$ref: '../../params/Search.yml#/typoTolerance'
99+
$ref: '../../../../common/schemas/IndexSettings.yml#/typoTolerance'
100100

101101
mainInjectionQueryParameters:
102102
title: Composition Main Injection Query parameters as object
@@ -108,17 +108,17 @@ mainInjectionQueryParameters:
108108
additionalProperties: false
109109
properties:
110110
facetingAfterDistinct:
111-
$ref: '../../params/Search.yml#/facetingAfterDistinct'
111+
$ref: '../../../../common/schemas/SearchParams.yml#/facetingAfterDistinct'
112112
facets:
113-
$ref: '../../params/Search.yml#/facets'
113+
$ref: '../../../../common/schemas/SearchParams.yml#/baseSearchParamsWithoutQuery/properties/facets'
114114
hitsPerPage:
115-
$ref: '../../params/Search.yml#/hitsPerPage'
115+
$ref: '../../../../common/schemas/IndexSettings.yml#/hitsPerPage'
116116
maxValuesPerFacet:
117-
$ref: '../../params/Search.yml#/maxValuesPerFacet'
117+
$ref: '../../../../common/schemas/IndexSettings.yml#/maxValuesPerFacet'
118118
sortFacetValuesBy:
119-
$ref: '../../params/Search.yml#/sortFacetValuesBy'
119+
$ref: '../../../../common/schemas/IndexSettings.yml#/sortFacetValuesBy'
120120
sumOrFiltersScores:
121-
$ref: '../../params/Search.yml#/sumOrFiltersScores'
121+
$ref: '../../../../common/schemas/SearchParams.yml#/sumOrFiltersScores'
122122

123123
injectedItemsQueryParameters:
124124
title: Composition injectedItems Query parameters as object

0 commit comments

Comments
 (0)