Re: the order of fields in Document.fields()

2002-11-13 Thread Otis Gospodnetic
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 method

RE: the order of fields in Document.fields()

2002-11-13 Thread roy-lucene-user
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