I have a problem using the Hits-Object:
If I put my search result as an Attribute in a Session, i can access the
numbers and scores, but not any document via Hits.doc(...). I get an
exception like
Bad file descriptor
java.io.IOException:
at java.io.RandomAccessFile.seek(Native Method)
at com.lucene.store.FSInputStream.seekInternal(FSDirectory.java:177)
To solve this problem, I'm not closing the IndexSearcher instance.
Will I have problem with the "commit.lock" file ?
Thanks,
William.
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
If I put my search result as an Attribute in a Session, i can access the
numbers and scores, but not any document via Hits.doc(...). I get an
exception like
Bad file descriptor
java.io.IOException:
at java.io.RandomAccessFile.seek(Native Method)
at com.lucene.store.FSInputStream.seekInternal(FSDirectory.java:177)
To solve this problem, I'm not closing the IndexSearcher instance.
Will I have problem with the "commit.lock" file ?
Thanks,
William.
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>