Class OpenSearchSearchIndexAccessorFactory
java.lang.Object
com.atlassian.confluence.plugins.opensearch.OpenSearchSearchIndexAccessorFactory
A factory to create a new
OpenSearchSearchIndexAccessor
for an indexName (core or custom).- Since:
- 8.6
-
Constructor Summary
ConstructorDescriptionOpenSearchSearchIndexAccessorFactory
(org.opensearch.client.opensearch.OpenSearchClient client, OpenSearchSearchManager searchManager, OpenSearchIndexWriterFactory writerFactory) -
Method Summary
-
Constructor Details
-
OpenSearchSearchIndexAccessorFactory
public OpenSearchSearchIndexAccessorFactory(org.opensearch.client.opensearch.OpenSearchClient client, OpenSearchSearchManager searchManager, OpenSearchIndexWriterFactory writerFactory)
-
-
Method Details
-
createAccessor
- Parameters:
indexManager
-- Returns:
- a newly created accessor for the specified index
-