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 AnalyzerReference |
getAnalyzerReference(IndexedTypeIdentifier indexedTypeIdentifier,
DocumentFieldPath fieldPath,
Analyzer analyzerAnn,
Normalizer normalizerAnn,
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 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 AnalyzerReference |
getNormalizerReference(Normalizer normalizerAnn,
ConfigContext configContext,
IndexManagerType indexManagerType) |
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.Indexindex - 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 AnalyzerReference getAnalyzerReference(IndexedTypeIdentifier indexedTypeIdentifier, DocumentFieldPath fieldPath, Analyzer analyzerAnn, Normalizer normalizerAnn, ConfigContext configContext, IndexManagerType indexManagerType)
public static AnalyzerReference getAnalyzerReference(Analyzer analyzerAnn, ConfigContext configContext, IndexManagerType indexManagerType)
public static AnalyzerReference getNormalizerReference(Normalizer normalizerAnn, ConfigContext configContext, IndexManagerType indexManagerType)
public static Integer getPrecisionStep(NumericField numericFieldAnn)
public static String getFieldName(Annotation fieldAnn)
Copyright © 2006–2017 Hibernate. All rights reserved.