That query will search for "java java" places of type neighborhood or higher granularity (including city, admin, and country). If you want POI (or higher), set granularity to "poi". We do return results that are far away. This may be controllable in the future.
The autocomplete parameter is flag that's a hint that search is being used for autocompletion. It will favor results with matching prefixes. An "admin" place is an administrative area, such as a state or province. David Twitter Geo Team On Wed, Jun 16, 2010 at 7:54 AM, MeltingIce <meltingice8...@gmail.com> wrote: > Hey everyone, > > I am trying to search for locations using the new geo/search API call, > but the granularity of the locations returned is nearby cities at best > even though the granularity is set to "neighborhood". I would like to > pass in simply a lat/long, but even when I pass in a search query as > well, I either get extremely broad results or no results at all. > > Heres an example that I've been trying which is returning cities as > far away as Virginia although the lat/long is really in Charleston, > SC. > > http://api.twitter.com/1/geo/search.json?query=java+java&accuracy=761.99999884176&autocomplete=false&long=-80.14888889&lat=32.60583333&granularity=neighborhood > > The autocomplete param is undocumented, although switching it from > false to true doesn't seem to have an effect anyways. Is there > something I'm missing here? Thanks in advance for the help! >