Package com.atlassian.jira.index
Interface EntityDocumentFactory<T extends WithId>
- All Known Subinterfaces:
ChangeHistoryDocumentFactory
,CommentDocumentFactory
,IssueDocumentFactory
,RelatedEntityDocumentFactory<T>
,WorklogDocumentFactory
- All Known Implementing Classes:
DefaultChangeHistoryDocumentFactory
,DefaultCommentDocumentFactory
,DefaultIssueDocumentFactory
,DefaultWorklogDocumentFactory
Deprecated, for removal: This API element is subject to removal in a future version.
since 10.4 for removal. No replacement for this interface. Still used by the Lucene indexing
infrastructure, will be removed once we stop supporting Lucene.
Converts provided entity to lucene documents for indexing
- Since:
- v6.2
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
EntityDocumentFactory.EntityDocumentBuilder<T extends WithId,
C extends EntityDocumentFactory.EntityDocumentBuilder<T, C>> Deprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Long
Deprecated, for removal: This API element is subject to removal in a future version.static final org.slf4j.Logger
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionOptional
<org.apache.lucene.document.Document> createDocument
(EntityWithVersion<T> entity) Deprecated, for removal: This API element is subject to removal in a future version.default Map
<EntityWithVersion<T>, Optional<org.apache.lucene.document.Document>> createDocuments
(List<EntityWithVersion<T>> entities) Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
LOG
static final org.slf4j.Logger LOGDeprecated, for removal: This API element is subject to removal in a future version. -
ENTITY_VERSION_ZERO
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
createDocument
Deprecated, for removal: This API element is subject to removal in a future version. -
createDocuments
default Map<EntityWithVersion<T>,Optional<org.apache.lucene.document.Document>> createDocuments(List<EntityWithVersion<T>> entities) Deprecated, for removal: This API element is subject to removal in a future version.
-