public abstract static class EntityDocumentFactory.EntityDocumentBuilder<T,C extends EntityDocumentFactory.EntityDocumentBuilder<T,C>> extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.document.Document |
doc |
Modifier | Constructor and Description |
---|---|
protected |
EntityDocumentBuilder(T entity,
String indexName) |
Modifier and Type | Method and Description |
---|---|
C |
addAllExtractors(Collection<EntitySearchExtractor<T>> extractors) |
C |
addField(String name,
String value,
org.apache.lucene.document.Field.Store store,
org.apache.lucene.document.Field.Index index) |
C |
addKeywordWithDefault(String name,
Long value,
String defaultValue) |
C |
addKeywordWithDefault(String name,
String value,
String defaultValue) |
com.atlassian.fugue.Option<org.apache.lucene.document.Document> |
build() |
protected void |
fieldsAddedByExtractor(Set<String> fieldIds) |
public C addAllExtractors(Collection<EntitySearchExtractor<T>> extractors)
public C addField(String name, String value, org.apache.lucene.document.Field.Store store, org.apache.lucene.document.Field.Index index)
public C addKeywordWithDefault(String name, String value, String defaultValue)
public com.atlassian.fugue.Option<org.apache.lucene.document.Document> build()
Copyright © 2002-2017 Atlassian. All Rights Reserved.