Interface EntityDocumentFactory<T extends WithId>

All Known Subinterfaces:
ChangeHistoryDocumentFactory, CommentDocumentFactory, IssueDocumentFactory, RelatedEntityDocumentFactory<T>, WorklogDocumentFactory
All Known Implementing Classes:
DefaultChangeHistoryDocumentFactory, DefaultCommentDocumentFactory, DefaultIssueDocumentFactory, DefaultWorklogDocumentFactory

@Deprecated(since="10.4", forRemoval=true) public interface EntityDocumentFactory<T extends WithId>
Deprecated, for removal: This API element is subject to removal in a future version.
since 10.4 for removal. No replacement for this interface.
Converts provided entity to lucene documents for indexing
Since:
v6.2
  • Field Details

    • ENTITY_VERSION_ZERO

      static final Long ENTITY_VERSION_ZERO
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • createDocument

      Optional<org.apache.lucene.document.Document> createDocument(EntityWithVersion<T> entity)
      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.