Package | Description |
---|---|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
Modifier and Type | Field and Description |
---|---|
static Field.TermVector |
Field.TermVector.NO
Do not store term vectors.
|
static Field.TermVector |
Field.TermVector.WITH_OFFSETS
Store the term vector + Token offset information
|
static Field.TermVector |
Field.TermVector.WITH_POSITIONS
Store the term vector + token position information
|
static Field.TermVector |
Field.TermVector.WITH_POSITIONS_OFFSETS
Store the term vector + Token position and offset information
|
static Field.TermVector |
Field.TermVector.YES
Store the term vectors of each document.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractField.setStoreTermVector(Field.TermVector termVector) |
Constructor and Description |
---|
AbstractField(java.lang.String name,
Field.Store store,
Field.Index index,
Field.TermVector termVector) |
Field(java.lang.String name,
java.io.Reader reader,
Field.TermVector termVector)
Create a tokenized and indexed field that is not stored, optionally with
storing term vectors.
|
Field(java.lang.String name,
java.lang.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(java.lang.String name,
TokenStream tokenStream,
Field.TermVector termVector)
Create a tokenized and indexed field that is not stored, optionally with
storing term vectors.
|
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.