summaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/memoryindex/invert_context.cpp
blob: fd58cb6595ee493c59c64093b05b513f56e85a10 (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.

#include "invert_context.h"

namespace search::memoryindex {

InvertContext::InvertContext(vespalib::ISequencedTaskExecutor::ExecutorId id)
    : BundledFieldsContext(id),
      _pushers()
{
}

InvertContext::~InvertContext() = default;

void
InvertContext::add_pusher(uint32_t pusher_id)
{
    _pushers.emplace_back(pusher_id);
}

}