query: gather related ids from mset, not match-decider

Since we only want the (smaller) set from the mset, not the (full) set
that the match-decider sees.
This commit is contained in:
Dirk-Jan C. Binnema
2021-06-04 00:44:28 +03:00
parent 212641669e
commit 047c10453a
2 changed files with 17 additions and 3 deletions

View File

@ -140,8 +140,8 @@ struct MatchDeciderLeader final: public MatchDecider {
it.first->second.flags |= QueryMatch::Flags::Leader;
if (should_include(it.first->second)) {
if (any_of(qflags_ & QueryFlags::GatherThreadIds))
gather_thread_ids(doc);
// if (any_of(qflags_ & QueryFlags::GatherThreadIds))
// gather_thread_ids(doc);
return true;
}
return false;