lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karl wettin <karl.wet...@gmail.com>
Subject Re: TermFreqVector
Date Thu, 19 Jul 2007 21:13:18 GMT

19 jul 2007 kl. 22.58 skrev Kevin Chen:

>
> doc = hits.doc(0);
> TermFreqVector vector = reader.getTermFreqVector(docId, "field");
>
>
> How do I get docId?

If you use Hits, it is hits.doc()


-- 
karl

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


Mime
View raw message