summaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/vespa/vsm/searcher/utf8exactstringfieldsearcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'streamingvisitors/src/vespa/vsm/searcher/utf8exactstringfieldsearcher.cpp')
-rw-r--r--streamingvisitors/src/vespa/vsm/searcher/utf8exactstringfieldsearcher.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/streamingvisitors/src/vespa/vsm/searcher/utf8exactstringfieldsearcher.cpp b/streamingvisitors/src/vespa/vsm/searcher/utf8exactstringfieldsearcher.cpp
index 724efb54331..70cef08428a 100644
--- a/streamingvisitors/src/vespa/vsm/searcher/utf8exactstringfieldsearcher.cpp
+++ b/streamingvisitors/src/vespa/vsm/searcher/utf8exactstringfieldsearcher.cpp
@@ -7,6 +7,13 @@ using search::streaming::QueryTermList;
namespace vsm {
+UTF8ExactStringFieldSearcher::UTF8ExactStringFieldSearcher(FieldIdT fId)
+ : UTF8StringFieldSearcherBase(fId)
+{
+ match_type(EXACT);
+ normalize_mode(Normalizing::LOWERCASE);
+}
+
std::unique_ptr<FieldSearcher>
UTF8ExactStringFieldSearcher::duplicate() const
{
@@ -14,7 +21,7 @@ UTF8ExactStringFieldSearcher::duplicate() const
}
size_t
-UTF8ExactStringFieldSearcher::matchTerms(const FieldRef & f, const size_t mintsz)
+UTF8ExactStringFieldSearcher::matchTerms(const FieldRef & f, size_t mintsz)
{
(void) mintsz;
for (auto qt : _qtl) {