Hi Mostafa,

Try looking through the API for help with these types of questions:
http://lucene.apache.org/java/3_3_0/api/all/org/apache/lucene/store/FSDi
rectory.html

You can use a number of FSDirectory subclasses depending on your
circumstances.

Hope this helps!

Jason

-----Original Message-----
From: Mostafa Hadian [mailto:hadian...@gmail.com] 
Sent: Wednesday, August 24, 2011 9:55 AM
To: java-user@lucene.apache.org
Subject: i'm having some trouble with class FSDirectory

hello.
there is this piece of code in the book "lucene in action" :
Directory dir = new FSDirectory(new File(indexDir), null);
but class FSDirectory is an abstract class and cannot be instantiated
like
this.
thank you very much for your helping.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to