Merge lp://staging/~martin-borho/ubuntu-geonames/wildcard-and-geopoint-searches into lp://staging/ubuntu-geonames

Proposed by Martin Borho
Status: Needs review
Proposed branch: lp://staging/~martin-borho/ubuntu-geonames/wildcard-and-geopoint-searches
Merge into: lp://staging/ubuntu-geonames
Diff against target: 329 lines (+225/-48)
2 files modified
geoname-modpython.py (+204/-45)
sphinx.conf (+21/-3)
To merge this branch: bzr merge lp://staging/~martin-borho/ubuntu-geonames/wildcard-and-geopoint-searches
Reviewer Review Type Date Requested Status
Alan Pope 🍺🐧🐱 πŸ¦„ Pending
Review via email: mp+251364@code.staging.launchpad.net

Commit message

* possibility to search a location by its coordinates
* wildcard searches

Description of the change

Based on MP: https://code.launchpad.net/~twstd-dev/ubuntu-geonames/search-wildcard/+merge/234578

This MP should consist of a possibility to search a location by its coordinates:

http://146.185.188.87/?lat=40.714270&long=-74.005970

and the possibility to do wildcard-searches by name:

http://146.185.188.87/?query=Stuttga*

The asterisk has to be part of the given search term, therefore default behaviour is not changed:

http://146.185.188.87/?query=Stuttga (no wildcard search, no hits)

To post a comment you must log in.

Unmerged revisions

37. By Martin Borho

making wildcard search optional, by adding * to the search term

36. By twstd

Align attributes so indexer would not throw error

35. By twstd

Add wildcard search

34. By twstd

Increase connection timeout

33. By twstd

Fix sphinx client isntance being shared between classes

32. By twstd

Reduce timeout value

31. By twstd

Add search by coordinates

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: