Jsonp support in elasticsearch

Hello,

Reading the elastic search documentation here: https://www.elastic.co/guide/en/elasticsearch/reference/1.4/common-options.html#_jsonp

I see that adding http.jsonp.enable: true
To the config.yaml file should enable jsonp responses from calls to the REST interface.

I've added this and restarted the ES node and am using jQuery to submit GET requests for the jsonp data type. I can see the request is being issued with the expected callback added to the url as a query parameter, however, the response from the server is still json. i.e. There is no padding being added to the response.

Given that the documentation refers to a config file which I don't have (I'm using ES2.1) I am wondering if jsonp is supported in the later versions of ES or if I have configured this node incorrectly.

Any assistance would be much appreciated.

Andy

JSONP has been removed since a long time https://github.com/elastic/elasticsearch/issues/9108

Please use CORS

https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html#modules-http

Thanks for your help. CORS it is then.