org.compass.core
Class Property.TermVector

java.lang.Object
  extended by org.compass.core.util.Parameter
      extended by org.compass.core.Property.TermVector
All Implemented Interfaces:
Serializable
Enclosing interface:
Property

public static final class Property.TermVector
extends Parameter

Specifies whether and how a meta-data property should have term vectors.

See Also:
Serialized Form

Field Summary
static Property.TermVector NO
          Do not store term vectors.
static Property.TermVector WITH_OFFSETS
          Store the term vector + Token offset information
static Property.TermVector WITH_POSITIONS
          Store the term vector + token position information
static Property.TermVector WITH_POSITIONS_OFFSETS
          Store the term vector + Token position and offset information
static Property.TermVector YES
          Store the term vectors of each document.
 
Method Summary
static Property.TermVector fromString(String propertyTermVector)
           
static String toString(Property.TermVector propertyTermVector)
           
 
Methods inherited from class org.compass.core.util.Parameter
readResolve, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NO

public static final Property.TermVector NO
Do not store term vectors.


YES

public static final Property.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.


WITH_POSITIONS

public static final Property.TermVector WITH_POSITIONS
Store the term vector + token position information

See Also:
YES

WITH_OFFSETS

public static final Property.TermVector WITH_OFFSETS
Store the term vector + Token offset information

See Also:
YES

WITH_POSITIONS_OFFSETS

public static final Property.TermVector WITH_POSITIONS_OFFSETS
Store the term vector + Token position and offset information

See Also:
YES, WITH_POSITIONS, WITH_OFFSETS
Method Detail

toString

public static String toString(Property.TermVector propertyTermVector)

fromString

public static Property.TermVector fromString(String propertyTermVector)


Copyright (c) 2004-2008 The Compass Project.