You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Jamie <ja...@stimulussoft.com> on 2008/07/16 00:36:38 UTC
Lucene & XFile interface
Hi there
I am trying to use YANFS (see https://yanfs.dev.java.net/) to allow
administrators to configure Lucene index that is accessible via NFS on a
remote drive. Is there a way to easily modify lucene such that when it
reads / writes from the Index it uses the XFile object instead of File?
In this way, there is a lot more flexibility on where the index can be
stored (without having to rely on operating system mount points). Is it
correct to subclass org.apache.lucene.store.Directory for this purpose?
Are there any other considerations that one should bear in mind?
Thanks in advance
Jamie
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Lucene & XFile interface
Posted by Chris Hostetter <ho...@fucit.org>.
: remote drive. Is there a way to easily modify lucene such that when it reads /
: writes from the Index it uses the XFile object instead of File? In this way,
: there is a lot more flexibility on where the index can be stored (without
: having to rely on operating system mount points). Is it correct to subclass
: org.apache.lucene.store.Directory for this purpose? Are there any other
That is exactly what the org.apache.lucene.store.Directory abstraction is
for, so you can keep your index anywhere you want.
-Hoss
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org