java-user@lucene.apache.org
[Top] [All Lists]

I need the internal lucene's document id from Hits

Subject: I need the internal lucene's document id from Hits
From: "Mohammad Norouzi"
Date: Thu, 5 Apr 2007 13:37:30 +0330
Hi
I need the id of the document that returned by Hits as a result of a query.

Hits result = searchable.find(myQuery....);

now I need something like result.getId()

is there any way to get it?

Thanks so much

--
Regards,
Mohammad Norouzi
<Prev in Thread] Current Thread [Next in Thread>