reduce importance when computed from search rank

This commit is contained in:
Sarah Hoffmann
2024-02-09 09:16:11 +01:00
parent dc1baaa0af
commit c6d40d4bf4
5 changed files with 5 additions and 5 deletions

View File

@@ -233,7 +233,7 @@ class BaseResult:
of the value or an artificial value computed from the place's
search rank.
"""
return self.importance or (0.7500001 - (self.rank_search/40.0))
return self.importance or (0.40001 - (self.rank_search/75.0))
def localize(self, locales: Locales) -> None: