Page MenuHomePhabricator

As a Geodata API consumer, I would like to specify a search string when requesting location results
Closed, DeclinedPublic

Description

Currently the Geodata API returns all results nearby the given lat/lon.

This has 2 limitations:

  1. It returns results that may not be relevant enough to display to the user.
  2. The search radius must be small because there can be a lot or results in a small area.

These limitations make the map view not as useful as it could be on Android and iOS.

To eliminate these issues we would like to pass a query during to the GeoData API. This has 2 effects:

  1. Allows the user to specify a context for what is displayed on the map (only show me results with this string)
  2. Allows the search radius to be widened (There will be less results so the since they will be filtered by the query string)

Question about text search:
I know that the title prefix search is pretty efficient, but ideally we would match on a string anywhere in the title of the article. Example:
Searching for "bridge" with a location in San Francisco should return the "Golden Gate bridge" article.

For the iOS app, we will be developing a map feature in iOS-app-v5.1.0-Saturn with a likely deployment date of August. It would be awesome if we could ship it with this new API.

Let us know what steps we need to take to get this triaged.

Thanks!

Event Timeline

Note: I didn't mention a specific search radius in the ticket as I figured that would fall out of the technical limitations of the query.

Fjalapeno renamed this task from As a Geodata API consumer, I would like to be able specify a search string when requesting location results to As a Geodata API consumer, I would like to specify a search string when requesting location results.Jun 7 2016, 7:46 PM
debt triaged this task as Medium priority.Jun 16 2016, 10:25 PM
debt moved this task from needs triage to search-icebox on the Discovery-Search board.