lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: [jira] Commented: (LUCENE-665) temporary file access denied on Windows
Date Wed, 13 Sep 2006 22:57:27 GMT

: I don't think the Windows impl should be the default for Windows
: systems.

Nor do i ... but what is the "default" Direcotry implimentation of
"Lucene"?

There are convinince methods in IndexReader, IndexWriter, and
IndexSearcher for opening FSDirectories based on a String (name) or a File
object -- and those should probably never change; but a new
WindowsFSDirectory option could be built, and applications which want to
use it so they can be as robust as possible at the potential expense of
speed can use it if they choose.

I retract part of that statement acctually: I can't think of any
compelling reason why the methods that currently take in a String or a
File and implicitly assume FSDirectory couldn't be changed to try and
"auto-detct" the OS and make the best corrisponding assumption -- Apps
that allways want an FSDirectory could open one explicitly just like aps
that want a WindowsFSDirectory explicitly.


-Hoss


---------------------------------------------------------------------
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