Class IVFIndex (0.2.3)
IVFIndex(name: Optional[str] = None, index_type: str = 'ivf', distance_strategy: llama_index_alloydb_pg.indexes.DistanceStrategy = <factory>, partial_indexes: Optional[list[str]] = None, lists: int = 100)
Methods
index_options
Set index query options for vector store initialization.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class IVFIndex (0.2.3)\n\nVersion latestkeyboard_arrow_down\n\n- [0.2.3 (latest)](/python/docs/reference/llama-index-alloydb-pg/latest/llama_index_alloydb_pg.indexes.IVFIndex)\n- [0.2.2](/python/docs/reference/llama-index-alloydb-pg/0.2.2/llama_index_alloydb_pg.indexes.IVFIndex) \n\n IVFIndex(name: Optional[str] = None, index_type: str = 'ivf', distance_strategy: llama_index_alloydb_pg.indexes.DistanceStrategy = \u003cfactory\u003e, partial_indexes: Optional[list[str]] = None, lists: int = 100)\n\nIVFIndex(name: Optional\\[str\\] = None, index_type: str = 'ivf', distance_strategy: [llama_index_alloydb_pg.indexes.DistanceStrategy](/python/docs/reference/llama-index-alloydb-pg/latest/llama_index_alloydb_pg.indexes.DistanceStrategy) =\n\n\nMethods\n-------\n\n### index_options\n\n index_options() -\u003e str\n\nSet index query options for vector store initialization."]]