diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-04-27 13:15:41 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-04-27 13:15:41 +0000 |
commit | c72ba4246cb35505f585714b5cba823992efb9ae (patch) | |
tree | 9ed055a4e0480cb927102d33ad0208bc5fd6dd1c /searchlib | |
parent | 7ed0c4407e8e650f367cd73837d1040191993d5e (diff) |
Actually return the value.
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/attribute/postinglistsearchcontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/postinglistsearchcontext.h b/searchlib/src/vespa/searchlib/attribute/postinglistsearchcontext.h index dbb0814dad1..3b21686a5bb 100644 --- a/searchlib/src/vespa/searchlib/attribute/postinglistsearchcontext.h +++ b/searchlib/src/vespa/searchlib/attribute/postinglistsearchcontext.h @@ -294,7 +294,7 @@ template <typename BaseSC, typename AttrT, typename DataT> bool StringPostingSearchContext<BaseSC, AttrT, DataT>::useThis(const PostingListSearchContext::DictionaryConstIterator & it) const { if ( this->isCased() ) { - this->isMatch(_enumStore.get_value(it.getKey())); + return this->isMatch(_enumStore.get_value(it.getKey())); } else if ( this->isRegex() ) { return this->getRegex().valid() ? this->getRegex().partial_match(_enumStore.get_value(it.getKey())) |