summaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchcommon/attribute/iattributevector.h
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2023-10-30 20:16:56 +0100
committerGitHub <noreply@github.com>2023-10-30 20:16:56 +0100
commit31ebd909589a19235d912feff443e46ac9a068f1 (patch)
tree2bb1587ea797477b5453266037c90123ca2a6579 /searchlib/src/vespa/searchcommon/attribute/iattributevector.h
parent4bd554338d34e4c4884b7314ab7b06f5f061aa46 (diff)
parentec13a0f724937be9df01896f3b7ef52071fb2a4c (diff)
Merge pull request #29157 from vespa-engine/toregge/add-attribute-tokens-dfw
Add attribute tokens dfw.
Diffstat (limited to 'searchlib/src/vespa/searchcommon/attribute/iattributevector.h')
-rw-r--r--searchlib/src/vespa/searchcommon/attribute/iattributevector.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchcommon/attribute/iattributevector.h b/searchlib/src/vespa/searchcommon/attribute/iattributevector.h
index d613bf61a16..b44b6a4baf2 100644
--- a/searchlib/src/vespa/searchcommon/attribute/iattributevector.h
+++ b/searchlib/src/vespa/searchcommon/attribute/iattributevector.h
@@ -419,6 +419,13 @@ public:
*/
virtual bool isImported() const = 0;
+ /*
+ * Returns whether the match setting for the attribute is uncased.
+ * This is only relevant for string attributes (i.e. when isStringType()
+ * returns true). The default for string attributes is uncased matching.
+ */
+ virtual bool has_uncased_matching() const noexcept { return true; }
+
/**
* Will serialize the values for the documentid in ascending order. The serialized form can be used by memcmp and
* sortorder will be preserved.