lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clib...@student.info.ucl.ac.be
Subject How to get all the values of a field in all the index
Date Sun, 11 Jul 2004 11:32:44 GMT


Hello,
I have indexed a database which contains a field category.
I would like to get an enumeration of all the category of the index.
So for that i need to get all possible different value of this field inside 
the index. For the moment I use  the terms() method,check if for each term if 
it's a category term and if so get the value of this term.
However it's rather inefficient. Do you have any solution for that?
Claude Libois

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