org.hibernate.search.engine.impl
Class AnnotationProcessingHelper
java.lang.Object
org.hibernate.search.engine.impl.AnnotationProcessingHelper
public final class AnnotationProcessingHelper
- extends Object
A helper classes dealing with the processing of annotation. It is there to share some annotation processing
between the document builder and other metadata classes, eg FieldMetadata
. In the long run
this class might become obsolete.
- Author:
- Hardy Ferentschik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationProcessingHelper
public AnnotationProcessingHelper()
getIndex
public 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
- Parameters:
index
- is the field indexed or notanalyze
- should the field be analyzednorms
- are norms to be added to index
- Returns:
- Returns the Lucene
Field.Index
value for a given field
getBoost
public static Float getBoost(org.hibernate.annotations.common.reflection.XProperty member,
Field fieldAnn)
getDynamicBoost
public static BoostStrategy getDynamicBoost(org.hibernate.annotations.common.reflection.XProperty member)
getTermVector
public static org.apache.lucene.document.Field.TermVector getTermVector(TermVector vector)
getAnalyzer
public static org.apache.lucene.analysis.Analyzer getAnalyzer(Analyzer analyzerAnn,
ConfigContext context)
getPrecisionStep
public static Integer getPrecisionStep(NumericField numericFieldAnn)
Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved