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

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

public class LuceneSearchEngineMultiPhraseQueryBuilder
extends Object
implements SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder

Author:
kimchy

Constructor Summary
LuceneSearchEngineMultiPhraseQueryBuilder(LuceneSearchEngine searchEngine, String resourceProperty)
           
 
Method Summary
 SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder add(String value)
           
 SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder add(String[] values)
           
 SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder add(String[] values, int position)
           
 SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder add(String value, int position)
           
 SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder setSlop(int slop)
           
 SearchEngineQuery toQuery()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneSearchEngineMultiPhraseQueryBuilder

public LuceneSearchEngineMultiPhraseQueryBuilder(LuceneSearchEngine searchEngine,
                                                 String resourceProperty)
Method Detail

setSlop

public SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder setSlop(int slop)
Specified by:
setSlop in interface SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder

add

public SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder add(String value)
Specified by:
add in interface SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder

add

public SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder add(String value,
                                                                        int position)
Specified by:
add in interface SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder

add

public SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder add(String[] values)
Specified by:
add in interface SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder

add

public SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder add(String[] values,
                                                                        int position)
Specified by:
add in interface SearchEngineQueryBuilder.SearchEngineMultiPhraseQueryBuilder

toQuery

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


Copyright (c) 2004-2008 The Compass Project.