|
||||||||||
| 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. |
boolean |
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. |
boolean |
override
Controls if the constant value should override the same constant defined elsewhere for the same searchable class. |
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 String analyzer
public abstract boolean excludeFromAll
Searchable.enableAll()public abstract boolean override
public abstract String converter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||