1.0.0 (latest) 0.3.0 0.2.3

    QueryOptions(
        num_leaves_to_search: typing.Optional[int] = None,
        num_neighbors: int = 10,
        distance_measure: langchain_google_cloud_sql_mysql.indexes.DistanceMeasure = DistanceMeasure.L2_SQUARED,
        search_type: langchain_google_cloud_sql_mysql.indexes.SearchType = SearchType.KNN,
    )

Holds configuration options for executing a search query.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `num_leaves_to_search :noindex:` | `Optional[int]` The number of leaves to search in an ANN query. None means default. |
| `num_neighbors :noindex:` | `int` The number of nearest neighbors to retrieve. Default to 10. |
| `distance_measure :noindex:` | `DistanceMeasure` The distance measure to use. Defaults to L2_SQUARED. |
| `search_type :noindex:` | `SearchType` The type of search algorithm to use. Defaults to KNN. |