mirror of
				https://github.com/Unstructured-IO/unstructured.git
				synced 2025-10-31 01:54:25 +00:00 
			
		
		
		
	 508ce48d54
			
		
	
	
		508ce48d54
		
			
		
	
	
	
	
		
			
			* feat: nb elasticsearch unstructured sentiment * chore: refactor readme for elasticsearch nb * fix: update es-credentials.ini * chore: update es-credentials.ini * fix: type in nb load-into-es.ipynb exist --> exists * fix: typo 2 in nb load-into-es.ipynb obtaing --> obtain
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.txtto install the Python dependencies.
- Modify es-credentials.iniwith your information:cloud_id,userandpassword.
- Run the load-into-es.ipynbnotebook.