blob: c50c700955232c97381241936fdcedba73bb741e (
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.
#pragma once
#include "uri_field.h"
namespace search::index {
/**
* Fields from an index schema to be used for indexing
**/
class SchemaIndexFields {
public:
using FieldIdVector = std::vector<uint32_t>;
using UriFieldIdVector = std::vector<UriField>;
FieldIdVector _textFields;
UriFieldIdVector _uriFields;
SchemaIndexFields();
~SchemaIndexFields();
void setup(const Schema &schema);
};
}
|