Description Usage Arguments Examples
Helper function to orchestrate the assembly of the Bulk API upload file, http request to Elasticsearch and handling any subsequent respose errors. It's primary purpose is to be called repeatedly on 'chunks' of a data frame that is too bid to be indexed with a single call to the Bulk API (and hence the split into smaller more manageable chunks).
1 | index_bulk_dataframe(rescource, df)
|
rescource |
An |
df |
data.frame whose rows will be indexed as documents in the Elasticsearch cluster. |
1 2 3 4 5 | ## Not run:
rescource <- elastic("http://localhost:9200", "iris", "data")
index_bulk_dataframe(rescource, iris)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.