Also, by OS is the one reason we can think of now, but that doesn't mean there aren't other reasons.

EG, who knows -- maybe for small indexes NIO doesn't help but for large ones it does (just an example) and so you'd want non-static choice.

Mike

Yonik Seeley wrote:

On Wed, Nov 12, 2008 at 5:00 PM, Chris Hostetter
<[EMAIL PROTECTED]> wrote:
since the choice of FSDirectory varient is largly going to be based on OS, I can't think of any reason why a static setter method wouldn't be good
enough in this particular case.

https://issues.apache.org/jira/browse/LUCENE-1451

A custom subclass of FSDirectory could perhaps do something
interesting... and something that you would want for some indicies and
not for others.  If it's not too painful to allow it, perhaps we
should.

-Yonik

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to