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

#pragma once

namespace search::fef {

/**
 * Details on which match data that should be available in a TermFieldMatchData instance.
 *
 * Normal:
 *   Full match data positions should be available. This is the default.
 *
 * Interleaved:
 *   Interleaved match data ('number of occurrences' and 'field length') should be available.
 */
enum class MatchDataDetails {
    Normal = 1,
    Interleaved = 2
};

}