org.compass.core.engine
Interface SearchEngineQuery

All Known Subinterfaces:
SearchEngineQuery.SearchEngineSpanQuery
All Known Implementing Classes:
LuceneSearchEngineQuery, LuceneSearchEngineQuery.LuceneSearchEngineSpanQuery

public interface SearchEngineQuery

Author:
kimchy

Nested Class Summary
static interface SearchEngineQuery.SearchEngineSpanQuery
           
 
Method Summary
 SearchEngineQuery addSort(CompassQuery.SortImplicitType implicitType)
           
 SearchEngineQuery addSort(CompassQuery.SortImplicitType implicitType, CompassQuery.SortDirection direction)
           
 SearchEngineQuery addSort(String propertyName)
           
 SearchEngineQuery addSort(String propertyName, CompassQuery.SortDirection direction)
           
 SearchEngineQuery addSort(String propertyName, CompassQuery.SortPropertyType type)
           
 SearchEngineQuery addSort(String propertyName, CompassQuery.SortPropertyType type, CompassQuery.SortDirection direction)
           
 SearchEngineQuery addSort(String propertyName, Locale locale)
           
 SearchEngineQuery addSort(String propertyName, Locale locale, CompassQuery.SortDirection direction)
           
 Object clone()
           
 long count(SearchEngine searchEngine)
           
 long count(SearchEngine searchEngine, float minimumScore)
           
 SearchEngineHits hits(SearchEngine searchEngine)
           
 boolean isSuggested()
           
 SearchEngineQuery rewrite()
           
 SearchEngineQuery setAliases(String[] aliases)
           
 SearchEngineQuery setBoost(float boost)
           
 SearchEngineQuery setFilter(SearchEngineQueryFilter filter)
           
 SearchEngineQuery setSubIndexes(String[] subindexes)
           
 

Method Detail

setBoost

SearchEngineQuery setBoost(float boost)

addSort

SearchEngineQuery addSort(String propertyName)

addSort

SearchEngineQuery addSort(String propertyName,
                          CompassQuery.SortDirection direction)

addSort

SearchEngineQuery addSort(String propertyName,
                          CompassQuery.SortPropertyType type)

addSort

SearchEngineQuery addSort(String propertyName,
                          CompassQuery.SortPropertyType type,
                          CompassQuery.SortDirection direction)

addSort

SearchEngineQuery addSort(CompassQuery.SortImplicitType implicitType)

addSort

SearchEngineQuery addSort(CompassQuery.SortImplicitType implicitType,
                          CompassQuery.SortDirection direction)

addSort

SearchEngineQuery addSort(String propertyName,
                          Locale locale,
                          CompassQuery.SortDirection direction)

addSort

SearchEngineQuery addSort(String propertyName,
                          Locale locale)

setSubIndexes

SearchEngineQuery setSubIndexes(String[] subindexes)

setAliases

SearchEngineQuery setAliases(String[] aliases)

setFilter

SearchEngineQuery setFilter(SearchEngineQueryFilter filter)

rewrite

SearchEngineQuery rewrite()

isSuggested

boolean isSuggested()

hits

SearchEngineHits hits(SearchEngine searchEngine)
                      throws SearchEngineException
Throws:
SearchEngineException

count

long count(SearchEngine searchEngine)

count

long count(SearchEngine searchEngine,
           float minimumScore)

clone

Object clone()
             throws CloneNotSupportedException
Throws:
CloneNotSupportedException


Copyright (c) 2004-2009 The Compass Project.