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

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

public class LuceneSearchEngineMultiPropertyQueryStringBuilder
extends Object
implements SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder

Author:
kimchy

Constructor Summary
LuceneSearchEngineMultiPropertyQueryStringBuilder(LuceneSearchEngineFactory searchEngineFactory, String queryString)
           
 
Method Summary
 SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder add(String resourcePropertyName)
           
 SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder forceAnalyzer()
           
 SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder setAnalyzer(String analyzer)
           
 SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder setAnalyzerByAlias(String alias)
           
 SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder setQueryParser(String queryParser)
           
 SearchEngineQuery toQuery()
           
 SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder useAndDefaultOperator()
           
 SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder useOrDefaultOperator()
           
 SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder useSpellCheck()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneSearchEngineMultiPropertyQueryStringBuilder

public LuceneSearchEngineMultiPropertyQueryStringBuilder(LuceneSearchEngineFactory searchEngineFactory,
                                                         String queryString)
Method Detail

setAnalyzer

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

setAnalyzerByAlias

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

add

public SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder add(String resourcePropertyName)
Specified by:
add in interface SearchEngineQueryBuilder.SearchEngineMultiPropertyQueryStringBuilder

useAndDefaultOperator

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

useOrDefaultOperator

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

forceAnalyzer

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

setQueryParser

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

useSpellCheck

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

toQuery

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


Copyright (c) 2004-2009 The Compass Project.