org.compass.core
Class Property.Store

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

public static final class Property.Store
extends Parameter

Specifies whether and how a meta-data property will be stored.

See Also:
Serialized Form

Field Summary
static Property.Store COMPRESS
          Store the original property value in the index in a compressed form.
static Property.Store NO
          Do not store the property value in the index.
static Property.Store YES
          Store the original property value in the index.
 
Method Summary
static Property.Store fromString(String propertyStore)
           
static String toString(Property.Store propertyStore)
           
 
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.Store NO
Do not store the property value in the index.


YES

public static final Property.Store YES
Store the original property value in the index. This is useful for short texts like a document's title which should be displayed with the results. The value is stored in its original form, i.e. no analyzer is used before it is stored.


COMPRESS

public static final Property.Store COMPRESS
Store the original property value in the index in a compressed form. This is useful for long documents and for binary valued fields.

Method Detail

toString

public static String toString(Property.Store propertyStore)

fromString

public static Property.Store fromString(String propertyStore)


Copyright (c) 2004-2008 The Compass Project.