lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: Order of fields returned by Document.getFields()
Date Thu, 18 Dec 2008 12:06:30 GMT

On Dec 17, 2008, at 11:56 AM, Yonik Seeley wrote:

> On Wed, Dec 17, 2008 at 10:32 AM, Patrick Johnstone
> <pjohnstone@dejavunet.net> wrote:
>> As I said in the original email, my issue is that I don't
>> think Lucene is returning the fields in the original order
>> anymore.
>
> Hmmm, you're right.
>
> http://wiki.apache.org/jakarta-lucene/LuceneFAQ
> states "
>  What is the order of fields returned by Document.fields()?
>  Fields are returned in the same order they were added to the  
> document.
> "
>
> Multiple values for a single field name should always be returned in
> the same order,
> but should we (continue to) make the guarantee about fields of
> different names?  Is anyone relying on that?

Patrick is.

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


Mime
View raw message