If another process has an index open for updates it will be locked and
you can test that with IndexWriter.isLocked(directory), but that's
about it. An OS command like lsof on unix could be used to see if any
processes on the same server have index files open but if you're using
NFS that won't dete
Hi All,
I am just wondering given a existing index folder, is there a way of detecting
whether this index is in use?
Either by IndexReader or IndexWriter, What about on NFS file system? Is there
any difference?
Thank you for the help in advance,
Rui Wang