Package com.atlassian.jira.search.index
Interface IndexAccessorFactory
- All Known Implementing Classes:
LuceneIndexAccessorFactory,OpenSearchIndexAccessorFactory
@Internal
public interface IndexAccessorFactory
Factory for creating
IndexAccessor- Since:
- 10.4
-
Method Summary
-
Method Details
-
create
Creates a newIndexAccessorfor the given schema. It will create the index if it does not exist.- Parameters:
indexName- the name of the index- Returns:
- a new accessor for the index
- Throws:
IndexOperationException- when index failed to be created
-