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

#pragma once

#include "query_term_simple.h"
#include <vespa/vespalib/stllike/string.h>

namespace search {

/**
 * Class used to decode a single term.
 */
struct QueryTermDecoder {
    using QueryPacketT = vespalib::stringref;

    static QueryTermSimple::UP decodeTerm(QueryPacketT term);
};

}