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 |
---|---|
com.atlassian.fugue.Option<org.apache.lucene.document.Document> |
apply(Comment comment) |
org.apache.lucene.index.Term |
getIdentifyingTerm(Comment comment) |
public DefaultCommentDocumentFactory(SearchExtractorRegistrationManager searchExtractorManager)
public com.atlassian.fugue.Option<org.apache.lucene.document.Document> apply(Comment comment)
apply
in interface com.google.common.base.Function<Comment,com.atlassian.fugue.Option<org.apache.lucene.document.Document>>
public org.apache.lucene.index.Term getIdentifyingTerm(Comment comment)
getIdentifyingTerm
in interface RelatedEntityDocumentFactory<Comment>
Copyright © 2002-2015 Atlassian. All Rights Reserved.