Skip to content

Search Options

Search options are specified by PostgreSQL GUC.

Options for ivf

These options only work for IVF algorithm. Refer to Indexing.

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

Options for hnsw

These options only work for HNSW algorithm. Refer to Indexing.

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

Other Options

Query options for search mode: Refer to the Search.

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