lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Stuyts" <>
Subject RE: Method to speed up caching for faceted navigation
Date Thu, 27 Jul 2006 07:50:19 GMT
> I don't think it really matters wether you do deletes on the same
> IndexReader -- what matters is if there has been any deletes 
> done to the
> index prior to opening the reader since it was last 
> optimized.  The reason
> being that deleting a document just causes a record of the 
> deletion to be
> made, but no Term/DOc mapping information is removed.
> So if your index is read only and will never contain any deleted
> documents, then your method may be safe (i'm not 100% certain of that,
> just guessing) but if it's possible for documents to be 
> deleted from your
> index at some point, then i'm 99% sure your approach will result it
> indicating matches on documents which are no longer "viable"

OK. I will also add the check for deleted documents. It didn't have much
of an effect on the performance anyway. Thanks.


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

View raw message