We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 402dfc0 commit c9a237eCopy full SHA for c9a237e
ingestion/src/queries/createIndex.cy
@@ -0,0 +1,16 @@
1
+DROP INDEX `nameEmbeddings`;
2
+DROP INDEX `codeEmbeddings`;
3
+
4
+CREATE VECTOR INDEX `nameEmbeddings`
5
+FOR (n: Node) ON (n.nameEmbeddings)
6
+OPTIONS {indexConfig: {
7
+ `vector.dimensions`: 768,
8
+ `vector.similarity_function`: 'COSINE'
9
+}};
10
11
+CREATE VECTOR INDEX `codeEmbeddings`
12
+FOR (n: Node) ON (n.codeEmbeddings)
13
14
15
16
0 commit comments