aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/query/streaming/same_element_query_node.h
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/same_element_query_node.h
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/same_element_query_node.h')
-rw-r--r--searchlib/src/vespa/searchlib/query/streaming/same_element_query_node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/query/streaming/same_element_query_node.h b/searchlib/src/vespa/searchlib/query/streaming/same_element_query_node.h
index 8955071ba4a..37fb3dbba52 100644
--- a/searchlib/src/vespa/searchlib/query/streaming/same_element_query_node.h
+++ b/searchlib/src/vespa/searchlib/query/streaming/same_element_query_node.h
@@ -17,7 +17,7 @@ public:
bool evaluate() const override;
const HitList & evaluateHits(HitList & hl) const override;
void unpack_match_data(uint32_t docid, const fef::ITermData& td, fef::MatchData& match_data, const fef::IIndexEnvironment& index_env) override;
- const MultiTerm* as_multi_index_multi_term() const noexcept override;
+ bool multi_index_terms() const noexcept override;
};
}