summaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/query/streaming/in_term.h
blob: 7b388b3f6e6f7a583eb8eeab111b405df560691e (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

#include "multi_term.h"

namespace search::streaming {

/*
 * Representation of YQL in operator for streaming search.
 */
class InTerm : public MultiTerm {
public:
    InTerm(std::unique_ptr<QueryNodeResultBase> result_base, const string& index,
           std::unique_ptr<query::TermVector> terms, Normalizing normalize_mode);
    ~InTerm() override;
    void unpack_match_data(uint32_t docid, const fef::ITermData& td, fef::MatchData& match_data) override;
};

}