You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Paul Dlug <pa...@aps.org> on 2002/06/03 18:37:36 UTC

Opening and index as ready only

Is there anyway to open an index as read-only? I get an IOException with
Permission Denied when I change the index to a set of read-only file
permissions. I have a cluster of search servers with the index on an NFS
mount. I'd like to be able to have them all open and search the index at
the same time. A single IndexWriter would be used to add new documents.
Is there any way to do this?

Thanks,
Paul

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Opening and index as ready only

Posted by Otis Gospodnetic <ot...@yahoo.com>.
I believe what you are referring to is on Lucene's TODO list, possibly
for the next release.
One or two people have already contributed some code for Lucene on
read-only media such as CD-ROM, so you may want to check the mailing
list archives for the code if this is urgent for you.

Otis


--- Paul Dlug <pa...@aps.org> wrote:
> Is there anyway to open an index as read-only? I get an IOException
> with
> Permission Denied when I change the index to a set of read-only file
> permissions. I have a cluster of search servers with the index on an
> NFS
> mount. I'd like to be able to have them all open and search the index
> at
> the same time. A single IndexWriter would be used to add new
> documents.
> Is there any way to do this?
> 
> Thanks,
> Paul
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>