lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Shannon" <>
Subject Re: Read locks on indexes
Date Tue, 07 Dec 2004 21:27:11 GMT
I think the read locks are preventing you from deleting from the index with
your reader and writing to the index with a writer at the same time.

If you never use a writer than I guess you don't need to worry about this.

But how do you create the indexes?


----- Original Message ----- 
From: "Shawn Konopinsky" <>
To: "Lucene Users List" <>
Sent: Tuesday, December 07, 2004 4:17 PM
Subject: Read locks on indexes

> Hi,
> I have a question regarding read locks on indexes. I have the situation
> where I have n applications (separated jvms) running queries. These
> applications are read-only, and never use an IndexWriter.
> The index is only ever updated using rsync. The applications don't need
> up the minute updates, only the data from when the reader was created is
> fine.
> My question is whether it's ok to disable read locks in this scenario?
> What are read locks protecting?
> Best,
> Shawn.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message