aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/matching/partial_result.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/matching/partial_result.cpp')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/partial_result.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/partial_result.cpp b/searchcore/src/vespa/searchcore/proton/matching/partial_result.cpp
index 6ae97a125ad..432752d69d0 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/partial_result.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/partial_result.cpp
@@ -7,10 +7,10 @@ namespace proton::matching {
namespace {
bool before(const search::RankedHit &a, const search::RankedHit &b) {
- if (a._rankValue != b._rankValue) {
- return (a._rankValue > b._rankValue);
+ if (a.getRank() != b.getRank()) {
+ return (a.getRank() > b.getRank());
}
- return (a._docId < b._docId);
+ return (a.getDocId() < b.getDocId());
}
void mergeHits(size_t maxHits,