You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Ulrich Mayring <ul...@denic.de> on 2003/06/13 14:13:51 UTC

How to get field contents

Hello,

I'd like to build a list with all values from a certain field that occur 
in an index. Looking at the API, there's a method getFieldNames(), but I 
already know the field name, I want to get a list of all the values. 
Also, I can enumerate fields by giving Terms, but a Term means I have to 
have the field name and value.

Can this be done?

Kind regards,

Ulrich



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