org.compass.core.lucene.engine.query
Class LuceneSearchEngineQueryStringBuilder

java.lang.Object
  extended by org.compass.core.lucene.engine.query.LuceneSearchEngineQueryStringBuilder
All Implemented Interfaces:
SearchEngineQueryBuilder.SearchEngineQueryStringBuilder, SearchEngineQueryBuilder.SearchEngineToQuery

public class LuceneSearchEngineQueryStringBuilder
extends Object
implements SearchEngineQueryBuilder.SearchEngineQueryStringBuilder

Author:
kimchy

Constructor Summary
LuceneSearchEngineQueryStringBuilder(LuceneSearchEngine searchEngine, String queryString)
           
 
Method Summary
 SearchEngineQueryBuilder.SearchEngineQueryStringBuilder forceAnalyzer()
           
 SearchEngineQueryBuilder.SearchEngineQueryStringBuilder setAnalyzer(String analyzer)
           
 SearchEngineQueryBuilder.SearchEngineQueryStringBuilder setAnalyzerByAlias(String alias)
           
 SearchEngineQueryBuilder.SearchEngineQueryStringBuilder setDefaultSearchProperty(String defaultSearchProperty)
           
 SearchEngineQueryBuilder.SearchEngineQueryStringBuilder setQueryParser(String queryParser)
           
 SearchEngineQuery toQuery()
           
 SearchEngineQueryBuilder.SearchEngineQueryStringBuilder useAndDefaultOperator()
           
 SearchEngineQueryBuilder.SearchEngineQueryStringBuilder useOrDefaultOperator()
           
 SearchEngineQueryBuilder.SearchEngineQueryStringBuilder useSpellCheck()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneSearchEngineQueryStringBuilder

public LuceneSearchEngineQueryStringBuilder(LuceneSearchEngine searchEngine,
                                            String queryString)
Method Detail

setAnalyzer

public SearchEngineQueryBuilder.SearchEngineQueryStringBuilder setAnalyzer(String analyzer)
Specified by:
setAnalyzer in interface SearchEngineQueryBuilder.SearchEngineQueryStringBuilder

setAnalyzerByAlias

public SearchEngineQueryBuilder.SearchEngineQueryStringBuilder setAnalyzerByAlias(String alias)
Specified by:
setAnalyzerByAlias in interface SearchEngineQueryBuilder.SearchEngineQueryStringBuilder

setDefaultSearchProperty

public SearchEngineQueryBuilder.SearchEngineQueryStringBuilder setDefaultSearchProperty(String defaultSearchProperty)
Specified by:
setDefaultSearchProperty in interface SearchEngineQueryBuilder.SearchEngineQueryStringBuilder

useAndDefaultOperator

public SearchEngineQueryBuilder.SearchEngineQueryStringBuilder useAndDefaultOperator()
Specified by:
useAndDefaultOperator in interface SearchEngineQueryBuilder.SearchEngineQueryStringBuilder

useOrDefaultOperator

public SearchEngineQueryBuilder.SearchEngineQueryStringBuilder useOrDefaultOperator()
Specified by:
useOrDefaultOperator in interface SearchEngineQueryBuilder.SearchEngineQueryStringBuilder

forceAnalyzer

public SearchEngineQueryBuilder.SearchEngineQueryStringBuilder forceAnalyzer()
Specified by:
forceAnalyzer in interface SearchEngineQueryBuilder.SearchEngineQueryStringBuilder

setQueryParser

public SearchEngineQueryBuilder.SearchEngineQueryStringBuilder setQueryParser(String queryParser)
Specified by:
setQueryParser in interface SearchEngineQueryBuilder.SearchEngineQueryStringBuilder

useSpellCheck

public SearchEngineQueryBuilder.SearchEngineQueryStringBuilder useSpellCheck()
Specified by:
useSpellCheck in interface SearchEngineQueryBuilder.SearchEngineQueryStringBuilder

toQuery

public SearchEngineQuery toQuery()
Specified by:
toQuery in interface SearchEngineQueryBuilder.SearchEngineToQuery


Copyright (c) 2004-2008 The Compass Project.