forked from organicmaps/organicmaps
[search_quality] Do not add harmful results to not found.
This commit is contained in:
parent
96342342ba
commit
5f040a20c1
1 changed files with 2 additions and 1 deletions
|
@ -177,7 +177,8 @@ int main(int argc, char * argv[])
|
|||
for (size_t j = 0; j < goldenMatching.size(); ++j)
|
||||
{
|
||||
if (goldenMatching[j] == Matcher::kInvalidId &&
|
||||
sample.m_results[j].m_relevance != Sample::Result::Relevance::Irrelevant)
|
||||
sample.m_results[j].m_relevance != Sample::Result::Relevance::Irrelevant &&
|
||||
sample.m_results[j].m_relevance != Sample::Result::Relevance::Harmful)
|
||||
{
|
||||
s.m_notFound.push_back(j);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue