Shouldn't there be at least one method that returns an array of fields in
the correct order?
Roy.
-Original Message-
The order is preserved (or reversed actually), so it's not random.
It's reverse of the order of the order in which the fields were added
to the document.
This would be eas
The order is preserved (or reversed actually), so it's not random.
It's reverse of the order of the order in which the fields were added
to the document.
This would be easy to test...
Otis
--- [EMAIL PROTECTED] wrote:
> Quick question about Document.fields().
>
> Lucene provides you with a meth
Quick question about Document.fields().
Lucene provides you with a method to retrieve the value of a field or grab
all fields as an Enumeration. It does not, however, allow you to grab all
values of one field for a document, it will only return the last value added
for that field.
For example,