lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <>
Subject Re: FSDirectory source code mistake!
Date Sun, 10 Jul 2011 16:11:15 GMT

you are right FSDirectory is abstract, yet the fact that it doesn't
declare an abstract method doesn't make it wrong. Please use the
static factory methods to create an instance.
This factory will create a reasonable default for your platform. see
the javadoc for details


On Sun, Jul 10, 2011 at 5:35 PM, Parsa Moshrefi
<> wrote:
> Greeting,
> There's a mistake in writing the type of the class FSDirectory in the core
> of Lucene 3.3. This class is defined as an abstract one while No abstract
> method is found inside. Also it yields some other problems like not being
> able to create an instance of FSDirectory in the code.
> Please answer me as soon as possible !!
> regards

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message