public final class AnnotationProcessingHelper extends Object
FieldMetadata
. In the long run
this class might become obsolete.Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.analysis.Analyzer |
getAnalyzer(Analyzer analyzerAnn,
ConfigContext configContext) |
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 org.apache.lucene.document.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 org.apache.lucene.document.Field.TermVector |
getTermVector(TermVector vector) |
public static org.apache.lucene.document.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 org.apache.lucene.document.Field.TermVector getTermVector(TermVector vector)
public static org.apache.lucene.analysis.Analyzer getAnalyzer(Analyzer analyzerAnn, ConfigContext configContext)
public static Integer getPrecisionStep(NumericField numericFieldAnn)
public static String getFieldName(Annotation fieldAnn)
Copyright © 2006–2016 Hibernate. All rights reserved.