[Mulgara-general] Lucene question
Life is hard, and then you die
ronald at innovation.ch
Thu Jun 19 07:07:55 UTC 2008
On Thu, Jun 19, 2008 at 12:21:49AM -0500, Paul Gearon wrote:
>
> On Jun 17, 2008, at 9:29 AM, David Smith wrote:
[snip
> >2) droping the model doesn;t delete the indexes
> > Is this by design?
> > (I could se this being the case if Mulgara was looking over the
> >shoulder of another app that uses Lucene... but it seems odd from an
> >all mulgara application)
>
> Yes, it's by design. I believe the problems comes from trying to stay
> synced with transactions, especially when a reading object is kept
> open while writes continue to happen (the reading object is not
> permitted to change regardless of any writes).
According to the javadocs for the current lucene an IndexReader will
not see those deletes until it is re-opened (see 6th paragraph of
http://lucene.apache.org/java/2_3_2/api/org/apache/lucene/index/IndexWriter.html
), so all the more reason to upgrade :-) .
Cheers,
Ronald
More information about the Mulgara-general
mailing list