Hi all,
I'm a new user to Lucene,

I'm getting "Bad File Descriptor" Exception for the following piece of code

Hits hits = searcher.search(query); //returns hits properly
for (int i =0; i< hits.length();i++)
{
    Document doc = hits.doc(i); // throws exception "Bad Fle Descriptor"
}

can any one tell me why this happens

Regards

Jayakumar

Reply via email to