You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mamlr/man/elasticizer.Rd

33 lines
1.0 KiB

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/elasticizer.R
\name{elasticizer}
\alias{elasticizer}
\title{Generate a data frame out of unparsed Elasticsearch JSON}
\usage{
elasticizer(query, src = T, index = "maml",
es_pwd = .rs.askForPassword("Elasticsearch READ"), update = NULL,
local = F, ...)
}
\arguments{
\item{query}{A JSON-formatted query in the Elasticsearch query DSL}
\item{src}{Logical (true/false) indicating whether or not the source of each document should be retrieved}
\item{index}{The name of the Elasticsearch index to search through}
\item{update}{When set, indicates an update function to use on each batch of 1000 articles}
\item{local}{Defaults to false. When true, connect to a local Elasticsearch instance on the default port (9200)}
\item{...}{Parameters passed on to the update function}
}
\value{
A data frame containing all the search results
}
\description{
Generate a data frame out of unparsed Elasticsearch JSON
}
\examples{
elasticizer(query, src = TRUE, index = "maml", update = NULL, local = F)
}