lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Galambos <galam...@com-os2.ms.mff.cuni.cz>
Subject Re: Wildchar based search?? |
Date Sun, 02 Feb 2003 14:48:34 GMT
On Sat, 1 Feb 2003, Rishabh Bajpai wrote:

> also, i rememebr readin somewhere that one had to build the index in
> some special way, but since you say no; i will take that. i anyways dont
> rememebr where I read it, so no point asking about something if I am
> myself not sure....

I remember only one problem that is related to indexing phase - it is 
``optimize'' function. If you update your index, one cannot tell you if 
you must also call optimize() or not.

If you do not call it, it may slow down queries (I do not know how much,
but Otis told it). If you call it, it slows down the indexing phase (I
have tested it and it is significant).

AFAIK Lucene cannot tell you when the index becomes dirty so that you must 
call optimize. On the other hand it does not affect small indexes, where 
optimize() costs nothing.

Otis, I think that this still holds. Right?

-g-



---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message