Package | Description |
---|---|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
Modifier and Type | Method and Description |
---|---|
static Field.Index |
Field.Index.toIndex(boolean indexed,
boolean analyzed)
Get the best representation of the index given the flags.
|
static Field.Index |
Field.Index.toIndex(boolean indexed,
boolean analyzed,
boolean omitNorms)
Expert: Get the best representation of the index given the flags.
|
static Field.Index |
Field.Index.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Field.Index[] |
Field.Index.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and 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,
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.
|