powered by
Define Elasticsearch query.
query(json, size = 0)
JSON object describing the query that needs to be executed.
[optional] The number of documents to return. If left unspecified, then the default if to return all documents.
An elastic_query object.
elastic_query
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html
# NOT RUN { all_docs <- query('{"match_all": {}}') # }
Run the code above in your browser using DataLab