Package | Description |
---|---|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
Modifier and Type | Method and Description |
---|---|
static Field.TermVector |
Field.TermVector.toTermVector(boolean stored,
boolean withOffsets,
boolean withPositions)
Get the best representation of a TermVector given the flags.
|
static Field.TermVector |
Field.TermVector.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Field.TermVector[] |
Field.TermVector.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractField.setStoreTermVector(Field.TermVector termVector) |
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,
Reader reader,
Field.TermVector termVector)
Create a tokenized and indexed field that is not stored, optionally with
storing term vectors.
|
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.
|
Field(String name,
TokenStream tokenStream,
Field.TermVector termVector)
Create a tokenized and indexed field that is not stored, optionally with
storing term vectors.
|