Class SyntheticIdField

java.lang.Object
org.apache.lucene.document.Field
org.elasticsearch.index.mapper.SyntheticIdField
All Implemented Interfaces:
org.apache.lucene.index.IndexableField

public final class SyntheticIdField extends org.apache.lucene.document.Field
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.lucene.document.Field

    org.apache.lucene.document.Field.Store
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.apache.lucene.document.Field

    fieldsData, name, type
  • Constructor Summary

    Constructors
    Constructor
    Description
    SyntheticIdField(org.apache.lucene.util.BytesRef bytes)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
     
    void
    setTokenStream(org.apache.lucene.analysis.TokenStream tokenStream)
     
    org.apache.lucene.analysis.TokenStream
    tokenStream(org.apache.lucene.analysis.Analyzer analyzer, org.apache.lucene.analysis.TokenStream reuse)
     

    Methods inherited from class org.apache.lucene.document.Field

    binaryValue, fieldType, getCharSequenceValue, invertableType, name, numericValue, readerValue, setBytesValue, setBytesValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setReaderValue, setShortValue, setStringValue, storedValue, stringValue, tokenStreamValue, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • SyntheticIdField

      public SyntheticIdField(org.apache.lucene.util.BytesRef bytes)
  • Method Details

    • tokenStream

      public org.apache.lucene.analysis.TokenStream tokenStream(org.apache.lucene.analysis.Analyzer analyzer, org.apache.lucene.analysis.TokenStream reuse)
      Specified by:
      tokenStream in interface org.apache.lucene.index.IndexableField
      Overrides:
      tokenStream in class org.apache.lucene.document.Field
    • setTokenStream

      public void setTokenStream(org.apache.lucene.analysis.TokenStream tokenStream)
      Overrides:
      setTokenStream in class org.apache.lucene.document.Field
    • hasSyntheticIdAttributes

      public static boolean hasSyntheticIdAttributes(Map<String,String> attributes)