lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sendros, Jason" <Jason.Send...@VerizonWireless.com>
Subject RE: i'm having some trouble with class FSDirectory
Date Wed, 24 Aug 2011 14:33:39 GMT
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.mt@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message