org.elasticsearch.index.mapper.core
Class ShortFieldMapper.CustomShortNumericField

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.ShortFieldMapper.CustomShortNumericField
All Implemented Interfaces:
Serializable, org.apache.lucene.document.Fieldable
Enclosing class:
ShortFieldMapper

public static class ShortFieldMapper.CustomShortNumericField
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
ShortFieldMapper.CustomShortNumericField(NumberFieldMapper mapper, short 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

ShortFieldMapper.CustomShortNumericField

public ShortFieldMapper.CustomShortNumericField(NumberFieldMapper mapper,
                                                short 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.