Skip to content

Commit 29b2493

Browse files
committed
update docarray
1 parent b75ffbe commit 29b2493

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"mappings": {
3+
"dynamic": false,
4+
"fields": {
5+
"text": [
6+
{
7+
"type": "string"
8+
}
9+
]
10+
}
11+
},
12+
"name": "text_index",
13+
"type": "search",
14+
"database": "docarray_test_db",
15+
"collectionName": "bespoke_name"
16+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"fields": [
3+
{
4+
"numDimensions": 10,
5+
"path": "embedding",
6+
"similarity": "cosine",
7+
"type": "vector"
8+
},
9+
{
10+
"path": "number",
11+
"type": "filter"
12+
},
13+
{
14+
"path": "text",
15+
"type": "filter"
16+
}
17+
],
18+
"name": "vector_index",
19+
"type": "vectorSearch",
20+
"database": "docarray_test_db",
21+
"collectionName": "bespoke_name"
22+
}
23+

0 commit comments

Comments
 (0)