summaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/memoryindex/push_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/vespa/searchlib/memoryindex/push_context.h')
-rw-r--r--searchlib/src/vespa/searchlib/memoryindex/push_context.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/memoryindex/push_context.h b/searchlib/src/vespa/searchlib/memoryindex/push_context.h
new file mode 100644
index 00000000000..0e96346837e
--- /dev/null
+++ b/searchlib/src/vespa/searchlib/memoryindex/push_context.h
@@ -0,0 +1,20 @@
+// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+#pragma once
+
+#include "bundled_fields_context.h"
+
+namespace search::memoryindex {
+
+/*
+ * Context for pushing inverted data to memory index structure for a set
+ * of fields and uri fields. Currently used by PushTask.
+ */
+class PushContext : public BundledFieldsContext
+{
+public:
+ PushContext(vespalib::ISequencedTaskExecutor::ExecutorId id);
+ ~PushContext();
+};
+
+}