public class DefaultCommentDocumentFactory extends Object implements CommentDocumentFactory
EntityDocumentFactory.EntityDocumentBuilder<T extends WithId,C extends EntityDocumentFactory.EntityDocumentBuilder<T,C>>
ENTITY_VERSION_ZERO
Constructor and Description |
---|
DefaultCommentDocumentFactory(SearchExtractorRegistrationManager searchExtractorManager) |
Modifier and Type | Method and Description |
---|---|
Optional<org.apache.lucene.document.Document> |
createDocument(EntityWithVersion<Comment> commentWithVersion) |
org.apache.lucene.index.Term |
getIdentifyingTerm(Comment comment) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDocuments
public DefaultCommentDocumentFactory(SearchExtractorRegistrationManager searchExtractorManager)
public Optional<org.apache.lucene.document.Document> createDocument(EntityWithVersion<Comment> commentWithVersion)
createDocument
in interface EntityDocumentFactory<Comment>
public org.apache.lucene.index.Term getIdentifyingTerm(Comment comment)
getIdentifyingTerm
in interface RelatedEntityDocumentFactory<Comment>
Copyright © 2002-2022 Atlassian. All Rights Reserved.