use of org.jboss.tools.hibernate.search.runtime.common.AbstractQueryParser in project jbosstools-hibernate by jbosstools.
the class FacadeFactoryImpl method createQueryParser.
@Override
public IQueryParser createQueryParser(String defaultField, IAnalyzer analyzer) {
Analyzer luceneAnalyzer = (Analyzer) ((IFacade) analyzer).getTarget();
QueryParser targetParser = new QueryParser(Version.LUCENE_34, defaultField, luceneAnalyzer);
return new AbstractQueryParser(this, targetParser) {
};
}
Aggregations