n_docs: Get the total number of documents that match query parameters

Description Usage Arguments Details

View source: R/utils.R

Description

Get the total number of documents that match query parameters

Usage

1
n_docs(query)

Arguments

query

a query_agg(), query_fetch(), or query_str() object

Details

Note: the number returned is not necessarily the same number of documents that a fetch query will return. That depends on the value set for max.


hafen/elasticquery documentation built on May 17, 2021, 3:01 p.m.