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)
Deprecated.
Get the best representation of a TermVector given the flags.
|
static Field.TermVector |
Field.TermVector.valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Field.TermVector[] |
Field.TermVector.values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|
Field(String name,
Reader reader,
Field.TermVector termVector)
Deprecated.
Use
TextField instead. |
Field(String name,
String value,
Field.Store store,
Field.Index index,
Field.TermVector termVector)
Deprecated.
Use
StringField , TextField instead. |
Field(String name,
TokenStream tokenStream,
Field.TermVector termVector)
Deprecated.
Use
TextField instead |
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.