Does doc['field_name'].values preserve order

Hi ,

In scripting shown here
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_document_fields
,
does the values function returns the troken in the order in which it was
indexed.

For eg: if the field value is as follows

"arrayData" : [ "one" , "two" , "three" ]

Will doc['arrayData'].values give results in the order in which it was
index , that is as [ "one , "two" , "three" ] ?

Thanks
Vineeth Mohan,
Elasticsearch consultant,
qbox.io ( Elasticsearch service provider http://qbox.io)

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGdPd5%3Dow1t24Wfd-P%3DZHo%3DNB6kCyJsNTvYC%3DndJ-uwCuXWpRw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.