mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-06-27 02:30:08 +00:00

### Summary We no longer use the "bricks" terminology for partioning functions, etc in the library. This PR updates various references to bricks within the repo and the docs. This is just an initial pass to swap the terminology out, it'll likely be helpful to reorganize the docs a bit as well. --------- Co-authored-by: qued <64741807+qued@users.noreply.github.com> Co-authored-by: ryannikolaidis <1208590+ryannikolaidis@users.noreply.github.com>
Loading Unstructured
elements into Elasticsearch
The following example shows how to load Unstructured
output Element
objects into an Elasticsearch
index with sentiment analyis scores provided by the TextBlob
library.
Elasticsearch stores data as JSON documents in an index, which is a collection of documents that are related to each other.
Running the example
- Run
pip install -r requirements.txt
to install the Python dependencies. - Modify
es-credentials.ini
with your information:cloud_id
,user
andpassword
. - Run the
load-into-es.ipynb
notebook.