java.lang.Object | |
↳ | com.atlassian.jira.index.ha.IndexUtils |
Helper methods to work with LuceneIndexes.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
IndexUtils.IndexPath | Represents the paths in jira home where indexes are stored |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builds a mapping from the source index filepath to the destination filepath - keyed by the type of index
| |||||||||||
This deletes all documents in all indexes (if they exist)
| |||||||||||
Copies all indexes from a specified directory to another specified directory.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Builds a mapping from the source index filepath to the destination filepath - keyed by the type of index
sourcePath | the root of the source index |
---|---|
destinationPath | the root of the destination index |
This deletes all documents in all indexes (if they exist)
path | the root of the index to clear |
---|
Copies all indexes from a specified directory to another specified directory. Any indexes on the destination directory will be deleted.
sourcePath | source of index files |
---|---|
destinationPath | destination of index files |