Annotation Interface Field
Annotation used for marking a property as indexable.
-
Optional Element Summary
Optional Elements -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for theindexNullAs()parameter indicating thatnullvalues should be indexed using the null token given through the org.hibernate.search.cfg.Environment#DEFAULT_NULL_TOKEN configuration property.static final StringDefault value for theindexNullAs()parameter.
-
Field Details
-
DO_NOT_INDEX_NULL
Default value for theindexNullAs()parameter. Indicates thatnullvalues should not be indexed.- See Also:
-
DEFAULT_NULL_TOKEN
Value for theindexNullAs()parameter indicating thatnullvalues should be indexed using the null token given through the org.hibernate.search.cfg.Environment#DEFAULT_NULL_TOKEN configuration property. If no value is given for that property, the token_null_will be used.- See Also:
-
-
Element Details
-
name
String name- Returns:
- Returns the field name. Defaults to the JavaBean property name.
- Default:
""
-
indexNullAs
String indexNullAs- Returns:
- Returns the value to be used for indexing
null. Per defaultField.NO_NULL_INDEXINGis returned indicating that null values are not indexed.
- Default:
"__DO_NOT_INDEX_NULL__"
-