Why do you care? That is, what is it you're doing that is sensitive to the order of the return relative to the order defined?
Best Erick On Wed, Feb 1, 2012 at 3:27 PM, Yuhao <nfsvi...@yahoo.com> wrote: > $doc.getFieldNames() will give you a list of field names as defined in your > schema.xml file. However, the order in which it returns the field names is > not the same order that I defined them in schema.xml. What determines the > order returned by $doc.getFieldNames() ?