Package com.mindstore.backend.security
Class OpenSearchConfig
java.lang.Object
com.mindstore.backend.security.OpenSearchConfig
Configuration file for opensearch that uses the opensearch.host from application.properties
creates openSearchClient that the application uses
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opensearch.client.opensearch.OpenSearchClientBean that creates the opensearch client with custom config
-
Constructor Details
-
OpenSearchConfig
public OpenSearchConfig()default constructor
-
-
Method Details
-
openSearchClient
@Bean public org.opensearch.client.opensearch.OpenSearchClient openSearchClient()Bean that creates the opensearch client with custom config- Returns:
- the created open search client
-