File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
src/services/code-index/vector-store Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -155,12 +155,12 @@ export class QdrantVectorStore implements IVectorStore {
155155 vectors : {
156156 size : this . vectorSize ,
157157 distance : this . DISTANCE_METRIC ,
158- on_disk : true , // Store vectors on disk for low memory usage
158+ on_disk : true ,
159159 } ,
160160 hnsw_config : {
161- m : 64 , // Increased for better precision
162- ef_construct : 512 , // Increased for better precision during index construction
163- on_disk : true , // Store HNSW index on disk for low memory usage
161+ m : 64 ,
162+ ef_construct : 512 ,
163+ on_disk : true ,
164164 } ,
165165 } )
166166 created = true
@@ -250,12 +250,12 @@ export class QdrantVectorStore implements IVectorStore {
250250 vectors : {
251251 size : this . vectorSize ,
252252 distance : this . DISTANCE_METRIC ,
253- on_disk : true , // Store vectors on disk for low memory usage
253+ on_disk : true ,
254254 } ,
255255 hnsw_config : {
256- m : 64 , // Increased for better precision
257- ef_construct : 512 , // Increased for better precision during index construction
258- on_disk : true , // Store HNSW index on disk for low memory usage
256+ m : 64 ,
257+ ef_construct : 512 ,
258+ on_disk : true ,
259259 } ,
260260 } )
261261 console . log ( `[QdrantVectorStore] Successfully created new collection ${ this . collectionName } ` )
You can’t perform that action at this time.
0 commit comments