lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kapil Chhabra <kapil.chha...@naukri.com>
Subject Re: FileNotFoundException: occurs during the optimization of index
Date Fri, 14 Jul 2006 11:29:36 GMT
You may try to update a copy of the index and then
either replace the live index with the updated one
or instruct other instances to update the index path.

You may try this scenario if your index size is manageable. Hope this helps.

Regards,
kapilChhabra

Supriya Kumar Shyamal wrote:
> I have common index which is shared by 6 application server through 
> nfs. I use only one instance to maintain the index. other instances 
> shares the index with readpnly nfs share so that I make sure the 
> search instances does not corrupt the index. I do the index 
> optimization everyday at 6:00 at that time I get the 
> FileNotFoundException from the search log of the other instances.
>
> I can imagine the problem like when the optimzation happens on the 
> index at the same time some IndexSearcher is object is created for the 
> search but before search is invoked the IndexWriter optimized the file 
> so the segment list there on the IndexSearcher object is not there.
>
> Can anybody suggest how to avoid this problem and concurrently access 
> in the index accroos the network at the same time maintaining the index.
>
> Thanks,
> supriya
>


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


Mime
View raw message