Skip to content

Commit

Permalink
chore: generated code for commit 82eb4fa2. [skip ci]
Browse files Browse the repository at this point in the history
algolia/api-clients-automation@82eb4fa

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Pierre Millot <[email protected]>
  • Loading branch information
algolia-bot and millotp committed Mar 18, 2024
1 parent 8ae2d30 commit 09d48ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions algoliasearch/query_suggestions/models/source_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class SourceIndex(BaseModel):
)
replicas: Optional[StrictBool] = Field(
default=False,
description="If true, Query Suggestions uses all replicas of the primary index to find popular searches. If false, only the primary index is used. ",
description="If true, Query Suggestions uses all replicas of the primary index to find popular searches. If false, only the primary index is used. ",
)
analytics_tags: Optional[List[StrictStr]] = Field(
default=None,
Expand All @@ -45,7 +45,7 @@ class SourceIndex(BaseModel):
description="Minimum letters required to be included as a suggestion. A search query must be at least `minLetters` long to be included in the Query Suggestions index. ",
alias="minLetters",
)
generate: Optional[List[Optional[List[StrictStr]]]] = None
generate: Optional[List[List[StrictStr]]] = None
external: Optional[List[StrictStr]] = Field(
default=None,
description="Algolia indices with popular searches to use as query suggestions. Records of these indices must have these attributes: - `query`: search query which will be added as a suggestion - `count`: measure of popularity of that search query For example, you can export popular searches from an external analytics tool, such as Google Analytics or Adobe Analytics, and feed this data into an external Algolia index. You can use this external index to generate query suggestions until your Algolia analytics has collected enough data. ",
Expand Down

0 comments on commit 09d48ca

Please sign in to comment.