Skip to content

Commit

Permalink
fix(specs): alternativesAsExact is plurals and synonyms (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3974

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
  • Loading branch information
algolia-bot committed Oct 15, 2024
1 parent 2f6911d commit 8a7b0a7
Show file tree
Hide file tree
Showing 9 changed files with 90 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1589,11 +1589,16 @@ public FallbackParams addAlternativesAsExact(AlternativesAsExact alternativesAsE
}

/**
* Alternatives of query words that should be considered as exact matches by the Exact ranking
* criterion. - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals`
* setting are considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as
* \"NY/NYC\" are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY/New York\" are considered exact matches.
* Determine which plurals and synonyms should be considered an exact matches. By default, Algolia
* treats singular and plural forms of a word, and single-word synonyms, as
* [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact)
* matches when searching. For example: - \"swimsuit\" and \"swimsuits\" are treated the same -
* \"swimsuit\" and \"swimwear\" are treated the same (if they are
* [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).
* - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals` setting are
* considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as \"NY\" =
* \"NYC\", are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY\" = \"New York\", are considered exact matches.
*/
@javax.annotation.Nullable
public List<AlternativesAsExact> getAlternativesAsExact() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1589,11 +1589,16 @@ public RecommendSearchParams addAlternativesAsExact(AlternativesAsExact alternat
}

/**
* Alternatives of query words that should be considered as exact matches by the Exact ranking
* criterion. - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals`
* setting are considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as
* \"NY/NYC\" are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY/New York\" are considered exact matches.
* Determine which plurals and synonyms should be considered an exact matches. By default, Algolia
* treats singular and plural forms of a word, and single-word synonyms, as
* [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact)
* matches when searching. For example: - \"swimsuit\" and \"swimsuits\" are treated the same -
* \"swimsuit\" and \"swimwear\" are treated the same (if they are
* [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).
* - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals` setting are
* considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as \"NY\" =
* \"NYC\", are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY\" = \"New York\", are considered exact matches.
*/
@javax.annotation.Nullable
public List<AlternativesAsExact> getAlternativesAsExact() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1291,11 +1291,16 @@ public BrowseParamsObject addAlternativesAsExact(AlternativesAsExact alternative
}

/**
* Alternatives of query words that should be considered as exact matches by the Exact ranking
* criterion. - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals`
* setting are considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as
* \"NY/NYC\" are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY/New York\" are considered exact matches.
* Determine which plurals and synonyms should be considered an exact matches. By default, Algolia
* treats singular and plural forms of a word, and single-word synonyms, as
* [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact)
* matches when searching. For example: - \"swimsuit\" and \"swimsuits\" are treated the same -
* \"swimsuit\" and \"swimwear\" are treated the same (if they are
* [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).
* - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals` setting are
* considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as \"NY\" =
* \"NYC\", are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY\" = \"New York\", are considered exact matches.
*/
@javax.annotation.Nullable
public List<AlternativesAsExact> getAlternativesAsExact() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1282,11 +1282,16 @@ public ConsequenceParams addAlternativesAsExact(AlternativesAsExact alternatives
}

/**
* Alternatives of query words that should be considered as exact matches by the Exact ranking
* criterion. - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals`
* setting are considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as
* \"NY/NYC\" are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY/New York\" are considered exact matches.
* Determine which plurals and synonyms should be considered an exact matches. By default, Algolia
* treats singular and plural forms of a word, and single-word synonyms, as
* [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact)
* matches when searching. For example: - \"swimsuit\" and \"swimsuits\" are treated the same -
* \"swimsuit\" and \"swimwear\" are treated the same (if they are
* [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).
* - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals` setting are
* considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as \"NY\" =
* \"NYC\", are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY\" = \"New York\", are considered exact matches.
*/
@javax.annotation.Nullable
public List<AlternativesAsExact> getAlternativesAsExact() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1132,11 +1132,16 @@ public IndexSettings addAlternativesAsExact(AlternativesAsExact alternativesAsEx
}

/**
* Alternatives of query words that should be considered as exact matches by the Exact ranking
* criterion. - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals`
* setting are considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as
* \"NY/NYC\" are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY/New York\" are considered exact matches.
* Determine which plurals and synonyms should be considered an exact matches. By default, Algolia
* treats singular and plural forms of a word, and single-word synonyms, as
* [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact)
* matches when searching. For example: - \"swimsuit\" and \"swimsuits\" are treated the same -
* \"swimsuit\" and \"swimwear\" are treated the same (if they are
* [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).
* - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals` setting are
* considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as \"NY\" =
* \"NYC\", are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY\" = \"New York\", are considered exact matches.
*/
@javax.annotation.Nullable
public List<AlternativesAsExact> getAlternativesAsExact() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1314,11 +1314,16 @@ public SearchForFacets addAlternativesAsExact(AlternativesAsExact alternativesAs
}

/**
* Alternatives of query words that should be considered as exact matches by the Exact ranking
* criterion. - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals`
* setting are considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as
* \"NY/NYC\" are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY/New York\" are considered exact matches.
* Determine which plurals and synonyms should be considered an exact matches. By default, Algolia
* treats singular and plural forms of a word, and single-word synonyms, as
* [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact)
* matches when searching. For example: - \"swimsuit\" and \"swimsuits\" are treated the same -
* \"swimsuit\" and \"swimwear\" are treated the same (if they are
* [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).
* - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals` setting are
* considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as \"NY\" =
* \"NYC\", are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY\" = \"New York\", are considered exact matches.
*/
@javax.annotation.Nullable
public List<AlternativesAsExact> getAlternativesAsExact() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1308,11 +1308,16 @@ public SearchForHits addAlternativesAsExact(AlternativesAsExact alternativesAsEx
}

/**
* Alternatives of query words that should be considered as exact matches by the Exact ranking
* criterion. - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals`
* setting are considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as
* \"NY/NYC\" are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY/New York\" are considered exact matches.
* Determine which plurals and synonyms should be considered an exact matches. By default, Algolia
* treats singular and plural forms of a word, and single-word synonyms, as
* [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact)
* matches when searching. For example: - \"swimsuit\" and \"swimsuits\" are treated the same -
* \"swimsuit\" and \"swimwear\" are treated the same (if they are
* [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).
* - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals` setting are
* considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as \"NY\" =
* \"NYC\", are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY\" = \"New York\", are considered exact matches.
*/
@javax.annotation.Nullable
public List<AlternativesAsExact> getAlternativesAsExact() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1288,11 +1288,16 @@ public SearchParamsObject addAlternativesAsExact(AlternativesAsExact alternative
}

/**
* Alternatives of query words that should be considered as exact matches by the Exact ranking
* criterion. - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals`
* setting are considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as
* \"NY/NYC\" are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY/New York\" are considered exact matches.
* Determine which plurals and synonyms should be considered an exact matches. By default, Algolia
* treats singular and plural forms of a word, and single-word synonyms, as
* [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact)
* matches when searching. For example: - \"swimsuit\" and \"swimsuits\" are treated the same -
* \"swimsuit\" and \"swimwear\" are treated the same (if they are
* [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).
* - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals` setting are
* considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as \"NY\" =
* \"NYC\", are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY\" = \"New York\", are considered exact matches.
*/
@javax.annotation.Nullable
public List<AlternativesAsExact> getAlternativesAsExact() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1135,11 +1135,16 @@ public SettingsResponse addAlternativesAsExact(AlternativesAsExact alternativesA
}

/**
* Alternatives of query words that should be considered as exact matches by the Exact ranking
* criterion. - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals`
* setting are considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as
* \"NY/NYC\" are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY/New York\" are considered exact matches.
* Determine which plurals and synonyms should be considered an exact matches. By default, Algolia
* treats singular and plural forms of a word, and single-word synonyms, as
* [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact)
* matches when searching. For example: - \"swimsuit\" and \"swimsuits\" are treated the same -
* \"swimsuit\" and \"swimwear\" are treated the same (if they are
* [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).
* - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals` setting are
* considered exact matches. - `singleWordSynonym`. Single-word synonyms, such as \"NY\" =
* \"NYC\", are considered exact matches. - `multiWordsSynonym`. Multi-word synonyms, such as
* \"NY\" = \"New York\", are considered exact matches.
*/
@javax.annotation.Nullable
public List<AlternativesAsExact> getAlternativesAsExact() {
Expand Down

0 comments on commit 8a7b0a7

Please sign in to comment.