mirror of
				https://github.com/Unstructured-IO/unstructured.git
				synced 2025-10-31 10:03:07 +00:00 
			
		
		
		
	 0c834517d8
			
		
	
	
		0c834517d8
		
			
		
	
	
	
	
		
			
			change opensearch port to see if fixes CI. We think there may be a conflict with the elasticsearch docker port. Also adding simple retry to vector query. --------- Co-authored-by: potter-potter <david.potter@gmail.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			281 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			281 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import json
 | |
| 
 | |
| CLUSTER_URL = "http://localhost:9247"
 | |
| INDEX_NAME = "ingest-test-destination"
 | |
| USER = "admin"
 | |
| PASSWORD = "admin"
 | |
| MAPPING_PATH = "docs/source/ingest/destination_connectors/data/opensearch_elements_mappings.json"
 | |
| 
 | |
| with open(MAPPING_PATH) as f:
 | |
|     mappings = json.load(f)
 |