org.elasticsearch.index.mapper.core
Class DoubleFieldMapper.CustomDoubleNumericField

java.lang.Object
  extended by org.apache.lucene.document.AbstractField
      extended by org.elasticsearch.index.mapper.core.NumberFieldMapper.CustomNumericField
          extended by org.elasticsearch.index.mapper.core.DoubleFieldMapper.CustomDoubleNumericField
All Implemented Interfaces:
Serializable, org.apache.lucene.document.Fieldable
Enclosing class:
DoubleFieldMapper

public static class DoubleFieldMapper.CustomDoubleNumericField
extends NumberFieldMapper.CustomNumericField

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.lucene.document.AbstractField
binaryLength, binaryOffset, boost, fieldsData, indexOptions, isBinary, isIndexed, isStored, isTokenized, lazy, name, omitNorms, storeOffsetWithTermVector, storePositionWithTermVector, storeTermVector, tokenStream
 
Constructor Summary
DoubleFieldMapper.CustomDoubleNumericField(NumberFieldMapper mapper, double number)
           
 
Method Summary
 String numericAsString()
           
 org.apache.lucene.analysis.TokenStream tokenStreamValue()
           
 
Methods inherited from class org.elasticsearch.index.mapper.core.NumberFieldMapper.CustomNumericField
readerValue, stringValue
 
Methods inherited from class org.apache.lucene.document.AbstractField
getBinaryLength, getBinaryOffset, getBinaryValue, getBinaryValue, getBoost, getIndexOptions, getOmitNorms, getOmitTermFreqAndPositions, isBinary, isIndexed, isLazy, isStored, isStoreOffsetWithTermVector, isStorePositionWithTermVector, isTermVectorStored, isTokenized, name, setBoost, setIndexOptions, setOmitNorms, setOmitTermFreqAndPositions, setStoreTermVector, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleFieldMapper.CustomDoubleNumericField

public DoubleFieldMapper.CustomDoubleNumericField(NumberFieldMapper mapper,
                                                  double number)
Method Detail

tokenStreamValue

public org.apache.lucene.analysis.TokenStream tokenStreamValue()

numericAsString

public String numericAsString()
Specified by:
numericAsString in class NumberFieldMapper.CustomNumericField


Copyright © 2009-2012. All Rights Reserved.