Skip to content

Commit 1b6ab34

Browse files
committed
chore: remove change-description comments from Qdrant configuration
Remove inline comments that describe what was changed/increased/added as they pollute the codebase. The configuration values remain unchanged.
1 parent 5c5a3b8 commit 1b6ab34

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/services/code-index/vector-store/qdrant-client.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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}`)

0 commit comments

Comments
 (0)