Uses of Class
org.apache.lucene.document.FieldType

Packages that use FieldType
org.apache.lucene.document The logical representation of a Document for indexing and searching. 
 

Uses of FieldType in org.apache.lucene.document
 

Fields in org.apache.lucene.document declared as FieldType
protected  FieldType Field.type
          Field's type
static FieldType ShortDocValuesField.TYPE
          Type for 16-bit short DocValues.
static FieldType LongDocValuesField.TYPE
          Type for 64-bit long DocValues.
static FieldType DoubleDocValuesField.TYPE
          Type for 64-bit double DocValues.
static FieldType ByteDocValuesField.TYPE
          Type for 8-bit byte DocValues.
static FieldType PackedLongDocValuesField.TYPE
          Type for packed long DocValues.
static FieldType FloatDocValuesField.TYPE
          Type for 32-bit float DocValues.
static FieldType StoredField.TYPE
          Type for a stored-only field.
static FieldType IntDocValuesField.TYPE
          Type for 32-bit integer DocValues.
static FieldType StraightBytesDocValuesField.TYPE_FIXED_LEN
          Type for direct bytes DocValues: all with the same length
static FieldType DerefBytesDocValuesField.TYPE_FIXED_LEN
          Type for indirect bytes DocValues: all with the same length
static FieldType SortedBytesDocValuesField.TYPE_FIXED_LEN
          Type for sorted bytes DocValues: all with the same length
static FieldType DoubleField.TYPE_NOT_STORED
          Type for a DoubleField that is not stored: normalization factors, frequencies, and positions are omitted.
static FieldType TextField.TYPE_NOT_STORED
          Indexed, tokenized, not stored.
static FieldType FloatField.TYPE_NOT_STORED
          Type for a FloatField that is not stored: normalization factors, frequencies, and positions are omitted.
static FieldType LongField.TYPE_NOT_STORED
          Type for a LongField that is not stored: normalization factors, frequencies, and positions are omitted.
static FieldType IntField.TYPE_NOT_STORED
          Type for an IntField that is not stored: normalization factors, frequencies, and positions are omitted.
static FieldType StringField.TYPE_NOT_STORED
          Indexed, not tokenized, omits norms, indexes DOCS_ONLY, not stored.
static FieldType DoubleField.TYPE_STORED
          Type for a stored DoubleField: normalization factors, frequencies, and positions are omitted.
static FieldType TextField.TYPE_STORED
          Indexed, tokenized, stored.
static FieldType FloatField.TYPE_STORED
          Type for a stored FloatField: normalization factors, frequencies, and positions are omitted.
static FieldType LongField.TYPE_STORED
          Type for a stored LongField: normalization factors, frequencies, and positions are omitted.
static FieldType IntField.TYPE_STORED
          Type for a stored IntField: normalization factors, frequencies, and positions are omitted.
static FieldType StringField.TYPE_STORED
          Indexed, not tokenized, omits norms, indexes DOCS_ONLY, stored
static FieldType StraightBytesDocValuesField.TYPE_VAR_LEN
          Type for direct bytes DocValues: can have variable lengths
static FieldType DerefBytesDocValuesField.TYPE_VAR_LEN
          Type for indirect bytes DocValues: can have variable lengths
static FieldType SortedBytesDocValuesField.TYPE_VAR_LEN
          Type for sorted bytes DocValues: can have variable lengths
 

Methods in org.apache.lucene.document that return FieldType
 FieldType Field.fieldType()
          Returns the FieldType for this field.
static FieldType Field.translateFieldType(Field.Store store, Field.Index index, Field.TermVector termVector)
          Deprecated. This is here only to ease transition from the pre-4.0 APIs.
 

Constructors in org.apache.lucene.document with parameters of type FieldType
DoubleField(String name, double value, FieldType type)
          Expert: allows you to customize the FieldType.
Field(String name, byte[] value, FieldType type)
          Create field with binary value.
Field(String name, byte[] value, int offset, int length, FieldType type)
          Create field with binary value.
Field(String name, BytesRef bytes, FieldType type)
          Create field with binary value.
Field(String name, FieldType type)
          Expert: creates a field with no initial value.
Field(String name, Reader reader, FieldType type)
          Create field with Reader value.
Field(String name, String value, FieldType type)
          Create field with String value.
Field(String name, TokenStream tokenStream, FieldType type)
          Create field with TokenStream value.
FieldType(FieldType ref)
          Create a new mutable FieldType with all of the properties from ref
FloatField(String name, float value, FieldType type)
          Expert: allows you to customize the FieldType.
IntField(String name, int value, FieldType type)
          Expert: allows you to customize the FieldType.
LongField(String name, long value, FieldType type)
          Expert: allows you to customize the FieldType.
 



Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.