Merge lp:~aacid/geonames/more_liberal_city_search into lp:geonames
Proposed by
Albert Astals Cid
Status: | Merged |
---|---|
Approved by: | Michael Terry |
Approved revision: | 27 |
Merged at revision: | 27 |
Proposed branch: | lp:~aacid/geonames/more_liberal_city_search |
Merge into: | lp:geonames |
Diff against target: |
125 lines (+64/-9) 2 files modified
src/geonames-query.c (+23/-9) tests/test-geonames.c (+41/-0) |
To merge this branch: | bzr merge lp:~aacid/geonames/more_liberal_city_search |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sebastien Bacher | Approve | ||
Review via email: mp+316102@code.launchpad.net |
Commit message
Be less strict on city search
Include matches that ignore words at the beggining (i.e. searching for Hague will return "The Hague" as result)
Description of the change
Was wondering if we wanted a new flag to GeonamesQueryFlags or making it by default less strict is ok.
To post a comment you must log in.
Thanks but as discussed on IRC that contredicts what is describe on bug #1454186 / on the design wiki, the matching should be done on full word or start of words not in subtrings in the middle of a word