Hello ,
I am using lucene 2.9.1 API.
Currently i am creating lucene indexes locally on my machine.
So i have a filePath=/var/lib/idx , where all my segment files get stored.

Now i want to configure this path to some network directory path
e.g <someMachineIP>/var/lib/index.

Is there a way to instantiate IndexWriter to write indexes on some network directory ?
Also How IndexSearcher would be able to search indexes located on that network directory ?

Please let me know, if anyone knows.