diff options
author | Arne Juul <arnej@yahoo-inc.com> | 2019-01-08 14:05:45 +0000 |
---|---|---|
committer | Arne Juul <arnej@yahoo-inc.com> | 2019-01-08 14:05:45 +0000 |
commit | 645c633d60fc056f058f9b68fe3fb517537b4606 (patch) | |
tree | 8d7715a72d994ec8f4590ca57a200cf951bbca5c | |
parent | bafc19bf1b7cf39b2c1293949de648b53ebd460c (diff) |
fix "less" comparator to return false for equal values
-rw-r--r-- | searchlib/src/vespa/searchlib/fef/termfieldmatchdataposition.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/fef/termfieldmatchdataposition.h b/searchlib/src/vespa/searchlib/fef/termfieldmatchdataposition.h index 46e4379c5b2..2ec17385f83 100644 --- a/searchlib/src/vespa/searchlib/fef/termfieldmatchdataposition.h +++ b/searchlib/src/vespa/searchlib/fef/termfieldmatchdataposition.h @@ -74,7 +74,7 @@ public: { if (a < b) return true; if (b < a) return false; - return a._matchExactness >= b._matchExactness; + return a._matchExactness > b._matchExactness; } TermFieldMatchDataPosition(uint32_t elementId, |