org.hibernate.search.impl
Class InitContext
java.lang.Object
org.hibernate.search.impl.InitContext
public class InitContext
- extends java.lang.Object
Provides access to some default configuration settings (eg default Analyzer
or default
Similarity
) and checks whether certain optional libraries are available.
- Author:
- Emmanuel Bernard, Hardy Ferentschik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitContext
public InitContext(SearchConfiguration cfg)
addAnalyzerDef
public void addAnalyzerDef(AnalyzerDef ann)
buildLazyAnalyzer
public org.apache.lucene.analysis.Analyzer buildLazyAnalyzer(java.lang.String name)
getLazyAnalyzers
public java.util.List<DelegateNamedAnalyzer> getLazyAnalyzers()
getDefaultAnalyzer
public org.apache.lucene.analysis.Analyzer getDefaultAnalyzer()
getDefaultSimilarity
public org.apache.lucene.search.Similarity getDefaultSimilarity()
initLazyAnalyzers
public java.util.Map<java.lang.String,org.apache.lucene.analysis.Analyzer> initLazyAnalyzers()
isJpaPresent
public boolean isJpaPresent()
Copyright © 2006-2010 Hibernate. All Rights Reserved.