Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7484625

Browse files
committed
Added comments [skip ci]
1 parentd1ebb8d commit7484625

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

‎src/hnsw.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ HnswInit(void)
8282
NULL,&hnsw_iterative_search,
8383
HNSW_ITERATIVE_SEARCH_OFF,hnsw_iterative_search_options,PGC_USERSET,0,NULL,NULL,NULL);
8484

85+
/* This is approximate and does not apply to the initial scan */
8586
DefineCustomIntVariable("hnsw.max_search_tuples","Sets the max number of candidates to visit for iterative search",
8687
"-1 means no limit",&hnsw_max_search_tuples,
8788
-1,-1,INT_MAX,PGC_USERSET,0,NULL,NULL,NULL);

‎src/ivfflat.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ IvfflatInit(void)
4545
NULL,&ivfflat_iterative_search,
4646
IVFFLAT_ITERATIVE_SEARCH_OFF,ivfflat_iterative_search_options,PGC_USERSET,0,NULL,NULL,NULL);
4747

48+
/* If this is less than probes, probes is used */
4849
DefineCustomIntVariable("ivfflat.max_probes","Sets the max number of probes for iterative search",
4950
"-1 means no limit",&ivfflat_max_probes,
5051
-1,-1,IVFFLAT_MAX_LISTS,PGC_USERSET,0,NULL,NULL,NULL);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp