|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface SearchableAllMetaData
For Searchable classes, allows to control the "all" meta-data
definitions per searchable class.
The "all" meta-data is an internal meta-data, which holds searchable information of all the class searchable content.
The definitions here are per searchable class definitions. For global
control of the "all" meta-data see CompassEnvironment.All
settings.
Searchable| Optional Element Summary | |
|---|---|
EnableAll |
enable
Controls if the searchable class will create it's own internal "all" meta-data. |
ExcludeAlias |
excludeAlias
Controls is the alias will be stored within the "all" proeprty or not. |
String |
name
The name of the "all" meta-data that will be created. |
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. |
SpellCheck |
spellCheck
Should this propety be included in the spell check index. |
TermVector |
termVector
The term vector for the "all" meta-data. |
public abstract String name
public abstract EnableAll enable
If using the "all" meta-data, it can be controlled using the
SearchableAllMetaData annotation.
public abstract TermVector termVector
public abstract ExcludeAlias excludeAlias
public abstract OmitNorms omitNorms
public abstract OmitTf omitTf
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||