Package | Description |
---|---|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
Modifier and Type | Method | Description |
---|---|---|
static Field.Store |
Field.Store.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Field.Store[] |
Field.Store.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor | Description |
---|---|
AbstractField(String name,
Field.Store store,
Field.Index index,
Field.TermVector termVector) |
|
Field(String name,
boolean internName,
String value,
Field.Store store,
Field.Index index,
Field.TermVector termVector) |
Create a field by specifying its name, value and how it will
be saved in the index.
|
Field(String name,
byte[] value,
int offset,
int length,
Field.Store store) |
Deprecated.
Use
instead |
Field(String name,
byte[] value,
Field.Store store) |
Deprecated.
Use
instead |
Field(String name,
String value,
Field.Store store,
Field.Index index) |
Create a field by specifying its name, value and how it will
be saved in the index.
|
Field(String name,
String value,
Field.Store store,
Field.Index index,
Field.TermVector termVector) |
Create a field by specifying its name, value and how it will
be saved in the index.
|
NumericField(String name,
int precisionStep,
Field.Store store,
boolean index) |
Creates a field for numeric values with the specified
precisionStep . |
NumericField(String name,
Field.Store store,
boolean index) |
Creates a field for numeric values using the default
precisionStep
NumericUtils.PRECISION_STEP_DEFAULT (4). |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.