|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value={METHOD,FIELD}) @Documented public @interface Field
Mark a property as indexable
Optional Element Summary | |
---|---|
Analyzer |
analyzer
Define an analyzer for the field, default to the inherited analyzer |
Boost |
boost
Boost factor, default 1 |
FieldBridge |
bridge
Field bridge used. |
Index |
index
Defines how the Field should be indexed defaults to tokenized |
java.lang.String |
name
Field name, default to the JavaBean property name |
Store |
store
Should the value be stored in the document defaults to no. |
TermVector |
termVector
Define term vector storage requirements, default to NO. |
public abstract java.lang.String name
public abstract Store store
public abstract Index index
public abstract TermVector termVector
public abstract Analyzer analyzer
public abstract Boost boost
public abstract FieldBridge bridge
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |