org.elasticsearch.index.mapper.json
Class JsonFieldMapper.OpenBuilder<T extends JsonFieldMapper.Builder,Y extends JsonFieldMapper>

java.lang.Object
  extended by org.elasticsearch.index.mapper.json.JsonMapper.Builder<T,Y>
      extended by org.elasticsearch.index.mapper.json.JsonFieldMapper.Builder<T,Y>
          extended by org.elasticsearch.index.mapper.json.JsonFieldMapper.OpenBuilder<T,Y>
Direct Known Subclasses:
JsonStringFieldMapper.Builder
Enclosing class:
JsonFieldMapper<T>

public abstract static class JsonFieldMapper.OpenBuilder<T extends JsonFieldMapper.Builder,Y extends JsonFieldMapper>
extends JsonFieldMapper.Builder<T,Y>


Field Summary
 
Fields inherited from class org.elasticsearch.index.mapper.json.JsonFieldMapper.Builder
boost, includeInAll, index, indexAnalyzer, indexName, omitNorms, omitTermFreqAndPositions, searchAnalyzer, store, termVector
 
Fields inherited from class org.elasticsearch.index.mapper.json.JsonMapper.Builder
builder, name
 
Constructor Summary
protected JsonFieldMapper.OpenBuilder(java.lang.String name)
           
 
Method Summary
 T boost(float boost)
           
 T index(org.apache.lucene.document.Field.Index index)
           
 T indexAnalyzer(NamedAnalyzer indexAnalyzer)
           
 T indexName(java.lang.String indexName)
           
 T omitNorms(boolean omitNorms)
           
 T omitTermFreqAndPositions(boolean omitTermFreqAndPositions)
           
 T searchAnalyzer(NamedAnalyzer searchAnalyzer)
           
 T store(org.apache.lucene.document.Field.Store store)
           
 T termVector(org.apache.lucene.document.Field.TermVector termVector)
           
 
Methods inherited from class org.elasticsearch.index.mapper.json.JsonFieldMapper.Builder
buildFullName, buildIndexName, buildNames, includeInAll
 
Methods inherited from class org.elasticsearch.index.mapper.json.JsonMapper.Builder
build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonFieldMapper.OpenBuilder

protected JsonFieldMapper.OpenBuilder(java.lang.String name)
Method Detail

index

public T index(org.apache.lucene.document.Field.Index index)
Overrides:
index in class JsonFieldMapper.Builder<T extends JsonFieldMapper.Builder,Y extends JsonFieldMapper>

store

public T store(org.apache.lucene.document.Field.Store store)
Overrides:
store in class JsonFieldMapper.Builder<T extends JsonFieldMapper.Builder,Y extends JsonFieldMapper>

termVector

public T termVector(org.apache.lucene.document.Field.TermVector termVector)
Overrides:
termVector in class JsonFieldMapper.Builder<T extends JsonFieldMapper.Builder,Y extends JsonFieldMapper>

boost

public T boost(float boost)
Overrides:
boost in class JsonFieldMapper.Builder<T extends JsonFieldMapper.Builder,Y extends JsonFieldMapper>

omitNorms

public T omitNorms(boolean omitNorms)
Overrides:
omitNorms in class JsonFieldMapper.Builder<T extends JsonFieldMapper.Builder,Y extends JsonFieldMapper>

omitTermFreqAndPositions

public T omitTermFreqAndPositions(boolean omitTermFreqAndPositions)
Overrides:
omitTermFreqAndPositions in class JsonFieldMapper.Builder<T extends JsonFieldMapper.Builder,Y extends JsonFieldMapper>

indexName

public T indexName(java.lang.String indexName)
Overrides:
indexName in class JsonFieldMapper.Builder<T extends JsonFieldMapper.Builder,Y extends JsonFieldMapper>

indexAnalyzer

public T indexAnalyzer(NamedAnalyzer indexAnalyzer)
Overrides:
indexAnalyzer in class JsonFieldMapper.Builder<T extends JsonFieldMapper.Builder,Y extends JsonFieldMapper>

searchAnalyzer

public T searchAnalyzer(NamedAnalyzer searchAnalyzer)
Overrides:
searchAnalyzer in class JsonFieldMapper.Builder<T extends JsonFieldMapper.Builder,Y extends JsonFieldMapper>