java.lang.Object | |
↳ | com.atlassian.jira.sharing.index.DefaultSharedEntityIndexer |
default implementation
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DefaultSharedEntityIndexer.EntityDocument | Holds a Document and an identifying Term so we can delete any pre-existing document. | ||||||||||
DefaultSharedEntityIndexer.EntityDocumentFactory |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clear a particular type's index.
| |||||||||||
Delete multiple documents in the index
| |||||||||||
Delete a document from the index.
| |||||||||||
Get a SharedEntitySearcher for the specified
SharedEntity.TypeDescriptor | |||||||||||
Add or update a document in the index.
| |||||||||||
Add or update multiple documents in the index
| |||||||||||
Add or update a document in the index.
| |||||||||||
Optimize a particular type's index.
| |||||||||||
Recreate the index.
| |||||||||||
Shutdown a particular type's index.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface com.atlassian.jira.sharing.index.SharedEntityIndexer |
Clear a particular type's index. Return the path.
type | describes the particular index |
---|
Delete multiple documents in the index
sharedEntities | a Set of entities to remove from the index |
---|---|
updateReplicatedIndex | whether to update the replicated index or not |
Delete a document from the index.
entity | the entity to remove from the index |
---|
Get a SharedEntitySearcher for the specified SharedEntity.TypeDescriptor
type | the index to use when searching |
---|
Add or update a document in the index.
entity | the entity to add to the index |
---|
Add or update multiple documents in the index
sharedEntities | a Set of entities to add to the index |
---|---|
updateReplicatedIndex | whether to update the replicated index or not |
Add or update a document in the index.
entity | the entity to add to the index |
---|---|
updateReplicatedIndex | whether to update the replicated index or not |
Optimize a particular type's index.
type | describes the particular index |
---|
Recreate the index. Clear it if it currently exists, create a new one if it doesn't.
Shutdown a particular type's index.
type | describes the particular index |
---|