aboutsummaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/vespa/vsm/searcher
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-12-29 22:04:19 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-12-29 22:04:19 +0000
commit89e594cd35cc7c86f0aa7178896727f3982793bf (patch)
treeee2576a56517747a1bd1e9feacc676c0f24fa5d9 /streamingvisitors/src/vespa/vsm/searcher
parent05dda3b487493495bb99aa149673e6b92d842aa5 (diff)
- Avoid inefficient generic template.
- Add explicit implementations for the types needed.
Diffstat (limited to 'streamingvisitors/src/vespa/vsm/searcher')
-rw-r--r--streamingvisitors/src/vespa/vsm/searcher/floatfieldsearcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/streamingvisitors/src/vespa/vsm/searcher/floatfieldsearcher.cpp b/streamingvisitors/src/vespa/vsm/searcher/floatfieldsearcher.cpp
index 7dd40348f47..8558522003f 100644
--- a/streamingvisitors/src/vespa/vsm/searcher/floatfieldsearcher.cpp
+++ b/streamingvisitors/src/vespa/vsm/searcher/floatfieldsearcher.cpp
@@ -37,7 +37,7 @@ void FloatFieldSearcherT<T>::prepare(search::streaming::QueryTermList& qtl,
_floatTerm.clear();
FieldSearcher::prepare(qtl, buf, field_paths, query_env);
for (auto qt : qtl) {
- size_t sz(qt->termLen());
+ size_t sz(qt->termLen());
if (sz) {
auto range = qt->getRange<T>();
_floatTerm.emplace_back(range.low, range.high, range.valid);