lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <nicolas.lale...@anyware-tech.com>
Subject Re: Help : get document lists from an index
Date Sat, 23 Sep 2006 10:14:21 GMT
Le Samedi 23 Septembre 2006 10:32, Supheakmungkol SARIN a écrit :
> Hello all,
>
> I'd like to know whether there is any built-in method that allow us to get
> all the documents that a term belongs to from its index?

you can, but the term should be indexed, and you have to retreive it from it's 
tokenized form. See IndexReader.termDocs(Term term)

Nicolas

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