Merge lp:~aacid/geonames/more_liberal_city_search into lp:geonames
Proposed by
Albert Astals Cid
on 2017-02-01
| Status: | Merged |
|---|---|
| Approved by: | Michael Terry on 2017-02-16 |
| 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 | 2017-02-01 | Approve on 2017-02-15 | |
|
Review via email:
|
|||
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.
lp:~aacid/geonames/more_liberal_city_search
updated
on 2017-02-01
- 27. By Albert Astals Cid on 2017-02-01
-
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)
| Albert Astals Cid (aacid) wrote : | # |
> 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
Ok, changed to only "ignore" words at the beginning.

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