|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface SearchableDynamicMetaData
A dynamic meta data evaluation of the given expression using an expression language library.
| Required Element Summary | |
|---|---|
String |
converter
The dynamic converter lookup name. |
String |
expression
The expression to be evaluated by the dynamic expression evaluation library. |
String |
name
The name of the meta-data. |
| 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. |
ExcludeFromAll |
excludeFromAll
Specifies if this meta-data should be excluded from the generated "all" meta-data. |
String |
format
The format to apply to the value. |
Index |
index
Specifies whether and how a meta-data proeprty should be indexed. |
String |
nullValue
A null value to use to store in the index when the property has a null
value. |
OmitNorms |
omitNorms
|
OmitTf |
omitTf
Expert: If set, omit tf from postings of this indexed field. |
boolean |
override
If there is already an existing id with the same field/property name defined, will override it. |
Reverse |
reverse
Specifies whether and how the meta-data proeprty should value will be revered. |
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. |
Class |
type
If using a format, the type of the expression result. |
| Element Detail |
|---|
public abstract String name
public abstract String expression
public abstract String converter
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 Reverse reverse
public abstract String analyzer
public abstract ExcludeFromAll excludeFromAll
SearchableAllMetaData.enable()public abstract boolean override
public abstract String format
public abstract Class type
public abstract String nullValue
null
value. Defaults to not storing null values if the globabl setting of
compass.mapping.nullvalue is not set. If it set, disabling the null
value can be done by setting it to CompassEnvironment.NullValue.DISABLE_NULL_VALUE_FOR_MAPPING
value ($disable$).
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 | |||||||||