com.atlassian.jira.index
Class EntityDocumentFactory.EntityDocumentBuilder<T,C extends EntityDocumentFactory.EntityDocumentBuilder<T,C>>
java.lang.Object
com.atlassian.jira.index.EntityDocumentFactory.EntityDocumentBuilder<T,C>
- Enclosing interface:
- EntityDocumentFactory<T>
public abstract static class EntityDocumentFactory.EntityDocumentBuilder<T,C extends EntityDocumentFactory.EntityDocumentBuilder<T,C>>
- extends Object
Field Summary |
protected org.apache.lucene.document.Document |
doc
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doc
protected final org.apache.lucene.document.Document doc
EntityDocumentFactory.EntityDocumentBuilder
protected EntityDocumentFactory.EntityDocumentBuilder(T entity,
String indexName)
addAllExtractors
public C addAllExtractors(Collection<EntitySearchExtractor<T>> extractors)
addFiled
public C addFiled(String name,
String value,
org.apache.lucene.document.Field.Store store,
org.apache.lucene.document.Field.Index index)
addKeywordWithDefault
public C addKeywordWithDefault(String name,
String value,
String defaultValue)
addKeywordWithDefault
public C addKeywordWithDefault(String name,
Long value,
String defaultValue)
fieldsAddedByExtractor
protected void fieldsAddedByExtractor(Set<String> fieldIds)
build
public com.atlassian.fugue.Option<org.apache.lucene.document.Document> build()
Copyright © 2002-2014 Atlassian. All Rights Reserved.