lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Spatial Search using Lucene and a Database
Date Sat, 27 Dec 2008 14:59:21 GMT
Marc,

I don't have a direct answer to your question, but I'd like to point out http://wiki.apache.org/lucene-java/SpatialSearch
.  It is still very bare, but this Spatial Contrib is about to get a good amount of attention.


If you have more questions, I suggest you use java-user list instead of this general list.

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: squaro <marclebel81@gmail.com>
> To: general@lucene.apache.org
> Sent: Saturday, December 27, 2008 6:12:42 AM
> Subject: Spatial Search using Lucene and a Database
> 
> 
> Hello Everyone,
> 
> I'm new to Lucene and I was wondering how to use it to search full-text
> filtering by spatial constraints.
> 
> For example I have one million of restaurant and I want to found those which
> match "pancake chocolate" and are located in a certain range of latitude and
> longitude ( e.g. 4<4.4 and 5.5<5.7 )
> 
> I've seen a whitepaper called "locallucene" :
> 
> http://www.nsshutdown.com/projects/lucene/whitepaper/locallucene.htm
> http://www.nsshutdown.com/projects/lucene/whitepaper/locallucene.htm 
> 
> Unfortunatly this paper doesn't use MySQL spatial extension for the
> benchmarks.
> 
> Because I think MySql or Postgree with spatial extension are much faster to
> find ALL the restaurant located in a given range of latitude and longitude. 
> 
> But I also think they are not good as lucene to search for full-text query.
> 
> So my idea is to first use a database with spatial extension to find all
> restaurant ids in a given range of latitude and longitude.
> Then I use this set of ids to filter ( using a FilterQuery ) "pancake
> chocolate" search in Lucene.
> 
> According to you mixing database and Lucene for spatial search with full
> text is a good approch ?
> 
> Thanx for all your answers
> 
> Best Regards,
> 
> Marc
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Spatial-Search-using-Lucene-and-a-Database-tp21183276p21183276.html
> Sent from the Lucene - General mailing list archive at Nabble.com.


Mime
View raw message