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, waitcreateDocumentspublic 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-2024 Atlassian. All Rights Reserved.