|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.util.Parameter
org.apache.lucene.document.Field.TermVector
public static final class Field.TermVector
Specifies whether and how a field should have term vectors.
| Field Summary | |
|---|---|
static Field.TermVector |
NO
Do not store term vectors. |
static Field.TermVector |
WITH_OFFSETS
Store the term vector + Token offset information |
static Field.TermVector |
WITH_POSITIONS
Store the term vector + token position information |
static Field.TermVector |
WITH_POSITIONS_OFFSETS
Store the term vector + Token position and offset information |
static Field.TermVector |
YES
Store the term vectors of each document. |
| Method Summary |
|---|
| Methods inherited from class org.apache.lucene.util.Parameter |
|---|
readResolve, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Field.TermVector NO
public static final Field.TermVector YES
public static final Field.TermVector WITH_POSITIONS
YESpublic static final Field.TermVector WITH_OFFSETS
YESpublic static final Field.TermVector WITH_POSITIONS_OFFSETS
YES,
WITH_POSITIONS,
WITH_OFFSETS
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||