Package | Description |
---|---|
org.apache.lucene.document |
The Document abstraction.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
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.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Collection |
FilterIndexReader.getIndexedFieldNames(Field.TermVector tvSpec) |
abstract Collection |
IndexReader.getIndexedFieldNames(Field.TermVector tvSpec)
Deprecated.
|
Collection |
MultiReader.getIndexedFieldNames(Field.TermVector tvSpec) |
Collection |
ParallelReader.getIndexedFieldNames(Field.TermVector tvSpec) |
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.