Hi
you can get them from searcher, if documents in your index are the same

Enumeration fields = searcher.doc(0).fields();



On 6/5/07, Stadler Hans-Christian <[EMAIL PROTECTED]> wrote:

Hi,

how would I efficently retrieve the names of all possible fields present
in an index?

One way would be to iterate over all terms and extract the field names,
but it doesn't
look like this method is efficient for large indices.

Murphy for president!
HC

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Regards,
Mohammad
--------------------------
see my blog: http://brainable.blogspot.com/

Reply via email to