lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Guillard <>
Subject geographical search
Date Fri, 28 Oct 2005 09:34:12 GMT
Hello here,

I'd like to do some geographical searches. Can somebody can tell me 
where to go ?

At the moment i put the longitude and latitude in the index as i would 
put some text. Then i did some range queries like this :
queryString=foo AND country:United States AND 
coordinates@lon:[-74.04047986086957 TO -73.95352333913044] AND 
coordinates@lat:[40.70662093913044 TO 40.793577460869564]
It worked well with positive coordinates in Europe, not in the US so i 
planned to put N/S before latitude, E/O before longitudes to replace 
negative values.
But something tells me this is not the way to do things with Lucene and 
not use the range query:-)
So i red :
- and this from the Boss :-) 

, but all this seems complicated to me!



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message