aboutsummaryrefslogtreecommitdiffstats
path: root/searchcommon
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2018-04-19 15:06:15 +0000
committerTor Egge <Tor.Egge@oath.com>2018-04-20 08:48:48 +0000
commit834ea7c148b0595a11189bc7450ebb63483cbef6 (patch)
tree47aa4b0ab5322fd5d37536d8d112d5ec12fbc16d /searchcommon
parente3f7a936e403748ebb24d83490886b65bcd81ac7 (diff)
Change target attribute type in ImportedAttributeVector to
ReadableAttributeVector.
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.