|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface SearchableConstant
A constant meta-data that can be defined on a Searchable class.
SearchableConstants annotation.
Searchable,
SearchableConstants| Required Element Summary | |
|---|---|
String |
name
The name of the meta-data. |
String[] |
values
A list of values that the meta-data will have. |
| Optional Element Summary | |
|---|---|
String |
analyzer
Specifies a specialized analyzer lookup name that will be used to analyze the meta-data content. |
float |
boost
The boost level for the meta-data. |
String |
converter
Converter for the Constant meta-data mapping. |
ExcludeFromAll |
excludeFromAll
Specifies if this meta-data should be excluded from the generated "all" meta-data. |
Index |
index
Specifies whether and how a meta-data proeprty should be indexed. |
OmitNorms |
omitNorms
Expert: If set, omit normalization factors associated with this indexed field. |
OmitTf |
omitTf
Expert: If set, omit tf from postings of this indexed field. |
boolean |
override
Controls if the constant value should override the same constant defined elsewhere for the same searchable class. |
SpellCheck |
spellCheck
Should this propety be included in the spell check index. |
Store |
store
Specifies whether and how a meta-data property will be stored. |
TermVector |
termVector
Specifies whether and how a meta-data property should have term vectors. |
| Element Detail |
|---|
public abstract String name
public abstract String[] values
public abstract float boost
public abstract Store store
public abstract Index index
public abstract TermVector termVector
public abstract OmitNorms omitNorms
public abstract OmitTf omitTf
public abstract String analyzer
public abstract ExcludeFromAll excludeFromAll
SearchableAllMetaData.enable()public abstract boolean override
public abstract SpellCheck spellCheck
Note, most times this is not requried to be configured, since by default, the spell check index uses the "all" property.
public abstract String converter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||