Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortatiana-yan <tatiana.kondakova@gmail.com>2019-04-23 16:23:46 +0300
committermpimenov <mpimenov@users.noreply.github.com>2019-04-23 19:05:04 +0300
commitad0bca72b5f0adad982fffee1b5bf7e75d87f439 (patch)
tree869c9d372085f1c829e5746e52c6bcf522b94efd /search/ranker.cpp
parente77592b68e345c8cec11324be0c03c1b5a8df6bb (diff)
[search] Heuristics for rating.
Diffstat (limited to 'search/ranker.cpp')
-rw-r--r--search/ranker.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/search/ranker.cpp b/search/ranker.cpp
index 8a1c3fada5..2e5bb0fd73 100644
--- a/search/ranker.cpp
+++ b/search/ranker.cpp
@@ -298,6 +298,7 @@ class RankerResultMaker
info.m_distanceToPivot = MercatorBounds::DistanceOnEarth(center, pivot);
info.m_rank = preInfo.m_rank;
info.m_popularity = preInfo.m_popularity;
+ info.m_rating = preInfo.m_rating;
info.m_type = preInfo.m_type;
info.m_allTokensUsed = preInfo.m_allTokensUsed;
info.m_categorialRequest = m_params.IsCategorialRequest();