I am trying to use JQuery to issue an ajaxy request to ES, but it
fails. JQuery docs tell me it will 'fail silently' if the JSON is not
well formed, and in firefox, the JSONView plugin is indeed telling me
that the example http://localhost:9200/twitter/user/kimchy?pretty=true
is not well formed. It returns:
The _source field is the actual JSON document that you indexed. So, if you
indexed it without quotes on field names, it will be returned without
quotes. This is partially my fault, since in some of the examples I don't
quote field names, I need to change all the samples to index quoted JSON
field names.
In terms of elasticsearch, it can parse both quoted and unquoted field
names.
I am trying to use JQuery to issue an ajaxy request to ES, but it
fails. JQuery docs tell me it will 'fail silently' if the JSON is not
well formed, and in firefox, the JSONView plugin is indeed telling me
that the example http://localhost:9200/twitter/user/kimchy?pretty=true
is not well formed. It returns:
The _source field is the actual JSON document that you indexed. So, if you
indexed it without quotes on field names, it will be returned without
quotes. This is partially my fault, since in some of the examples I don't
quote field names, I need to change all the samples to index quoted JSON
field names.
In terms of elasticsearch, it can parse both quoted and unquoted field
names.
-shay.banon
I am trying to use JQuery to issue an ajaxy request to ES, but it
fails. JQuery docs tell me it will 'fail silently' if the JSON is not
well formed, and in firefox, the JSONView plugin is indeed telling me
that the example http://localhost:9200/twitter/user/kimchy?pretty=true
is not well formed. It returns:
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.