aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/query/streaming/equiv_query_node.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2024-03-18 17:24:35 +0100
committerTor Egge <Tor.Egge@online.no>2024-03-18 17:24:35 +0100
commitb700eeb73d8de490cdafbc3d004ed091e71e3c9e (patch)
tree62c710558ace31723020bf73e48d917a9d95ec3f /searchlib/src/vespa/searchlib/query/streaming/equiv_query_node.cpp
parent4b5012817431e6cb91a2d19235ffa768cf6cf88f (diff)
Use multi_index_terms() returning boolean to differentiate between
multi term nodes that all searches the same index (e.g. Phrase) and multi term nodes that searches multiple indexes (e.g. Equiv, SameElement).
Diffstat (limited to 'searchlib/src/vespa/searchlib/query/streaming/equiv_query_node.cpp')
-rw-r--r--searchlib/src/vespa/searchlib/query/streaming/equiv_query_node.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/vespa/searchlib/query/streaming/equiv_query_node.cpp b/searchlib/src/vespa/searchlib/query/streaming/equiv_query_node.cpp
index 4367dc1cd69..8878c8c5cdc 100644
--- a/searchlib/src/vespa/searchlib/query/streaming/equiv_query_node.cpp
+++ b/searchlib/src/vespa/searchlib/query/streaming/equiv_query_node.cpp
@@ -81,10 +81,10 @@ EquivQueryNode::unpack_match_data(uint32_t docid, const fef::ITermData& td, fef:
unpack_match_data_helper(docid, td, match_data, hit_list, *this, is_filter(), index_env);
}
-const MultiTerm*
-EquivQueryNode::as_multi_index_multi_term() const noexcept
+bool
+EquivQueryNode::multi_index_terms() const noexcept
{
- return this;
+ return true;
}
const EquivQueryNode*