blob: b4a10059870c72b245df86e9e8560821181693c8 (
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 Yahoo. 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);
};
}
|