I try to use
Elasticsearch\Endpoints\Indices\ValidateQuery
and i get some abstract error.
here is part of my code
$parm['hosts'] = array('localhost:80');
$test = new Elasticsearch\Endpoints\Indices\ValidateQuery($parm);
$test1 = new Elasticsearch\Endpoints\Indices\Validate\Query($parm);
$test->setBody($json);
$test->performRequest();
can someone tell give me example of the code that need to be in parm or some
working example of the _validateapi in php. Thansk in front.
--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/How-to-validate-user-input-tp4061223.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/1407165605261-4061223.post%40n3.nabble.com.
For more options, visit https://groups.google.com/d/optout.