lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <daniel.na...@t-online.de>
Subject Re: Internal Document ID!
Date Tue, 13 Jul 2004 22:02:38 GMT
On Tuesday 13 July 2004 23:40, Jones G wrote:

> How do I get the internal document id within an index?

It's Hits.id(n), with n being the current hit number (e.g. 0-9 when you 
iterate over the first ten hits).

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message