aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-05-13 12:08:44 +0000
committerArne Juul <arnej@verizonmedia.com>2020-05-13 12:08:44 +0000
commit433b4402498648f0f78c2eea8b38a46864420d39 (patch)
tree8d0b58c864ac3e0a32ee2136032e0f988b5fd187 /searchlib
parent666512148e0c7a05ceb2de1ec471400fb719534a (diff)
add class description
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/queryeval/global_filter.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/queryeval/global_filter.h b/searchlib/src/vespa/searchlib/queryeval/global_filter.h
index dfcb7687de4..b30162affa7 100644
--- a/searchlib/src/vespa/searchlib/queryeval/global_filter.h
+++ b/searchlib/src/vespa/searchlib/queryeval/global_filter.h
@@ -7,6 +7,14 @@
namespace search::queryeval {
+/**
+ * Hold ownership of a global filter that can be taken
+ * into account by adaptive query operators. The owned
+ * bitvector should be a white-list (documents that may
+ * possibly become hits have their bit set, documents
+ * that are certain to be filtered away should have theirs
+ * cleared).
+ **/
class GlobalFilter : public std::enable_shared_from_this<GlobalFilter>
{
private: