org.apache.lucene.document
Class Field.TermVector
- Field
- Serializable
public static final class Field.TermVector
implements Serializable
Specifies whether and how a field should have term vectors.
WITH_OFFSETS
public static final Field.TermVector WITH_OFFSETS
Store the term vector + Token offset information
WITH_POSITIONS
public static final Field.TermVector WITH_POSITIONS
Store the term vector + token position information
WITH_POSITIONS_OFFSETS
public static final Field.TermVector WITH_POSITIONS_OFFSETS
Store the term vector + Token position and offset information
YES
public static final Field.TermVector YES
Store the term vectors of each document. A term vector is a list
of the document's terms and their number of occurences in that document.
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.