lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mattmann, Chris A (388J)" <chris.a.mattm...@jpl.nasa.gov>
Subject Re: How to do Spatial Search with Solr?
Date Mon, 23 Aug 2010 06:24:36 GMT
Hi Savannah,

Check out the patches I just threw up for SOLR-2073, SOLR-2074, SOLR-2075, SOLR-2076 and SOLR-2077.

There's code in there to deal with Geonames.org data. There's more patches coming so hopefully
it will be clearer as I add them. Thanks to W. Quach for leading the charge on these patches!

Cheers,
Chris


On 8/22/10 11:21 PM, "Savannah Beckett" <savannah_beckett30@yahoo.com> wrote:

Hi,
  I am using nutch to do the crawling and solr to do the searching.  The index
has City and State.  I want to able to get all nearby cities by entering city
name.  e.g. when I type New York, I want to get the following as facet:

New York, NY (1905)
Brooklyn, NY (89)
Jersey City, NJ (55)
New York City, NY (34)
Montclair, NJ (25)

How do I do that?  More importantly, where do I get all the latitute and
longitude data for all cities?

Thanks.







++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: Chris.Mattmann@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message