blob: de03e5751c9752aadc09a27feec6332a256dc6cb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/vespalib/stllike/string.h>
namespace search::memoryindex {
/**
* Interface used to track which {word, docId} pairs that are removed from a FieldIndex.
*/
class IFieldIndexRemoveListener {
public:
virtual ~IFieldIndexRemoveListener() {}
/**
* Called when a {word, docId} tuple is removed from the field index.
*/
virtual void remove(const vespalib::stringref word, uint32_t docId) = 0;
};
}
|