public class DefaultCommentDocumentFactory extends Object implements CommentDocumentFactory
EntityDocumentFactory.EntityDocumentBuilder<T,C extends EntityDocumentFactory.EntityDocumentBuilder<T,C>>
Constructor and Description |
---|
DefaultCommentDocumentFactory(SearchExtractorRegistrationManager searchExtractorManager) |
Modifier and Type | Method and Description |
---|---|
io.atlassian.fugue.Option<org.apache.lucene.document.Document> |
apply(Comment comment) |
org.apache.lucene.index.Term |
getIdentifyingTerm(Comment comment) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen, compose, identity
public DefaultCommentDocumentFactory(SearchExtractorRegistrationManager searchExtractorManager)
public io.atlassian.fugue.Option<org.apache.lucene.document.Document> apply(Comment comment)
apply
in interface java.util.function.Function<Comment,io.atlassian.fugue.Option<org.apache.lucene.document.Document>>
public org.apache.lucene.index.Term getIdentifyingTerm(Comment comment)
getIdentifyingTerm
in interface RelatedEntityDocumentFactory<Comment>
Copyright © 2002-2019 Atlassian. All Rights Reserved.