public final class AnnotationProcessingHelper extends Object
FieldMetadata
. In the long run
this class might become obsolete.Modifier and Type | Method and Description |
---|---|
static AnalyzerReference |
getAnalyzerReference(Analyzer analyzerAnn,
ConfigContext configContext,
IndexManagerType indexManagerType) |
static Float |
getBoost(org.hibernate.annotations.common.reflection.XProperty member,
Annotation fieldAnn) |
static BoostStrategy |
getDynamicBoost(org.hibernate.annotations.common.reflection.XAnnotatedElement element) |
static String |
getFieldName(Annotation fieldAnn) |
static Field.Index |
getIndex(Index index,
Analyze analyze,
Norms norms)
Using the passed field (or class bridge) settings determines the Lucene
Field.Index |
static Integer |
getPrecisionStep(NumericField numericFieldAnn) |
static Field.TermVector |
getTermVector(TermVector vector) |
public static Field.Index getIndex(Index index, Analyze analyze, Norms norms)
Field.Index
index
- is the field indexed or notanalyze
- should the field be analyzednorms
- are norms to be added to indexField.Index
value for a given fieldpublic static Float getBoost(org.hibernate.annotations.common.reflection.XProperty member, Annotation fieldAnn)
public static BoostStrategy getDynamicBoost(org.hibernate.annotations.common.reflection.XAnnotatedElement element)
public static Field.TermVector getTermVector(TermVector vector)
public static AnalyzerReference getAnalyzerReference(Analyzer analyzerAnn, ConfigContext configContext, IndexManagerType indexManagerType)
public static Integer getPrecisionStep(NumericField numericFieldAnn)
public static String getFieldName(Annotation fieldAnn)
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved