Skip to content

Commit 738888e

Browse files
fix(specs): remove query parameter that are not accepted by the Composition API (generated)
algolia/api-clients-automation#6128 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Clara Muller <5667350+ClaraMuller@users.noreply.github.com>
1 parent 2ef264c commit 738888e

2 files changed

Lines changed: 0 additions & 126 deletions

File tree

algoliasearch/src/main/java/com/algolia/model/composition/BaseInjectionQueryParameters.java

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ public class BaseInjectionQueryParameters {
2424
@JsonProperty("alternativesAsExact")
2525
private List<AlternativesAsExact> alternativesAsExact;
2626

27-
@JsonProperty("analytics")
28-
private Boolean analytics;
29-
3027
@JsonProperty("attributeCriteriaComputedByMinProximity")
3128
private Boolean attributeCriteriaComputedByMinProximity;
3229

@@ -42,9 +39,6 @@ public class BaseInjectionQueryParameters {
4239
@JsonProperty("clickAnalytics")
4340
private Boolean clickAnalytics;
4441

45-
@JsonProperty("decompoundQuery")
46-
private Boolean decompoundQuery;
47-
4842
@JsonProperty("disableExactOnAttributes")
4943
private List<String> disableExactOnAttributes;
5044

@@ -87,9 +81,6 @@ public class BaseInjectionQueryParameters {
8781
@JsonProperty("ignorePlurals")
8882
private IgnorePlurals ignorePlurals;
8983

90-
@JsonProperty("maxFacetHits")
91-
private Integer maxFacetHits;
92-
9384
@JsonProperty("minProximity")
9485
private Integer minProximity;
9586

@@ -236,17 +227,6 @@ public List<AlternativesAsExact> getAlternativesAsExact() {
236227
return alternativesAsExact;
237228
}
238229

239-
public BaseInjectionQueryParameters setAnalytics(Boolean analytics) {
240-
this.analytics = analytics;
241-
return this;
242-
}
243-
244-
/** Whether this search will be included in Analytics. */
245-
@javax.annotation.Nullable
246-
public Boolean getAnalytics() {
247-
return analytics;
248-
}
249-
250230
public BaseInjectionQueryParameters setAttributeCriteriaComputedByMinProximity(Boolean attributeCriteriaComputedByMinProximity) {
251231
this.attributeCriteriaComputedByMinProximity = attributeCriteriaComputedByMinProximity;
252232
return this;
@@ -356,25 +336,6 @@ public Boolean getClickAnalytics() {
356336
return clickAnalytics;
357337
}
358338

359-
public BaseInjectionQueryParameters setDecompoundQuery(Boolean decompoundQuery) {
360-
this.decompoundQuery = decompoundQuery;
361-
return this;
362-
}
363-
364-
/**
365-
* Whether to split compound words in the query into their building blocks For more information,
366-
* see [Word
367-
* segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words).
368-
* Word segmentation is supported for these languages: German, Dutch, Finnish, Swedish, and
369-
* Norwegian. Decompounding doesn't work for words with [non-spacing mark Unicode
370-
* characters](https://www.charactercodes.net/category/non-spacing_mark). For example,
371-
* `Gartenstühle` won't be decompounded if the `ü` consists of `u` (U+0075) and `◌̈` (U+0308).
372-
*/
373-
@javax.annotation.Nullable
374-
public Boolean getDecompoundQuery() {
375-
return decompoundQuery;
376-
}
377-
378339
public BaseInjectionQueryParameters setDisableExactOnAttributes(List<String> disableExactOnAttributes) {
379340
this.disableExactOnAttributes = disableExactOnAttributes;
380341
return this;
@@ -582,21 +543,6 @@ public IgnorePlurals getIgnorePlurals() {
582543
return ignorePlurals;
583544
}
584545

585-
public BaseInjectionQueryParameters setMaxFacetHits(Integer maxFacetHits) {
586-
this.maxFacetHits = maxFacetHits;
587-
return this;
588-
}
589-
590-
/**
591-
* Maximum number of facet values to return when [searching for facet
592-
* values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
593-
* maximum: 100
594-
*/
595-
@javax.annotation.Nullable
596-
public Integer getMaxFacetHits() {
597-
return maxFacetHits;
598-
}
599-
600546
public BaseInjectionQueryParameters setMinProximity(Integer minProximity) {
601547
this.minProximity = minProximity;
602548
return this;
@@ -945,13 +891,11 @@ public boolean equals(Object o) {
945891
Objects.equals(this.advancedSyntaxFeatures, baseInjectionQueryParameters.advancedSyntaxFeatures) &&
946892
Objects.equals(this.allowTyposOnNumericTokens, baseInjectionQueryParameters.allowTyposOnNumericTokens) &&
947893
Objects.equals(this.alternativesAsExact, baseInjectionQueryParameters.alternativesAsExact) &&
948-
Objects.equals(this.analytics, baseInjectionQueryParameters.analytics) &&
949894
Objects.equals(this.attributeCriteriaComputedByMinProximity, baseInjectionQueryParameters.attributeCriteriaComputedByMinProximity) &&
950895
Objects.equals(this.attributesToHighlight, baseInjectionQueryParameters.attributesToHighlight) &&
951896
Objects.equals(this.attributesToRetrieve, baseInjectionQueryParameters.attributesToRetrieve) &&
952897
Objects.equals(this.attributesToSnippet, baseInjectionQueryParameters.attributesToSnippet) &&
953898
Objects.equals(this.clickAnalytics, baseInjectionQueryParameters.clickAnalytics) &&
954-
Objects.equals(this.decompoundQuery, baseInjectionQueryParameters.decompoundQuery) &&
955899
Objects.equals(this.disableExactOnAttributes, baseInjectionQueryParameters.disableExactOnAttributes) &&
956900
Objects.equals(this.disableTypoToleranceOnAttributes, baseInjectionQueryParameters.disableTypoToleranceOnAttributes) &&
957901
Objects.equals(this.distinct, baseInjectionQueryParameters.distinct) &&
@@ -966,7 +910,6 @@ public boolean equals(Object o) {
966910
Objects.equals(this.highlightPostTag, baseInjectionQueryParameters.highlightPostTag) &&
967911
Objects.equals(this.highlightPreTag, baseInjectionQueryParameters.highlightPreTag) &&
968912
Objects.equals(this.ignorePlurals, baseInjectionQueryParameters.ignorePlurals) &&
969-
Objects.equals(this.maxFacetHits, baseInjectionQueryParameters.maxFacetHits) &&
970913
Objects.equals(this.minProximity, baseInjectionQueryParameters.minProximity) &&
971914
Objects.equals(this.minWordSizefor1Typo, baseInjectionQueryParameters.minWordSizefor1Typo) &&
972915
Objects.equals(this.minWordSizefor2Typos, baseInjectionQueryParameters.minWordSizefor2Typos) &&
@@ -998,13 +941,11 @@ public int hashCode() {
998941
advancedSyntaxFeatures,
999942
allowTyposOnNumericTokens,
1000943
alternativesAsExact,
1001-
analytics,
1002944
attributeCriteriaComputedByMinProximity,
1003945
attributesToHighlight,
1004946
attributesToRetrieve,
1005947
attributesToSnippet,
1006948
clickAnalytics,
1007-
decompoundQuery,
1008949
disableExactOnAttributes,
1009950
disableTypoToleranceOnAttributes,
1010951
distinct,
@@ -1019,7 +960,6 @@ public int hashCode() {
1019960
highlightPostTag,
1020961
highlightPreTag,
1021962
ignorePlurals,
1022-
maxFacetHits,
1023963
minProximity,
1024964
minWordSizefor1Typo,
1025965
minWordSizefor2Typos,
@@ -1052,7 +992,6 @@ public String toString() {
1052992
sb.append(" advancedSyntaxFeatures: ").append(toIndentedString(advancedSyntaxFeatures)).append("\n");
1053993
sb.append(" allowTyposOnNumericTokens: ").append(toIndentedString(allowTyposOnNumericTokens)).append("\n");
1054994
sb.append(" alternativesAsExact: ").append(toIndentedString(alternativesAsExact)).append("\n");
1055-
sb.append(" analytics: ").append(toIndentedString(analytics)).append("\n");
1056995
sb
1057996
.append(" attributeCriteriaComputedByMinProximity: ")
1058997
.append(toIndentedString(attributeCriteriaComputedByMinProximity))
@@ -1061,7 +1000,6 @@ public String toString() {
10611000
sb.append(" attributesToRetrieve: ").append(toIndentedString(attributesToRetrieve)).append("\n");
10621001
sb.append(" attributesToSnippet: ").append(toIndentedString(attributesToSnippet)).append("\n");
10631002
sb.append(" clickAnalytics: ").append(toIndentedString(clickAnalytics)).append("\n");
1064-
sb.append(" decompoundQuery: ").append(toIndentedString(decompoundQuery)).append("\n");
10651003
sb.append(" disableExactOnAttributes: ").append(toIndentedString(disableExactOnAttributes)).append("\n");
10661004
sb.append(" disableTypoToleranceOnAttributes: ").append(toIndentedString(disableTypoToleranceOnAttributes)).append("\n");
10671005
sb.append(" distinct: ").append(toIndentedString(distinct)).append("\n");
@@ -1076,7 +1014,6 @@ public String toString() {
10761014
sb.append(" highlightPostTag: ").append(toIndentedString(highlightPostTag)).append("\n");
10771015
sb.append(" highlightPreTag: ").append(toIndentedString(highlightPreTag)).append("\n");
10781016
sb.append(" ignorePlurals: ").append(toIndentedString(ignorePlurals)).append("\n");
1079-
sb.append(" maxFacetHits: ").append(toIndentedString(maxFacetHits)).append("\n");
10801017
sb.append(" minProximity: ").append(toIndentedString(minProximity)).append("\n");
10811018
sb.append(" minWordSizefor1Typo: ").append(toIndentedString(minWordSizefor1Typo)).append("\n");
10821019
sb.append(" minWordSizefor2Typos: ").append(toIndentedString(minWordSizefor2Typos)).append("\n");

algoliasearch/src/main/java/com/algolia/model/composition/MainInjectionQueryParameters.java

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ public class MainInjectionQueryParameters {
2424
@JsonProperty("alternativesAsExact")
2525
private List<AlternativesAsExact> alternativesAsExact;
2626

27-
@JsonProperty("analytics")
28-
private Boolean analytics;
29-
3027
@JsonProperty("attributeCriteriaComputedByMinProximity")
3128
private Boolean attributeCriteriaComputedByMinProximity;
3229

@@ -42,9 +39,6 @@ public class MainInjectionQueryParameters {
4239
@JsonProperty("clickAnalytics")
4340
private Boolean clickAnalytics;
4441

45-
@JsonProperty("decompoundQuery")
46-
private Boolean decompoundQuery;
47-
4842
@JsonProperty("disableExactOnAttributes")
4943
private List<String> disableExactOnAttributes;
5044

@@ -87,9 +81,6 @@ public class MainInjectionQueryParameters {
8781
@JsonProperty("ignorePlurals")
8882
private IgnorePlurals ignorePlurals;
8983

90-
@JsonProperty("maxFacetHits")
91-
private Integer maxFacetHits;
92-
9384
@JsonProperty("minProximity")
9485
private Integer minProximity;
9586

@@ -257,17 +248,6 @@ public List<AlternativesAsExact> getAlternativesAsExact() {
257248
return alternativesAsExact;
258249
}
259250

260-
public MainInjectionQueryParameters setAnalytics(Boolean analytics) {
261-
this.analytics = analytics;
262-
return this;
263-
}
264-
265-
/** Whether this search will be included in Analytics. */
266-
@javax.annotation.Nullable
267-
public Boolean getAnalytics() {
268-
return analytics;
269-
}
270-
271251
public MainInjectionQueryParameters setAttributeCriteriaComputedByMinProximity(Boolean attributeCriteriaComputedByMinProximity) {
272252
this.attributeCriteriaComputedByMinProximity = attributeCriteriaComputedByMinProximity;
273253
return this;
@@ -377,25 +357,6 @@ public Boolean getClickAnalytics() {
377357
return clickAnalytics;
378358
}
379359

380-
public MainInjectionQueryParameters setDecompoundQuery(Boolean decompoundQuery) {
381-
this.decompoundQuery = decompoundQuery;
382-
return this;
383-
}
384-
385-
/**
386-
* Whether to split compound words in the query into their building blocks For more information,
387-
* see [Word
388-
* segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words).
389-
* Word segmentation is supported for these languages: German, Dutch, Finnish, Swedish, and
390-
* Norwegian. Decompounding doesn't work for words with [non-spacing mark Unicode
391-
* characters](https://www.charactercodes.net/category/non-spacing_mark). For example,
392-
* `Gartenstühle` won't be decompounded if the `ü` consists of `u` (U+0075) and `◌̈` (U+0308).
393-
*/
394-
@javax.annotation.Nullable
395-
public Boolean getDecompoundQuery() {
396-
return decompoundQuery;
397-
}
398-
399360
public MainInjectionQueryParameters setDisableExactOnAttributes(List<String> disableExactOnAttributes) {
400361
this.disableExactOnAttributes = disableExactOnAttributes;
401362
return this;
@@ -603,21 +564,6 @@ public IgnorePlurals getIgnorePlurals() {
603564
return ignorePlurals;
604565
}
605566

606-
public MainInjectionQueryParameters setMaxFacetHits(Integer maxFacetHits) {
607-
this.maxFacetHits = maxFacetHits;
608-
return this;
609-
}
610-
611-
/**
612-
* Maximum number of facet values to return when [searching for facet
613-
* values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
614-
* maximum: 100
615-
*/
616-
@javax.annotation.Nullable
617-
public Integer getMaxFacetHits() {
618-
return maxFacetHits;
619-
}
620-
621567
public MainInjectionQueryParameters setMinProximity(Integer minProximity) {
622568
this.minProximity = minProximity;
623569
return this;
@@ -1075,13 +1021,11 @@ public boolean equals(Object o) {
10751021
Objects.equals(this.advancedSyntaxFeatures, mainInjectionQueryParameters.advancedSyntaxFeatures) &&
10761022
Objects.equals(this.allowTyposOnNumericTokens, mainInjectionQueryParameters.allowTyposOnNumericTokens) &&
10771023
Objects.equals(this.alternativesAsExact, mainInjectionQueryParameters.alternativesAsExact) &&
1078-
Objects.equals(this.analytics, mainInjectionQueryParameters.analytics) &&
10791024
Objects.equals(this.attributeCriteriaComputedByMinProximity, mainInjectionQueryParameters.attributeCriteriaComputedByMinProximity) &&
10801025
Objects.equals(this.attributesToHighlight, mainInjectionQueryParameters.attributesToHighlight) &&
10811026
Objects.equals(this.attributesToRetrieve, mainInjectionQueryParameters.attributesToRetrieve) &&
10821027
Objects.equals(this.attributesToSnippet, mainInjectionQueryParameters.attributesToSnippet) &&
10831028
Objects.equals(this.clickAnalytics, mainInjectionQueryParameters.clickAnalytics) &&
1084-
Objects.equals(this.decompoundQuery, mainInjectionQueryParameters.decompoundQuery) &&
10851029
Objects.equals(this.disableExactOnAttributes, mainInjectionQueryParameters.disableExactOnAttributes) &&
10861030
Objects.equals(this.disableTypoToleranceOnAttributes, mainInjectionQueryParameters.disableTypoToleranceOnAttributes) &&
10871031
Objects.equals(this.distinct, mainInjectionQueryParameters.distinct) &&
@@ -1096,7 +1040,6 @@ public boolean equals(Object o) {
10961040
Objects.equals(this.highlightPostTag, mainInjectionQueryParameters.highlightPostTag) &&
10971041
Objects.equals(this.highlightPreTag, mainInjectionQueryParameters.highlightPreTag) &&
10981042
Objects.equals(this.ignorePlurals, mainInjectionQueryParameters.ignorePlurals) &&
1099-
Objects.equals(this.maxFacetHits, mainInjectionQueryParameters.maxFacetHits) &&
11001043
Objects.equals(this.minProximity, mainInjectionQueryParameters.minProximity) &&
11011044
Objects.equals(this.minWordSizefor1Typo, mainInjectionQueryParameters.minWordSizefor1Typo) &&
11021045
Objects.equals(this.minWordSizefor2Typos, mainInjectionQueryParameters.minWordSizefor2Typos) &&
@@ -1135,13 +1078,11 @@ public int hashCode() {
11351078
advancedSyntaxFeatures,
11361079
allowTyposOnNumericTokens,
11371080
alternativesAsExact,
1138-
analytics,
11391081
attributeCriteriaComputedByMinProximity,
11401082
attributesToHighlight,
11411083
attributesToRetrieve,
11421084
attributesToSnippet,
11431085
clickAnalytics,
1144-
decompoundQuery,
11451086
disableExactOnAttributes,
11461087
disableTypoToleranceOnAttributes,
11471088
distinct,
@@ -1156,7 +1097,6 @@ public int hashCode() {
11561097
highlightPostTag,
11571098
highlightPreTag,
11581099
ignorePlurals,
1159-
maxFacetHits,
11601100
minProximity,
11611101
minWordSizefor1Typo,
11621102
minWordSizefor2Typos,
@@ -1196,7 +1136,6 @@ public String toString() {
11961136
sb.append(" advancedSyntaxFeatures: ").append(toIndentedString(advancedSyntaxFeatures)).append("\n");
11971137
sb.append(" allowTyposOnNumericTokens: ").append(toIndentedString(allowTyposOnNumericTokens)).append("\n");
11981138
sb.append(" alternativesAsExact: ").append(toIndentedString(alternativesAsExact)).append("\n");
1199-
sb.append(" analytics: ").append(toIndentedString(analytics)).append("\n");
12001139
sb
12011140
.append(" attributeCriteriaComputedByMinProximity: ")
12021141
.append(toIndentedString(attributeCriteriaComputedByMinProximity))
@@ -1205,7 +1144,6 @@ public String toString() {
12051144
sb.append(" attributesToRetrieve: ").append(toIndentedString(attributesToRetrieve)).append("\n");
12061145
sb.append(" attributesToSnippet: ").append(toIndentedString(attributesToSnippet)).append("\n");
12071146
sb.append(" clickAnalytics: ").append(toIndentedString(clickAnalytics)).append("\n");
1208-
sb.append(" decompoundQuery: ").append(toIndentedString(decompoundQuery)).append("\n");
12091147
sb.append(" disableExactOnAttributes: ").append(toIndentedString(disableExactOnAttributes)).append("\n");
12101148
sb.append(" disableTypoToleranceOnAttributes: ").append(toIndentedString(disableTypoToleranceOnAttributes)).append("\n");
12111149
sb.append(" distinct: ").append(toIndentedString(distinct)).append("\n");
@@ -1220,7 +1158,6 @@ public String toString() {
12201158
sb.append(" highlightPostTag: ").append(toIndentedString(highlightPostTag)).append("\n");
12211159
sb.append(" highlightPreTag: ").append(toIndentedString(highlightPreTag)).append("\n");
12221160
sb.append(" ignorePlurals: ").append(toIndentedString(ignorePlurals)).append("\n");
1223-
sb.append(" maxFacetHits: ").append(toIndentedString(maxFacetHits)).append("\n");
12241161
sb.append(" minProximity: ").append(toIndentedString(minProximity)).append("\n");
12251162
sb.append(" minWordSizefor1Typo: ").append(toIndentedString(minWordSizefor1Typo)).append("\n");
12261163
sb.append(" minWordSizefor2Typos: ").append(toIndentedString(minWordSizefor2Typos)).append("\n");

0 commit comments

Comments
 (0)