: I think we should deprecate the "create" argument to : FSDirectory.getDirectory(*) and leave only the create argument in : IndexWriter's constructors. Am I missing something? Is there are a : reason not to do this?
i actual wonder about hte problem from the oposite direction: to me it makes sense that FSDirectory has a "create" option, and it makes sense that "new IndexWriter(File path, Analyzer a, boolean create)" exists since it's suppose to be a convinience method for "new IndexWriter(FSDirectory.getDirectory(path,create), Analyzer a)" ... but what does "new IndexWriter(Directory d, Analyzer a, boolean create)" exist? ... if people are dealing with a Directory object directly, then they can specify create when they access the Directory object right? i note that there are versions of FSDirectory.getDirectory which take in a boolean named "doRemoveOldFiles" and the versions of IndexWriter that call FSDirectory.getDirectory allways pass "false" to that value ... perhaps that should change? -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]