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()).
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
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