Re: Retrieving a document from a Hits object

2006-06-12 Thread Yonik Seeley
Hi Michael, The Searcher you used to get the Hits needs to remain open while accessing the hits. Your stack trace could have been caused by the Searcher being closed first. -Yonik http://incubator.apache.org/solr Solr, the open-source Lucene search server On 6/10/06, Michael Dodson <[EMAIL PR

Retrieving a document from a Hits object

2006-06-12 Thread Michael Dodson
Hi, I'm trying to retrieve a document from a Hits object and I'm getting the following exception and stack trace. I have a Hits object named "hits" and I'm just trying to retrieve the first document using Document doc = hits.doc(0); I can retrieve all other kinds of information for the do