diff options
Diffstat (limited to 'searchlib/src/vespa/searchcommon/attribute/iattributevector.h')
-rw-r--r-- | searchlib/src/vespa/searchcommon/attribute/iattributevector.h | 7 |
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. |