lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Elschot <paul.elsc...@xs4all.nl>
Subject Re: Special field values
Date Tue, 12 Oct 2004 18:11:04 GMT
On Tuesday 12 October 2004 19:27, Paul Elschot wrote:

>
> IndexReader.open(indexName).termDocs(new Term(term,
> field)).skipTo(documentNr)
>
> returns the boolean indicating that.

Well, almost. When it returns true one still needs to check the TermDocs
for being at the documentNr.

Paul Elschot


---------------------------------------------------------------------
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