I'd like to save longitude and latitude data points in my lucene index for
businesses, churches, etc. Is the obvious way to store the longitude values
as keywords in the format "00.000". Then on the search phase I can compare
the "derived" mathematical location for say a registered users lat/long home
address from my registered user database and compare with search results?
...and based on LUCENE IN ACTION example, I can boost search results based
on proximity from point "index" to point "search."
Thanks for any help. For some context, this is a newspaper web site.
Tim Archambault
Bangordailynews.com <http://Bangordailynews.com>
Bangor, ME
businesses, churches, etc. Is the obvious way to store the longitude values
as keywords in the format "00.000". Then on the search phase I can compare
the "derived" mathematical location for say a registered users lat/long home
address from my registered user database and compare with search results?
...and based on LUCENE IN ACTION example, I can boost search results based
on proximity from point "index" to point "search."
Thanks for any help. For some context, this is a newspaper web site.
Tim Archambault
Bangordailynews.com <http://Bangordailynews.com>
Bangor, ME