Skip to content

Indexing Options

Search options are specified by PostgreSQL GUC.

Options for ivf

These options only work at ivf indexing algorithm. For ivf algorithm, refer to the indexing document.

OptionTypeRangeDefaultDescription
vectors.ivf_nprobeinteger[1, 1_000_000]10Number of lists to scan.

Options for hnsw

These options only work at hnsw indexing algorithm. For ivf algorithm, refer to the indexing document.

OptionTypeRangeDefaultDescription
vectors.hnsw_ef_searchinteger[1, 65535]100Search scope of HNSW.

Other Options

Query options for search mode:

These options only work at hnsw indexing algorithm. For search mode, refer to the [search document](../usage/search.html#Search modes).

OptionTypeRangeDefaultDescription
vectors.search_modeenum"basic", "vbase""vbase"Search mode.