org.compass.core
Class Property.Store
java.lang.Object
org.compass.core.util.Parameter
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
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.
toString
public static String toString(Property.Store propertyStore)
fromString
public static Property.Store fromString(String propertyStore)
Copyright (c) 2004-2008 The Compass Project.