Save This Page
Home » lucene-2.3.2-src » org.apache » lucene » document » [javadoc | source]
org.apache.lucene.document
public static final class: Field.TermVector [javadoc | source]
java.lang.Object
   org.apache.lucene.util.Parameter
      org.apache.lucene.document.Field$TermVector

All Implemented Interfaces:
    Serializable

Specifies whether and how a field should have term vectors.
Field Summary
public static final  Field.TermVector NO    Do not store term vectors. 
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. 
public static final  Field.TermVector WITH_POSITIONS    Store the term vector + token position information 
public static final  Field.TermVector WITH_OFFSETS    Store the term vector + Token offset information 
public static final  Field.TermVector WITH_POSITIONS_OFFSETS    Store the term vector + Token position and offset information 
Fields inherited from org.apache.lucene.util.Parameter:
allParameters
Methods from org.apache.lucene.util.Parameter:
readResolve,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait