// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include #include namespace search::memoryindex { class FieldInverter; class InvertContext; class UrlFieldInverter; /* * Task to remove a document from a set of field inverters and uri * field inverters. */ class RemoveTask : public vespalib::Executor::Task { const InvertContext& _context; const std::vector>& _inverters; const std::vector>& _uri_inverters; std::vector _lids; public: RemoveTask(const InvertContext& context, const std::vector>& inverters, const std::vector>& uri_inverters, const std::vector& lids); ~RemoveTask() override; void run() override; }; }