For the code below, if the type is set to POST in the code then the
ElasticSearch server returns an error 500. If type is set to GET,
then the query works. Any idea why?
The URL in the code is not publicly accessible and is behind a
firewall.
var myURL = 'http://ec2-54-248-13-166.ap-
northeast-1.compute.amazonaws.com:9200/people/person/_search';
For the code below, if the type is set to POST in the code then the
Elasticsearch server returns an error 500. If type is set to GET,
then the query works. Any idea why?
The URL in the code is not publicly accessible and is behind a
firewall.
var myURL = 'http://ec2-54-248-13-166.ap-
northeast-1.compute.amazonaws.com:9200/people/person/_search';
For the code below, if the type is set to POST in the code then the
Elasticsearch server returns an error 500. If type is set to GET,
then the query works. Any idea why?
The URL in the code is not publicly accessible and is behind a
firewall.
var myURL = 'http://ec2-54-248-13-166.ap-
northeast-1.compute.amazonaws.com:9200/people/person/_search';
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.