Don't. Likely to cause more problems than it's worth. See recent thread on "Why read past EOF".
But if you really feel you must, either write your own implementation of FSDirectory or mount the remote folder locally at the OS level using SMB or NFS or whatever. I know which one I'd go for, except that I wouldn't do it at all. -- Ian. On Wed, Feb 8, 2012 at 12:12 PM, Cheng <zhoucheng2...@gmail.com> wrote: > Hi, > > I want to create a writer on a folder ("fsdir") in a remote server > ("10.161.1.23"), which has user id "xyz" and password "pwd". How can I do > so? > > Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org