I'm trying to recover information from [1]. TheDataHub.Org portal is based
on CKAN [2], an open data platform, and, as stated in [3], it uses
ElasticSearch underneath.
The schema is available at [4].
I'm having problems performing queries at the command line.
As you can see, q=Tema:aeroportos works fine [5]. However,
source='{"query":{"match_all":{}}}' only works on web browser [6], and the
same thing happens with '{"query":{"term":{"Tema":"aeroportos"}}}' [7]
I Am not really sure how CKAN converts the API calls to elasticsearch, but
your samples should work with vanilla ES. The body query for example looks
good.
On Thu, May 17, 2012 at 9:25 PM, Alexandre Gomes alegomes@gmail.com wrote:
Hi all.
I'm trying to recover information from [1]. TheDataHub.Org portal is based
on CKAN [2], an open data platform, and, as stated in [3], it uses
Elasticsearch underneath.
The schema is available at [4].
I'm having problems performing queries at the command line.
As you can see, q=Tema:aeroportos works fine [5]. However,
source='{"query":{"match_all":{}}}' only works on web browser [6], and
the same thing happens with '{"query":{"term":{"Tema":"aeroportos"}}}' [7]
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.