Package org.hibernate.search.annotations
Annotation Type ClassBridge
This annotation allows a user to apply an implementation
class to a Lucene document to manipulate it in any way
the user sees fit.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDefine an analyzer for the field, default to the inherited analyzer.A float value of the amount of Lucene defined boost to apply to a field.Defines how the Field should be indexed defaults to tokenized.Field name, default to the JavaBean property name.Array of fields to work with.Should the value be stored in the document.Define term vector storage requirements, default to NO.
-
Element Details
-
name
String nameField name, default to the JavaBean property name.- Default:
""
-
store
Store storeShould the value be stored in the document. defaults to no.- Default:
NO
-
analyzer
Analyzer analyzerDefine an analyzer for the field, default to the inherited analyzer.- Default:
@org.hibernate.search.annotations.Analyzer
-
index
Index indexDefines how the Field should be indexed defaults to tokenized.- Default:
TOKENIZED
-
termVector
TermVector termVectorDefine term vector storage requirements, default to NO.- Default:
NO
-
boost
Boost boostA float value of the amount of Lucene defined boost to apply to a field.- Default:
@org.hibernate.search.annotations.Boost(1.0f)
-
impl
Class<?> implUser supplied class to manipulate document in whatever mysterious ways they wish to. -
params
Parameter[] paramsArray of fields to work with. The impl class above will work on these fields.- Default:
{}
-