aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/tensor/hnsw_index_type.h
blob: 35e49b274b50f469137b874348b7848e9a149fff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

namespace search::tensor {

/*
 * Enum class that selects what type of hnsw index to use.
 *
 * SINGLE: One node per document. Identity mapping between nodeid and docid.
 *
 * MULTI: Multiple nodes per document. Managed mapping between nodeid and docid.
 */
enum class HnswIndexType
{
    SINGLE,
    MULTI
};

}