Fields out of _source

I have a customer that want to create an index with stored fields out of the _source, in the same place than "_index", "_type", "_score", "_id". It should be something like
"_index" : "MyIndex",
"_type" : "doc",
"_id" : "1",
"_score" : 1.0
"CustomField" : "TestData",
"CustomField2" : "TestData",

We need to create that type of index from API calls, we can't do anything manual in the process.
Is it possible? I have been searching for a while, but I don't found useful information.

As far as I know that is not possible.

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