summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/hnsw_index/test.sd
blob: 82291be97475c5101f9d1840ef309435109b16f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
search test {
  document test {
    field t1 type tensor(x[128]) {
      indexing: attribute | index
      attribute {
        distance-metric: angular
      }
      index {
        hnsw {
          max-links-per-node: 32
          neighbors-to-explore-at-insert: 300
        }
      }
    }
    field t2 type tensor(x[2]) {
      indexing: attribute
      attribute {
        distance-metric: geodegrees
      }
    }
  }
}