Package com.atlassian.jira.issue.index
Interface IndexDirectoryFactory
- All Superinterfaces:
Supplier<Map<IndexDirectoryFactory.Name,Index.Manager>>
- All Known Implementing Classes:
IndexDirectoryFactory.IndexPathAdapter,MockIndexDirectoryFactory
@Internal
public interface IndexDirectoryFactory
extends Supplier<Map<IndexDirectoryFactory.Name,Index.Manager>>
Responsible for creating the
directories required for issue, comment, changehistory, and worklog indexing.- Since:
- v4.0 Platform-specific interface intended for the Lucene search platform only. Jira Search exposes a common API backed by multiple search engines. This interface bypasses that abstraction and couples callers to Lucene internals. Internal use only.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic enum -
Method Summary
Modifier and TypeMethodDescriptionvoidsetIndexingMode(IndexingMode mode) Sets the Indexing Mode - one of either DIRECT or QUEUED.
-
Method Details
-
getIndexRootPath
String getIndexRootPath() -
getIndexPaths
-
setIndexingMode
Sets the Indexing Mode - one of either DIRECT or QUEUED.- Parameters:
mode- the indexing mode.
-