query_fetch.Rd
Initialize a document fetch query
query_fetch( con, index = NULL, path = NULL, size = 10000, time_scroll = "5m", max = 0, format = c("list", "json"), check_fields = TRUE )
con | an |
---|---|
index | the name of the index to query (if not specified, will fall back on 'primary_index' provided to |
path | an optional directory to write documents to as they are fetched |
size | the number of documents to fetch in each batch (max is 10000) |
time_scroll | specify how long a consistent view of the index should be maintained for scrolled search, e.g. "1m" |
max | maximum number of documents to fetch |
format | format of returned output - either "list" or "json" |
check_fields | should field names be checked when the query is augmented? |