Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Plain View
Solr, mail # user - Is solr 4.0 ready for prime time? (or other ways to use geo distance in search)


Copy link to this message
-
Is solr 4.0 ready for prime time? (or other ways to use geo distance in search)
Alex Thurlow 2011-01-21, 21:24
Hi all,
     I've been using solr 1.4 and it's working great for what I'm
doing.  However, I'm now finding a need to filter results by location.  
Searching around, I see that the distance functions are implemented in
solr 4.0, but there's no full release yet.

So my question is, is solr 4.0-dev ready to be used in prime time?  My
other option would appear to be using the cartesian distance, which
isn't totally accurate, but it probably good enough for my purposes.  
Something like including this in my filter query:
sum(pow(sub(input_latitiude,stored_latitude),2),pow(sub(input_longitude,stored_longitude),2))<degrees
distance filter

What's anyone else out there using?

Thanks in advance,
Alex
+
Markus Jelsma 2011-01-21, 21:37
+
Lance Norskog 2011-01-22, 04:53
+
Robert Muir 2011-01-22, 11:34
+
Estrada Groups 2011-01-22, 14:10