mirror of https://github.com/pelias/api.git
Browse Source
The address parser currently does two things: 1.) make some intelligent guesses as to possible admin regions to explicitly search against to improve the quality of results returned 2.) make some intelligent guesses as to when no part of the query needs to search against anything other than admin regions. This somewhat improves the quality of results returned but mostly improves the speed of the Elasticsearch query since it's searching significantly fewer recoords. These two concerns are now split into two separate methods within the query_parser helper module. They are mostly independent today, but don't have to be in the future.pull/221/head
Julian Simioni
9 years ago
6 changed files with 45 additions and 36 deletions
Loading…
Reference in new issue