diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-05-15 00:40:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-15 00:40:43 +0200 |
commit | dacf557add1c6a3ffab036cdf2f7dfdf9750b22e (patch) | |
tree | 3a9dfff58b98898e2e28c0337925f4f04e5eaeb0 /streamingvisitors/src/vespa/vsm/searcher/futf8strchrfieldsearcher.h | |
parent | 2722ce9d1d1ec12d57ebd3833ce37b0958afb752 (diff) |
Revert "Collapse vsm into streamingvisitors"
Diffstat (limited to 'streamingvisitors/src/vespa/vsm/searcher/futf8strchrfieldsearcher.h')
-rw-r--r-- | streamingvisitors/src/vespa/vsm/searcher/futf8strchrfieldsearcher.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/streamingvisitors/src/vespa/vsm/searcher/futf8strchrfieldsearcher.h b/streamingvisitors/src/vespa/vsm/searcher/futf8strchrfieldsearcher.h deleted file mode 100644 index 900ab4c9120..00000000000 --- a/streamingvisitors/src/vespa/vsm/searcher/futf8strchrfieldsearcher.h +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#pragma once - -#include "utf8strchrfieldsearcher.h" - -namespace vsm { - -class FUTF8StrChrFieldSearcher : public UTF8StrChrFieldSearcher -{ -public: - std::unique_ptr<FieldSearcher> duplicate() const override; - FUTF8StrChrFieldSearcher(); - FUTF8StrChrFieldSearcher(FieldIdT fId); - ~FUTF8StrChrFieldSearcher(); - static bool ansiFold(const char * toFold, size_t sz, char * folded); - static bool lfoldaa(const char * toFold, size_t sz, char * folded, size_t & unalignedStart); - static bool lfoldua(const char * toFold, size_t sz, char * folded, size_t & alignedStart); - private: - size_t matchTerm(const FieldRef & f, search::streaming::QueryTerm & qt) override; - size_t matchTerms(const FieldRef&, const size_t shortestTerm) override; - virtual size_t match(const char *folded, size_t sz, search::streaming::QueryTerm & qt); - size_t match(const char *folded, size_t sz, size_t mintsz, search::streaming::QueryTerm ** qtl, size_t qtlSize); - std::vector<char> _folded; -}; - -} |