01: package org.compass.annotations;
02:
03: /**
04: * Controls the index (see {@link Index}) of the internal managed id generated
05: * (see {@link ManagedId}). Note, that this is an advance mapping setting, which
06: * usually should not be set.
07: *
08: * @author kimchy
09: * @see ManagedId
10: * @see Index
11: */
12: public enum ManagedIdIndex {
13: /**
14: * Lets Compass control it. Uses compass deafult, or the external setting for it.
15: */
16: NA,
17:
18: /**
19: * Do not index the property value. This property can thus not be searched, but one
20: * can still access its contents provided it is {@link Store stored}.
21: */
22:
23: NO,
24:
25: /**
26: * Index the property's value without using an Analyzer, so it can be searched.
27: * As no analyzer is used the value will be stored as a single term. This is
28: * useful for unique Ids like product numbers.
29: */
30: UN_TOKENIZED
31: }
|