Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example of using query dsl in source #13

Open
enningb opened this issue Apr 23, 2015 · 7 comments
Open

example of using query dsl in source #13

enningb opened this issue Apr 23, 2015 · 7 comments
Labels

Comments

@enningb
Copy link

enningb commented Apr 23, 2015

is it possible to give a simple example in the documentation of how to use the Query DSL in the source variable?

@marevol
Copy link
Contributor

marevol commented Apr 23, 2015

curl -XGET "localhost:9200/movielens/_data?format=csv&source=%7B%22query%22%3A%7B%22match_all%22%3A%7B%7D%7D%7D"

@ghost
Copy link

ghost commented Jun 19, 2015

Could you provide and example using the fl (field) option? Thanks.

@marevol
Copy link
Contributor

marevol commented Jun 19, 2015

fl is a request parameter.

@chess4ever
Copy link

For me it's not working.
this is the output:
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"No endpoint or operation is available at [_data]"}],"type":"illegal_argument_exception","reason":"No endpoint or operation is available at [_data]"},"status":400}

@marevol
Copy link
Contributor

marevol commented Mar 31, 2017

I think the plugin installation is failed.

@chess4ever
Copy link

It's a problem with the version, I have elasticsearch 5.3.0 installed which is not compatible.

@marevol
Copy link
Contributor

marevol commented Apr 1, 2017

Released dataformat plugin for elasticsearch 5.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants