Package org.hibernate.search.impl
Class ConfigContext
java.lang.Object
org.hibernate.search.impl.ConfigContext
Provides access to some default configuration settings (eg default
Analyzer or default
Similarity) and checks whether certain optional libraries are available.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnalyzerDef(AnalyzerDef analyzerDef, XAnnotatedElement annotatedElement) Add an analyzer definition which was defined as annotation.voidaddFacetFieldName(String facetFieldName) Add a facet field name.voidaddGlobalAnalyzerDef(AnalyzerDef analyzerDef) buildLazyAnalyzer(String name) boolean
-
Constructor Details
-
ConfigContext
-
-
Method Details
-
addAnalyzerDef
Add an analyzer definition which was defined as annotation.- Parameters:
analyzerDef- the analyzer definition annotationannotatedElement- the annotated element it was defined on
-
addFacetFieldName
Add a facet field name.- Parameters:
facetFieldName- the name of the faceted field
-
getFacetFieldNames
-
addGlobalAnalyzerDef
-
buildLazyAnalyzer
-
getLazyAnalyzers
-
getDefaultNullToken
-
getDefaultAnalyzer
-
getDefaultSimilarity
-
getLuceneMatchVersion
-
initLazyAnalyzers
-
isJpaPresent
public boolean isJpaPresent()
-