public LuceneSearchEngineMultiPropertyQueryStringBuilder( LuceneSearchEngine searchEngine, String queryString) { this.searchEngine = searchEngine; this.queryString = queryString; this.analyzer = searchEngine.getSearchEngineFactory().getAnalyzerManager().getSearchAnalyzer(); this.queryParser = searchEngine.getSearchEngineFactory().getQueryParserManager().getDefaultQueryParser(); }
public SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder setAnalyzerByAlias( String alias) { this.analyzer = searchEngine .getSearchEngineFactory() .getAnalyzerManager() .getAnalyzerByAliasMustExists(alias); return this; }
public SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder setQueryParser( String queryParser) { this.queryParser = searchEngine.getSearchEngineFactory().getQueryParserManager().getQueryParser(queryParser); return this; }