lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless" <luc...@mikemccandless.com>
Subject Re: NFS Question
Date Fri, 23 Mar 2007 19:57:24 GMT

"Grant Ingersoll" <gsingers@apache.org> wrote:
> Is it still safe to say that NFS should be avoided, if possible, for  
> Lucene use?  I know Mike M. has been doing a lot of work to make the  
> support better, I'm just wondering what the recommendation is.

As far as I know, if you make your own deletion policy (which is far
easier than it sounds -- see eg the TestDeletionPolicy unit test) then
NFS should work fine.  At least there are no further known issues.

However it isn't exactly a well explored area so developers should
"proceed with caution" :)

You do need to have the kind of application where it's simple to
characterize when readers will have refreshed to the most recent
commit and thus capture logic on when it's safe to delete prior
commits.  EG if you know "every night I update the index and every
morning all readers refresh" then you just need a "keep last 2
commits" deletion policy.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message