summaryrefslogtreecommitdiffstats
path: root/searchcommon
diff options
context:
space:
mode:
Diffstat (limited to 'searchcommon')
-rw-r--r--searchcommon/src/vespa/searchcommon/attribute/iattributevector.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/searchcommon/src/vespa/searchcommon/attribute/iattributevector.h b/searchcommon/src/vespa/searchcommon/attribute/iattributevector.h
index 26322e78480..22e2e46c1e4 100644
--- a/searchcommon/src/vespa/searchcommon/attribute/iattributevector.h
+++ b/searchcommon/src/vespa/searchcommon/attribute/iattributevector.h
@@ -353,6 +353,27 @@ public:
virtual bool hasEnum() const = 0;
/**
+ * Returns whether the attribute vector is a filter attribute.
+ *
+ * @return true if attribute vector is a filter attribute.
+ */
+ virtual bool getIsFilter() const = 0;
+
+ /**
+ * Returns whether the attribute vector is marked as fast search.
+ *
+ * @return true if attribute vector is marked as fast search.
+ */
+ virtual bool getIsFastSearch() const = 0;
+
+ /*
+ * Returns the committed docid limit for the attribute.
+ *
+ * @return committed docid limit for the attribute.
+ */
+ virtual uint32_t getCommittedDocIdLimitSlow() const = 0;
+
+ /**
* Will serialize the values for the documentid in ascending order. The serialized form can be used by memcmp and
* sortorder will be preserved.
* @param doc The document id to serialize for.