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

java.lang.Object
  extended by org.compass.core.lucene.engine.query.LuceneSearchEngineQuerySpanNearBuilder
All Implemented Interfaces:
SearchEngineQueryBuilder.SearchEngineQuerySpanNearBuilder

public class LuceneSearchEngineQuerySpanNearBuilder
extends Object
implements SearchEngineQueryBuilder.SearchEngineQuerySpanNearBuilder

Author:
kimchy

Constructor Summary
LuceneSearchEngineQuerySpanNearBuilder(LuceneSearchEngineFactory searchEngineFactory, String resourceProperty)
           
 
Method Summary
 SearchEngineQueryBuilder.SearchEngineQuerySpanNearBuilder add(SearchEngineQuery.SearchEngineSpanQuery query)
           
 SearchEngineQueryBuilder.SearchEngineQuerySpanNearBuilder add(String value)
           
 SearchEngineQueryBuilder.SearchEngineQuerySpanNearBuilder setInOrder(boolean inOrder)
           
 SearchEngineQueryBuilder.SearchEngineQuerySpanNearBuilder setSlop(int slop)
           
 SearchEngineQuery.SearchEngineSpanQuery toQuery()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneSearchEngineQuerySpanNearBuilder

public LuceneSearchEngineQuerySpanNearBuilder(LuceneSearchEngineFactory searchEngineFactory,
                                              String resourceProperty)
Method Detail

setSlop

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

setInOrder

public SearchEngineQueryBuilder.SearchEngineQuerySpanNearBuilder setInOrder(boolean inOrder)
Specified by:
setInOrder in interface SearchEngineQueryBuilder.SearchEngineQuerySpanNearBuilder

add

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

add

public SearchEngineQueryBuilder.SearchEngineQuerySpanNearBuilder add(SearchEngineQuery.SearchEngineSpanQuery query)
Specified by:
add in interface SearchEngineQueryBuilder.SearchEngineQuerySpanNearBuilder

toQuery

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


Copyright (c) 2004-2009 The Compass Project.