Is there a way to ignore invalid invalid parameters?

I'm writing an EXTJS app and having to make a JSONP call to do a search query, but it's automatically adding a "callback" parameter to the URL and I haven't found a way to eliminate it. This is causing an "illegal_argument_exception" to be thrown because "request [/_search] contains unrecognized parameter: [callback]"

I DO have the ability to change the parameter name from "callback" to anything, so is there a valid parameter name (like sort, that I could use that would essentially ignore the data that I'm passing in?

Or is there a way to tell Elastic to ignore these invalid parameters all together?


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