blob: 7131d27a31a4ecd8128e25811d7de87b3c6832df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <cstdint>
namespace search::queryeval {
struct IDiversifier {
virtual ~IDiversifier() {}
/**
* Will tell if this document should be kept, and update state for further filtering.
*/
virtual bool accepted(uint32_t docId) = 0;
};
}
|