blob: 5f6a9e7f73d0f3143aae1431727bafbc554791ea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema test {
document test {
field t1 type tensor(x[128]) {
indexing: attribute | index
attribute {
distance-metric: prenormalized-angular
}
index {
hnsw {
max-links-per-node: 32
neighbors-to-explore-at-insert: 300
multi-threaded-indexing: false
}
}
}
field t2 type tensor(x[2]) {
indexing: attribute
attribute {
distance-metric: geodegrees
}
}
}
}
|