aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/index/postinglisthandle.cpp
blob: c8cccd89207162ce71200ba2263633a6d58908bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "postinglisthandle.h"
#include "postinglistfile.h"
#include <vespa/searchlib/queryeval/searchiterator.h>

namespace search::index {

std::unique_ptr<search::queryeval::SearchIterator>
PostingListHandle::createIterator(const PostingListCounts &counts,
                                  const search::fef::TermFieldMatchDataArray &matchData,
                                  bool useBitVector) const
{
    return _file->createIterator(counts, *this, matchData, useBitVector);
}

}