Re: Using lucene in NFS

2010-04-30 Thread Ian Lea
The suggestion was that your single indexing job should update a local copy of the index and copy that to NFS for searching by other nodes. That should work. As for updating, you could index new reports into a new lucene index and then merge that into the existing index (IndexWriter.addIndexes()).

Re: Using lucene in NFS

2010-04-30 Thread Vijay Veeraraghavan
hi Ian, Thanks for your reply. I am using the Lucene core 3.0 version. The index created will be accessed by the web application. The web application contains 4 nodes, clustered. What if all the nodes access the index. I think no any prob may raise. If i have a local index then what about it in the

Re: Using lucene in NFS

2010-04-30 Thread Ian Lea
You don't say what version of lucene you are using, but in recent versions you may need to use SimpleFSLockFactory rather than the default, NativeFSLockFactory. See the javadocs. Lucene in general does work on NFS but there can be problems, particularly with concurrent access from multiple server