Package org.hibernate.search.annotations
Annotation Type NumericField
@Deprecated
@Retention(RUNTIME)
@Target({METHOD,FIELD})
@Documented
@Repeatable(NumericFields.class)
public @interface NumericField
Deprecated.
This annotation does not do anything anymore and is not necessary. It can be removed safely.
- Author:
- Gustavo Fernandes
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDeprecated.intDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.Default precision step, mimicking Lucene's default precision step value.
-
Field Details
-
PRECISION_STEP_DEFAULT
static final int PRECISION_STEP_DEFAULTDeprecated.Default precision step, mimicking Lucene's default precision step value.- See Also:
-
-
Element Details
-
precisionStep
int precisionStepDeprecated.- Returns:
- Precision step for numeric field. The less, more terms will be present in the index.
- Default:
- 4
-
forField
String forFieldDeprecated.- Returns:
- Field name this annotation refers to. If omitted, refers to the @Field annotation in case there's only one
- Default:
- ""
-