tpp icon indicating copy to clipboard operation
tpp copied to clipboard

[Nominatim] Efficient Auto-complete and search function

Open glaand opened this issue 6 years ago • 1 comments

How can we improve efficiently our Auto-complete and search function?

How should we rank the results? Street names first than Public locations?

Should we track the user's location to rank the results based on nearness?

glaand avatar Apr 26 '18 20:04 glaand

The search results will be sorted: RPA (Reference Population Algorithm) If geolocalization is allowed by user: - Order by distance ASC. If geolocalization is not allowed by user: - Order by population of the correspondent municipality DSC.

[From +/- 20 thousand different searches performed] Having a milestone defined to use the statistical data for ordering the results list, we propose the following algorithm:

  • The Switch between items where the number of clicks favors the position.
  • The Switch occurs between two adjacent items, keeping the order of the list by algorithm (RPA).
  • To discuss sorting by geolocalization/distance []

glaand avatar May 11 '18 12:05 glaand