Defining the Order of Fields Returned in REST API JSON

I'm working on a prototype of a search application and the guys reviewing it are getting a little bent out over the fields in the returned json. I've explained to them that the json spec specifically states there is no enforced/implied there anyway I can influence what is output?

Is there any other alternative other than using the _source field to display the oirginal json as it was passed during ingestion?


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.