aboutsummaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/vespa/vsm/vsm/i_matching_elements_filler.h
blob: a35cea40cecef3ba46495d2db367fd808d19dcd0 (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 <memory>

namespace search {
class MatchingElements;
class MatchingElementsFields;
}

namespace vsm {

/*
 * Interface class for filling matching elements structure for
 * streaming search.
 */
class IMatchingElementsFiller {
public:
    virtual std::unique_ptr<search::MatchingElements> fill_matching_elements(const search::MatchingElementsFields& fields) = 0;
    virtual ~IMatchingElementsFiller() = default;
};
    
}