Skip to content

Commit 69d256c

Browse files
algolia-botgazconroyGary Conroyshortcuts
committed
fix(specs): correct typos is Search API (generated)
algolia/api-clients-automation#3898 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: gazconroy <[email protected]> Co-authored-by: Gary Conroy <[email protected]> Co-authored-by: shortcuts <[email protected]>
1 parent 2efca0f commit 69d256c

22 files changed

+193
-185
lines changed

algoliasearch/src/main/java/com/algolia/api/SearchClient.java

Lines changed: 88 additions & 92 deletions
Large diffs are not rendered by default.

algoliasearch/src/main/java/com/algolia/model/recommend/FallbackParams.java

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -443,9 +443,10 @@ public FallbackParams setAroundLatLng(String aroundLatLng) {
443443

444444
/**
445445
* Coordinates for the center of a circle, expressed as a comma-separated string of latitude and
446-
* longitude. Only records included within circle around this central location are included in the
447-
* results. The radius of the circle is determined by the `aroundRadius` and `minimumAroundRadius`
448-
* settings. This parameter is ignored if you also specify `insidePolygon` or `insideBoundingBox`.
446+
* longitude. Only records included within a circle around this central location are included in
447+
* the results. The radius of the circle is determined by the `aroundRadius` and
448+
* `minimumAroundRadius` settings. This parameter is ignored if you also specify `insidePolygon`
449+
* or `insideBoundingBox`.
449450
*/
450451
@javax.annotation.Nullable
451452
public String getAroundLatLng() {
@@ -749,8 +750,8 @@ public FallbackParams addAttributesForFaceting(String attributesForFacetingItem)
749750
* [faceting](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/).
750751
* Facets are attributes that let you categorize search results. They can be used for filtering
751752
* search results. By default, no attribute is used for faceting. Attribute names are
752-
* case-sensitive. **Modifiers** - `filterOnly(\"ATTRIBUTE\")`. Allows using this attribute as a
753-
* filter, but doesn't evalue the facet values. - `searchable(\"ATTRIBUTE\")`. Allows searching
753+
* case-sensitive. **Modifiers** - `filterOnly(\"ATTRIBUTE\")`. Allows the attribute to be used as
754+
* a filter but doesn't evaluate the facet values. - `searchable(\"ATTRIBUTE\")`. Allows searching
754755
* for facet values. - `afterDistinct(\"ATTRIBUTE\")`. Evaluates the facet count _after_
755756
* deduplication with `distinct`. This ensures accurate facet counts. You can apply this modifier
756757
* to searchable facets: `afterDistinct(searchable(ATTRIBUTE))`.
@@ -781,7 +782,7 @@ public FallbackParams addReplicas(String replicasItem) {
781782
* use replica indices. All index operations on a primary index are automatically forwarded to its
782783
* replicas. To add a replica index, you must provide the complete set of replicas to this
783784
* parameter. If you omit a replica from this list, the replica turns into a regular, standalone
784-
* index that will no longer by synced with the primary index. **Modifier** -
785+
* index that will no longer be synced with the primary index. **Modifier** -
785786
* `virtual(\"REPLICA\")`. Create a virtual replica, Virtual replicas don't increase the number of
786787
* records and are optimized for [Relevant
787788
* sorting](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort/).
@@ -1005,9 +1006,9 @@ public FallbackParams addNumericAttributesForFiltering(String numericAttributesF
10051006
* Numeric attributes that can be used as [numerical
10061007
* filters](https://www.algolia.com/doc/guides/managing-results/rules/detecting-intent/how-to/applying-a-custom-filter-for-a-specific-query/#numerical-filters).
10071008
* Attribute names are case-sensitive. By default, all numeric attributes are available as
1008-
* numerical filters. For faster indexing, reduce the number of numeric attributes. If you want to
1009-
* turn off filtering for all numeric attributes, specifiy an attribute that doesn't exist in your
1010-
* index, such as `NO_NUMERIC_FILTERING`. **Modifier** - `equalOnly(\"ATTRIBUTE\")`. Support only
1009+
* numerical filters. For faster indexing, reduce the number of numeric attributes. To turn off
1010+
* filtering for all numeric attributes, specify an attribute that doesn't exist in your index,
1011+
* such as `NO_NUMERIC_FILTERING`. **Modifier** - `equalOnly(\"ATTRIBUTE\")`. Support only
10111012
* filtering based on equality comparisons `=` and `!=`.
10121013
*/
10131014
@javax.annotation.Nullable
@@ -1056,7 +1057,8 @@ public FallbackParams addSearchableAttributes(String searchableAttributesItem) {
10561057
* information, see [Searchable
10571058
* attributes](https://www.algolia.com/doc/guides/sending-and-managing-data/prepare-your-data/how-to/setting-searchable-attributes/).
10581059
* **Modifier** - `unordered(\"ATTRIBUTE\")`. Ignore the position of a match within the attribute.
1059-
* Without modifier, matches at the beginning of an attribute rank higer than matches at the end.
1060+
* Without a modifier, matches at the beginning of an attribute rank higher than matches at the
1061+
* end.
10601062
*/
10611063
@javax.annotation.Nullable
10621064
public List<String> getSearchableAttributes() {
@@ -1526,7 +1528,7 @@ public FallbackParams addOptionalWords(String optionalWordsItem) {
15261528
* `optionalWords` has less than 10 words, the required number of matched words increases by 1:
15271529
* results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 2 matched words. - If
15281530
* `optionalWords` has 10 or more words, the number of required matched words increases by the
1529-
* number of optional words dividied by 5 (rounded down). For example, with 18 optional words:
1531+
* number of optional words divided by 5 (rounded down). For example, with 18 optional words:
15301532
* results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 4 matched words. For more
15311533
* information, see [Optional
15321534
* words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words).
@@ -1553,7 +1555,7 @@ public FallbackParams addDisableExactOnAttributes(String disableExactOnAttribute
15531555
* Searchable attributes for which you want to [turn off the Exact ranking
15541556
* 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).
15551557
* Attribute names are case-sensitive. This can be useful for attributes with long values, where
1556-
* the likelyhood of an exact match is high, such as product descriptions. Turning off the Exact
1558+
* the likelihood of an exact match is high, such as product descriptions. Turning off the Exact
15571559
* ranking criterion for these attributes favors exact matching on other attributes. This reduces
15581560
* the impact of individual attributes with a lot of content on ranking.
15591561
*/
@@ -1645,7 +1647,7 @@ public FallbackParams setReplaceSynonymsInHighlight(Boolean replaceSynonymsInHig
16451647
* and a search for `home`, records matching either \"home\" or \"house\" are included in the
16461648
* search results, and either \"home\" or \"house\" are highlighted. With
16471649
* `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,
1648-
* but all occurences of \"house\" are replaced by \"home\" in the highlighted response.
1650+
* but all occurrences of \"house\" are replaced by \"home\" in the highlighted response.
16491651
*/
16501652
@javax.annotation.Nullable
16511653
public Boolean getReplaceSynonymsInHighlight() {

algoliasearch/src/main/java/com/algolia/model/recommend/NumericFilters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* Filter by numeric facets. **Prefer using the `filters` parameter, which supports all filter types
1818
* and combinations with boolean operators.** You can use numeric comparison operators: `<`, `<=`,
19-
* `=`, `!=`, `>`, `>=`. Comparsions are precise up to 3 decimals. You can also provide ranges:
19+
* `=`, `!=`, `>`, `>=`. Comparisons are precise up to 3 decimals. You can also provide ranges:
2020
* `facet:<lower> TO <upper>`. The range includes the lower and upper boundaries. The same
2121
* combination rules apply as for `facetFilters`.
2222
*/

algoliasearch/src/main/java/com/algolia/model/recommend/QueryType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/**
1010
* Determines if and how query words are interpreted as prefixes. By default, only the last query
11-
* word is treated as prefix (`prefixLast`). To turn off prefix search, use `prefixNone`. Avoid
11+
* word is treated as a prefix (`prefixLast`). To turn off prefix search, use `prefixNone`. Avoid
1212
* `prefixAll`, which treats all query words as prefixes. This might lead to counterintuitive
1313
* results and makes your search slower. For more information, see [Prefix
1414
* searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching/).

algoliasearch/src/main/java/com/algolia/model/recommend/RecommendSearchParams.java

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -443,9 +443,10 @@ public RecommendSearchParams setAroundLatLng(String aroundLatLng) {
443443

444444
/**
445445
* Coordinates for the center of a circle, expressed as a comma-separated string of latitude and
446-
* longitude. Only records included within circle around this central location are included in the
447-
* results. The radius of the circle is determined by the `aroundRadius` and `minimumAroundRadius`
448-
* settings. This parameter is ignored if you also specify `insidePolygon` or `insideBoundingBox`.
446+
* longitude. Only records included within a circle around this central location are included in
447+
* the results. The radius of the circle is determined by the `aroundRadius` and
448+
* `minimumAroundRadius` settings. This parameter is ignored if you also specify `insidePolygon`
449+
* or `insideBoundingBox`.
449450
*/
450451
@javax.annotation.Nullable
451452
public String getAroundLatLng() {
@@ -749,8 +750,8 @@ public RecommendSearchParams addAttributesForFaceting(String attributesForFaceti
749750
* [faceting](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/).
750751
* Facets are attributes that let you categorize search results. They can be used for filtering
751752
* search results. By default, no attribute is used for faceting. Attribute names are
752-
* case-sensitive. **Modifiers** - `filterOnly(\"ATTRIBUTE\")`. Allows using this attribute as a
753-
* filter, but doesn't evalue the facet values. - `searchable(\"ATTRIBUTE\")`. Allows searching
753+
* case-sensitive. **Modifiers** - `filterOnly(\"ATTRIBUTE\")`. Allows the attribute to be used as
754+
* a filter but doesn't evaluate the facet values. - `searchable(\"ATTRIBUTE\")`. Allows searching
754755
* for facet values. - `afterDistinct(\"ATTRIBUTE\")`. Evaluates the facet count _after_
755756
* deduplication with `distinct`. This ensures accurate facet counts. You can apply this modifier
756757
* to searchable facets: `afterDistinct(searchable(ATTRIBUTE))`.
@@ -781,7 +782,7 @@ public RecommendSearchParams addReplicas(String replicasItem) {
781782
* use replica indices. All index operations on a primary index are automatically forwarded to its
782783
* replicas. To add a replica index, you must provide the complete set of replicas to this
783784
* parameter. If you omit a replica from this list, the replica turns into a regular, standalone
784-
* index that will no longer by synced with the primary index. **Modifier** -
785+
* index that will no longer be synced with the primary index. **Modifier** -
785786
* `virtual(\"REPLICA\")`. Create a virtual replica, Virtual replicas don't increase the number of
786787
* records and are optimized for [Relevant
787788
* sorting](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort/).
@@ -1005,9 +1006,9 @@ public RecommendSearchParams addNumericAttributesForFiltering(String numericAttr
10051006
* Numeric attributes that can be used as [numerical
10061007
* filters](https://www.algolia.com/doc/guides/managing-results/rules/detecting-intent/how-to/applying-a-custom-filter-for-a-specific-query/#numerical-filters).
10071008
* Attribute names are case-sensitive. By default, all numeric attributes are available as
1008-
* numerical filters. For faster indexing, reduce the number of numeric attributes. If you want to
1009-
* turn off filtering for all numeric attributes, specifiy an attribute that doesn't exist in your
1010-
* index, such as `NO_NUMERIC_FILTERING`. **Modifier** - `equalOnly(\"ATTRIBUTE\")`. Support only
1009+
* numerical filters. For faster indexing, reduce the number of numeric attributes. To turn off
1010+
* filtering for all numeric attributes, specify an attribute that doesn't exist in your index,
1011+
* such as `NO_NUMERIC_FILTERING`. **Modifier** - `equalOnly(\"ATTRIBUTE\")`. Support only
10111012
* filtering based on equality comparisons `=` and `!=`.
10121013
*/
10131014
@javax.annotation.Nullable
@@ -1056,7 +1057,8 @@ public RecommendSearchParams addSearchableAttributes(String searchableAttributes
10561057
* information, see [Searchable
10571058
* attributes](https://www.algolia.com/doc/guides/sending-and-managing-data/prepare-your-data/how-to/setting-searchable-attributes/).
10581059
* **Modifier** - `unordered(\"ATTRIBUTE\")`. Ignore the position of a match within the attribute.
1059-
* Without modifier, matches at the beginning of an attribute rank higer than matches at the end.
1060+
* Without a modifier, matches at the beginning of an attribute rank higher than matches at the
1061+
* end.
10601062
*/
10611063
@javax.annotation.Nullable
10621064
public List<String> getSearchableAttributes() {
@@ -1526,7 +1528,7 @@ public RecommendSearchParams addOptionalWords(String optionalWordsItem) {
15261528
* `optionalWords` has less than 10 words, the required number of matched words increases by 1:
15271529
* results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 2 matched words. - If
15281530
* `optionalWords` has 10 or more words, the number of required matched words increases by the
1529-
* number of optional words dividied by 5 (rounded down). For example, with 18 optional words:
1531+
* number of optional words divided by 5 (rounded down). For example, with 18 optional words:
15301532
* results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 4 matched words. For more
15311533
* information, see [Optional
15321534
* words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words).
@@ -1553,7 +1555,7 @@ public RecommendSearchParams addDisableExactOnAttributes(String disableExactOnAt
15531555
* Searchable attributes for which you want to [turn off the Exact ranking
15541556
* 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).
15551557
* Attribute names are case-sensitive. This can be useful for attributes with long values, where
1556-
* the likelyhood of an exact match is high, such as product descriptions. Turning off the Exact
1558+
* the likelihood of an exact match is high, such as product descriptions. Turning off the Exact
15571559
* ranking criterion for these attributes favors exact matching on other attributes. This reduces
15581560
* the impact of individual attributes with a lot of content on ranking.
15591561
*/
@@ -1645,7 +1647,7 @@ public RecommendSearchParams setReplaceSynonymsInHighlight(Boolean replaceSynony
16451647
* and a search for `home`, records matching either \"home\" or \"house\" are included in the
16461648
* search results, and either \"home\" or \"house\" are highlighted. With
16471649
* `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,
1648-
* but all occurences of \"house\" are replaced by \"home\" in the highlighted response.
1650+
* but all occurrences of \"house\" are replaced by \"home\" in the highlighted response.
16491651
*/
16501652
@javax.annotation.Nullable
16511653
public Boolean getReplaceSynonymsInHighlight() {

algoliasearch/src/main/java/com/algolia/model/recommend/RenderingContent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
/**
1111
* Extra data that can be used in the search UI. You can use this to control aspects of your search
12-
* UI, such as, the order of facet names and values without changing your frontend code.
12+
* UI, such as the order of facet names and values without changing your frontend code.
1313
*/
1414
public class RenderingContent {
1515

algoliasearch/src/main/java/com/algolia/model/recommend/TypoTolerance.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/)
1717
* is enabled and how it is applied. If typo tolerance is true, `min`, or `strict`, [word splitting
1818
* and
19-
* concetenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation/)
20-
* is also active.
19+
* concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation/)
20+
* are also active.
2121
*/
2222
@JsonDeserialize(using = TypoTolerance.Deserializer.class)
2323
public interface TypoTolerance {

algoliasearch/src/main/java/com/algolia/model/search/Anchoring.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
/**
1010
* Which part of the search query the pattern should match: - `startsWith`. The pattern must match
11-
* the begginning of the query. - `endsWith`. The pattern must match the end of the query. - `is`.
11+
* the beginning of the query. - `endsWith`. The pattern must match the end of the query. - `is`.
1212
* The pattern must match the query exactly. - `contains`. The pattern must match anywhere in the
13-
* query. Empty queries are only allowed as pattern with `anchoring: is`.
13+
* query. Empty queries are only allowed as patterns with `anchoring: is`.
1414
*/
1515
public enum Anchoring {
1616
IS("is"),

algoliasearch/src/main/java/com/algolia/model/search/ApiKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public ApiKey setQueryParameters(String queryParameters) {
129129
* Query parameters to add when making API requests with this API key. To restrict this API key to
130130
* specific IP addresses, add the `restrictSources` parameter. You can only add a single source,
131131
* but you can provide a range of IP addresses. Creating an API key fails if the request is made
132-
* from an IP address that's outside the restricted range.
132+
* from an IP address outside the restricted range.
133133
*/
134134
@javax.annotation.Nullable
135135
public String getQueryParameters() {

0 commit comments

Comments
 (0)