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:[email protected]] 
Sent: Wednesday, August 24, 2011 9:55 AM
To: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to