lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: a problem about the deprecated method
Date Wed, 09 Apr 2008 08:19:15 GMT


The java-user list is more appropriate for your question (it's  
focused on using Lucene java, and, more people read it).

In this case, you should use the getDirectory(File) method, and then  
when you instantiate your IndexWriter, pass in the boolean XX as the  
"create" argument.  The javadoc stating the deprecation says this.


oibook13 wrote:
> there is difference between lucene edition 1.4.3 and 2.0.0. e.g class
> FSDirectory's method
> getDirectory(File indexDir,boolean XX). i am studying lucene in  
> action which
> based on lucene 1.4.3, so how can i find its equivalent in new  
> edition?
> thanks
> -- 
> View this message in context: 
> the-deprecated-method-tp16579552p16579552.html
> Sent from the Lucene - General mailing list archive at

View raw message