Class IVFFlatIndex (0.14.1)
Stay organized with collections
Save and categorize content based on your preferences.
IVFFlatIndex(name: Optional[str] = None, index_type: str = 'ivfflat', distance_strategy: langchain_google_cloud_sql_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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class IVFFlatIndex (0.14.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.14.1 (latest)](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes.IVFFlatIndex)\n- [0.14.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.14.0/langchain_google_cloud_sql_pg.indexes.IVFFlatIndex)\n- [0.13.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.13.0/langchain_google_cloud_sql_pg.indexes.IVFFlatIndex)\n- [0.12.1](/python/docs/reference/langchain-google-cloud-sql-pg/0.12.1/langchain_google_cloud_sql_pg.indexes.IVFFlatIndex)\n- [0.11.1](/python/docs/reference/langchain-google-cloud-sql-pg/0.11.1/langchain_google_cloud_sql_pg.indexes.IVFFlatIndex)\n- [0.10.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.10.0/langchain_google_cloud_sql_pg.indexes.IVFFlatIndex)\n- [0.9.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.9.0/langchain_google_cloud_sql_pg.indexes.IVFFlatIndex)\n- [0.8.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.8.0/langchain_google_cloud_sql_pg.indexes.IVFFlatIndex)\n- [0.7.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.7.0/langchain_google_cloud_sql_pg.indexes.IVFFlatIndex)\n- [0.6.1](/python/docs/reference/langchain-google-cloud-sql-pg/0.6.1/langchain_google_cloud_sql_pg.indexes.IVFFlatIndex)\n- [0.5.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.5.0/langchain_google_cloud_sql_pg.indexes.IVFFlatIndex)\n- [0.4.1](/python/docs/reference/langchain-google-cloud-sql-pg/0.4.1/langchain_google_cloud_sql_pg.indexes.IVFFlatIndex) \n\n IVFFlatIndex(name: Optional[str] = None, index_type: str = 'ivfflat', distance_strategy: langchain_google_cloud_sql_pg.indexes.DistanceStrategy = \u003cfactory\u003e, partial_indexes: Optional[list[str]] = None, lists: int = 100)\n\nIVFFlatIndex(name: Optional\\[str\\] = None, index_type: str = 'ivfflat', distance_strategy: [langchain_google_cloud_sql_pg.indexes.DistanceStrategy](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_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."]]