Merge pull request #4660 from ygorshenin/fix-hotels-classifier

[search] Decreased threshold for hotels.
This commit is contained in:
Илья Гречухин 2016-11-05 17:09:06 +03:00 committed by GitHub
commit d9d89de7f4

View file

@ -25,7 +25,7 @@ bool HotelsClassifier::IsHotelResults() const
{
// Threshold used to activate hotels mode. Probably is too strict,
// but we don't have statistics now.
double const kThreshold = 0.95;
double const kThreshold = 0.75;
return m_numResults == 0 ? false : m_numHotels >= kThreshold * m_numResults;
}