| Package | Description |
|---|---|
| org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
| Modifier and Type | Field and Description |
|---|---|
protected FieldType |
Field.type |
static FieldType |
ShortDocValuesField.TYPE |
static FieldType |
LongDocValuesField.TYPE |
static FieldType |
DoubleDocValuesField.TYPE |
static FieldType |
ByteDocValuesField.TYPE |
static FieldType |
PackedLongDocValuesField.TYPE |
static FieldType |
FloatDocValuesField.TYPE |
static FieldType |
StoredField.TYPE |
static FieldType |
IntDocValuesField.TYPE |
static FieldType |
StraightBytesDocValuesField.TYPE_FIXED_LEN |
static FieldType |
DerefBytesDocValuesField.TYPE_FIXED_LEN |
static FieldType |
SortedBytesDocValuesField.TYPE_FIXED_LEN |
static FieldType |
DoubleField.TYPE_NOT_STORED |
static FieldType |
TextField.TYPE_NOT_STORED |
static FieldType |
FloatField.TYPE_NOT_STORED |
static FieldType |
LongField.TYPE_NOT_STORED |
static FieldType |
IntField.TYPE_NOT_STORED |
static FieldType |
StringField.TYPE_NOT_STORED
Indexed, not tokenized, omits norms, indexes
DOCS_ONLY, not stored.
|
static FieldType |
DoubleField.TYPE_STORED |
static FieldType |
TextField.TYPE_STORED |
static FieldType |
FloatField.TYPE_STORED |
static FieldType |
LongField.TYPE_STORED |
static FieldType |
IntField.TYPE_STORED |
static FieldType |
StringField.TYPE_STORED
Indexed, not tokenized, omits norms, indexes
DOCS_ONLY, stored
|
static FieldType |
StraightBytesDocValuesField.TYPE_VAR_LEN |
static FieldType |
DerefBytesDocValuesField.TYPE_VAR_LEN |
static FieldType |
SortedBytesDocValuesField.TYPE_VAR_LEN |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
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) |
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) |
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.