| org.compass.annotations.Index
Index | public enum Index (Code) | | Specifies whether and how a meta-data proeprty should be indexed.
author: kimchy |
Field Summary | |
Enum Constant | NO Do not index the property value. | Enum Constant | TOKENIZED Index the property's value so it can be searched. | Enum Constant | UN_TOKENIZED Index the property's value without using an Analyzer, so it can be searched.
As no analyzer is used the value will be stored as a single term. |
NO | Enum Constant NO(Code) | | Do not index the property value. This property can thus not be searched, but one
can still access its contents provided it is
Store stored .
|
TOKENIZED | Enum Constant TOKENIZED(Code) | | Index the property's value so it can be searched. An Analyzer will be used to
tokenize and possibly further normalize the text before its terms will be stored
in the index. This is useful for common text.
|
UN_TOKENIZED | Enum Constant UN_TOKENIZED(Code) | | Index the property's value without using an Analyzer, so it can be searched.
As no analyzer is used the value will be stored as a single term. This is
useful for unique Ids like product numbers.
|
|
|