Re: FSDirectory source code mistake!

2011-07-10 Thread Simon Willnauer
Hey, 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 FSDirectory.open(File) to create an instance. This factory will create a reasonable default for your platform. see the javadoc for detail

FSDirectory source code mistake!

2011-07-10 Thread Parsa Moshrefi
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 answ