Lucene search optimization

2006-05-30 Thread Sami Dalouche
.html) Additionnally, the additional property is an id, so can I store it as a number so that it is faster (I guess) than string comparison ? Thanks a lot, Sami Dalouche - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: Lucene search optimization

2006-05-30 Thread Sami Dalouche
arch space, but if you think of something better, I am open to any suggestion. Soundex and metaphones are specific to languages, right ? Would it work for cities ? The cities are available as XML from http://www.sirika.com/data/xmlgz/ If you need more information, just ask. Regards, Sami Dalouche

Re: Lucene search optimization

2006-05-31 Thread Sami Dalouche
s by relevance. Does this count as sorting ? 4) I tried to time the thing for ~10 queries, and the results are roughly the same. Can go down to 2 seconds, which is still way too much... Thanks for helping sami Dalouche On Tue, 2006-05-30 at 13:58 -0700, Chris Hostetter wrote: > : Fuzzy searchin

Re: Lucene search optimization

2006-05-31 Thread Sami Dalouche
return only 2 results... (city:Rambouillet~0.8) Sami Dalouche Le mercredi 31 mai 2006 à 09:28 +0100, mark harwood a écrit : > >>Actually, I am not using Lucene directly, but a > wrapper called compass > > > I don't know what controls it offers you then. > One option wh

Re: Lucene search optimization

2006-05-31 Thread Sami Dalouche
Hi, thanks for the tip.. However, my slowness issues do not seem to be caused by the number of search results returned, since cityName:XX~0.8 took 2 seconds to return 2 results So, the problem seems to be more related to scanning the index... Thanks, Sami Dalouche Le mardi 30 mai 2006 à 16

Re: Lucene search optimization

2006-05-31 Thread Sami Dalouche
r) on some other property than the city ? In fact, I can also index the Country, so if this prefix length could be useable on the country, this could easily divide the search space by 400, which is way better than /26... Any idea ? Sami Dalouche Le mercredi 31 mai 2006 à 20:53 +0100, markharw

Re: spring & lucene

2006-06-06 Thread Sami Dalouche
Hi, when working with Spring, the best is to use Compass : http://www.opensymphony.com/compass/ (if you can). Regards, Sami Dalouche On Tue, 2006-06-06 at 00:27 -0400, Rajiv Roopan wrote: > Hello, > I'm using the spring framework to define my indexsearcher and > indexwrit