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
Would IndexReader.getFieldNames work?
Erick
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