Hi,

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.

Mike

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: http://www.nabble.com/a-problem-about- the-deprecated-method-tp16579552p16579552.html
Sent from the Lucene - General mailing list archive at Nabble.com.


Reply via email to