Uses of Interface
org.compass.core.CompassQuery

Packages that use CompassQuery
org.compass.core   
org.compass.core.engine.spellcheck   
org.compass.core.impl   
org.compass.core.lucene.engine.spellcheck   
org.compass.core.lucene.util   
org.compass.core.support.search   
 

Uses of CompassQuery in org.compass.core
 

Subinterfaces of CompassQuery in org.compass.core
static interface CompassQuery.CompassSpanQuery
          An extension to the CompassQuery interface.
 

Methods in org.compass.core that return CompassQuery
 CompassQuery CompassQuery.addSort(CompassQuery.SortImplicitType implicitType)
          Adds sorting on implicit types, which are not direct properties values.
 CompassQuery CompassQuery.addSort(CompassQuery.SortImplicitType implicitType, CompassQuery.SortDirection direction)
          Adds sorting on implicit types, which are not direct properties values.
 CompassQuery CompassQuery.addSort(String propertyName)
          Adds sorting on the given property name.
 CompassQuery CompassQuery.addSort(String propertyName, CompassQuery.SortDirection direction)
          Adds sorting on the given property name.
 CompassQuery CompassQuery.addSort(String propertyName, CompassQuery.SortPropertyType type)
          Adds sorting on the given property name, and using the given property type.
 CompassQuery CompassQuery.addSort(String propertyName, CompassQuery.SortPropertyType type, CompassQuery.SortDirection direction)
          Adds sorting on the given property name, and using the given property type.
 CompassQuery CompassQuery.addSort(String propertyName, Locale locale)
          Adds sorting on the given property name, and using the given locale.
 CompassQuery CompassQuery.addSort(String propertyName, Locale locale, CompassQuery.SortDirection direction)
          Adds sorting on the given property name, and using the given locale.
 CompassQuery CompassQueryBuilder.alias(String aliasValue)
          Returns a query that exactly match the given alias.
 CompassQuery CompassQueryBuilder.between(String name, Object low, Object high, boolean inclusive)
          Creates a query where the resource property is between the given values.
 CompassQuery CompassQueryBuilder.between(String name, Object low, Object high, boolean inclusive, boolean constantScore)
          Creates a query where the resource property is between the given values.
 CompassQuery CompassQueryBuilder.fuzzy(String name, String value)
          Creates a fuzzy query for the given resource property and the value.
 CompassQuery CompassQueryBuilder.fuzzy(String name, String value, float minimumSimilarity)
          Creates a fuzzy query for the given resource property and the value.
 CompassQuery CompassQueryBuilder.fuzzy(String name, String value, float minimumSimilarity, int prefixLength)
          Creates a fuzzy query for the given resource property and the value.
 CompassQuery CompassQueryBuilder.ge(String name, Object value)
          Creates a query where the resource property is greater or equal (>=) to the given value.
 CompassQuery CompassHitsOperations.getQuery()
          Retrurn the query that resulted in this search hits.
 CompassQuery CompassQuery.getSuggestedQuery()
          Returns the suggested query (based on spell check).
 CompassQuery CompassHitsOperations.getSuggestedQuery()
          Returns a suggested query (based on spell check).
 CompassQuery CompassQueryBuilder.gt(String name, Object value)
          Creates a query where the resource property is greater than (>) to the given value.
 CompassQuery CompassQueryBuilder.le(String name, Object value)
          Creates a query where the resource property is less or equal (<=) to the given value.
 CompassQuery CompassQueryBuilder.lt(String name, Object value)
          Creates a query where the resource property is less than (<) the given value.
 CompassQuery CompassQueryBuilder.matchAll()
          Creates a query that match all documents.
 CompassQuery CompassQueryBuilder.polyAlias(String aliasValue)
          Returns a query that match the given alias or any extedning aliases.
 CompassQuery CompassQueryBuilder.prefix(String name, String prefix)
          Creates a query where the resource property values starts with the given prefix.
 CompassQuery CompassQuery.rewrite()
          Causes the query to be rewritten before executed to search.
 CompassQuery CompassQuery.setAliases(String... aliases)
          Narrows down the query to be executed only against the given aliases.
 CompassQuery CompassQuery.setBoost(float boost)
          Sets the boost for this query to boost.
 CompassQuery CompassQuery.setFilter(CompassQueryFilter filter)
          Sets a filter to the query.
 CompassQuery CompassQuery.setSubIndexes(String... subIndexes)
          Narrows down the query to be executed only against the given sub indexes.
 CompassQuery CompassQuery.setTypes(Class... types)
          Narrows down the query to be executed only against the given types.
 CompassQuery CompassQueryBuilder.term(String name, Object value)
          Creates a query where the resource property must have the given value.
 CompassQuery CompassQueryBuilder.ToCompassQuery.toQuery()
          Create the query.
 CompassQuery CompassQueryBuilder.wildcard(String name, String wildcard)
          Creates a query where the resource property values match the given wildcard.
 

Methods in org.compass.core with parameters of type CompassQuery
 CompassQueryBuilder.CompassBooleanQueryBuilder CompassQueryBuilder.CompassBooleanQueryBuilder.addMust(CompassQuery query)
          Hits must match the given query.
 CompassQueryBuilder.CompassBooleanQueryBuilder CompassQueryBuilder.CompassBooleanQueryBuilder.addMustNot(CompassQuery query)
          Hits must not match the given query.
 CompassQueryBuilder.CompassBooleanQueryBuilder CompassQueryBuilder.CompassBooleanQueryBuilder.addShould(CompassQuery query)
          Hits should match the given query.
 void CompassTemplate.delete(CompassQuery query)
           
 void CompassOperations.delete(CompassQuery query)
          Deletes all entries in the index that match the given query.
 CompassQueryFilter CompassQueryFilterBuilder.query(CompassQuery query)
          Creates a query filter that is based on the given compass query.
 

Uses of CompassQuery in org.compass.core.engine.spellcheck
 

Methods in org.compass.core.engine.spellcheck that return CompassQuery
 CompassQuery SearchEngineSpellCheckManager.suggest(CompassQuery query)
          Suggests a query based on the given query.
 

Methods in org.compass.core.engine.spellcheck with parameters of type CompassQuery
 CompassQuery SearchEngineSpellCheckManager.suggest(CompassQuery query)
          Suggests a query based on the given query.
 

Uses of CompassQuery in org.compass.core.impl
 

Classes in org.compass.core.impl that implement CompassQuery
 class DefaultCompassQuery
           
static class DefaultCompassQuery.DefaultCompassSpanQuey
           
 

Methods in org.compass.core.impl that return CompassQuery
 CompassQuery DefaultCompassQuery.addSort(CompassQuery.SortImplicitType implicitType)
           
 CompassQuery DefaultCompassQuery.addSort(CompassQuery.SortImplicitType implicitType, CompassQuery.SortDirection direction)
           
 CompassQuery DefaultCompassQuery.addSort(String name)
           
 CompassQuery DefaultCompassQuery.addSort(String name, CompassQuery.SortDirection direction)
           
 CompassQuery DefaultCompassQuery.addSort(String name, CompassQuery.SortPropertyType type)
           
 CompassQuery DefaultCompassQuery.addSort(String name, CompassQuery.SortPropertyType type, CompassQuery.SortDirection direction)
           
 CompassQuery DefaultCompassQuery.addSort(String propertyName, Locale locale)
           
 CompassQuery DefaultCompassQuery.addSort(String propertyName, Locale locale, CompassQuery.SortDirection direction)
           
 CompassQuery DefaultCompassQueryBuilder.alias(String aliasValue)
           
 CompassQuery DefaultCompassQueryBuilder.between(String name, Object low, Object high, boolean inclusive)
           
 CompassQuery DefaultCompassQueryBuilder.between(String name, Object low, Object high, boolean inclusive, boolean constantScore)
           
 CompassQuery DefaultCompassQueryBuilder.fuzzy(String name, String value)
           
 CompassQuery DefaultCompassQueryBuilder.fuzzy(String name, String value, float minimumSimilarity)
           
 CompassQuery DefaultCompassQueryBuilder.fuzzy(String name, String value, float minimumSimilarity, int prefixLength)
           
 CompassQuery DefaultCompassQueryBuilder.ge(String name, Object value)
           
 CompassQuery DefaultCompassHits.getQuery()
           
 CompassQuery DefaultCompassDetachedHits.getQuery()
           
 CompassQuery DefaultCompassQuery.getSuggestedQuery()
           
 CompassQuery DefaultCompassHits.getSuggestedQuery()
           
 CompassQuery DefaultCompassDetachedHits.getSuggestedQuery()
           
 CompassQuery DefaultCompassQueryBuilder.gt(String name, Object value)
           
 CompassQuery DefaultCompassQueryBuilder.le(String name, Object value)
           
 CompassQuery DefaultCompassQueryBuilder.lt(String name, Object value)
           
 CompassQuery DefaultCompassQueryBuilder.matchAll()
           
 CompassQuery DefaultCompassQueryBuilder.polyAlias(String aliasValue)
           
 CompassQuery DefaultCompassQueryBuilder.prefix(String name, String prefix)
           
 CompassQuery DefaultCompassQuery.rewrite()
           
 CompassQuery DefaultCompassQuery.setAliases(String... aliases)
           
 CompassQuery DefaultCompassQuery.setBoost(float boost)
           
 CompassQuery DefaultCompassQuery.setFilter(CompassQueryFilter filter)
           
 CompassQuery DefaultCompassQuery.setSubIndexes(String... subIndexes)
           
 CompassQuery DefaultCompassQuery.setTypes(Class... types)
           
 CompassQuery DefaultCompassQueryBuilder.term(String name, Object value)
           
 CompassQuery DefaultCompassQueryBuilder.DefaultCompassBooleanQueryBuilder.toQuery()
           
 CompassQuery DefaultCompassQueryBuilder.DefaultCompassMultiPhraseQueryBuilder.toQuery()
           
 CompassQuery DefaultCompassQueryBuilder.DefaultCompassQueryStringBuilder.toQuery()
           
 CompassQuery DefaultCompassQueryBuilder.DefaultCompassMultiPropertyQueryStringBuilder.toQuery()
           
 CompassQuery DefaultCompassQueryBuilder.DefaultCompassMoreLikeThisQuery.toQuery()
           
 CompassQuery DefaultCompassQueryBuilder.wildcard(String name, String wildcard)
           
 

Methods in org.compass.core.impl with parameters of type CompassQuery
 CompassQueryBuilder.CompassBooleanQueryBuilder DefaultCompassQueryBuilder.DefaultCompassBooleanQueryBuilder.addMust(CompassQuery query)
           
 CompassQueryBuilder.CompassBooleanQueryBuilder DefaultCompassQueryBuilder.DefaultCompassBooleanQueryBuilder.addMustNot(CompassQuery query)
           
 CompassQueryBuilder.CompassBooleanQueryBuilder DefaultCompassQueryBuilder.DefaultCompassBooleanQueryBuilder.addShould(CompassQuery query)
           
 void DefaultCompassSession.delete(CompassQuery query)
           
 CompassQueryFilter DefaultCompassQueryFilterBuilder.query(CompassQuery query)
           
 

Constructors in org.compass.core.impl with parameters of type CompassQuery
DefaultCompassDetachedHits(InternalCompassHits hits, InternalCompassSession session, int from, int size, CompassQuery query, CompassQuery suggestedQuery)
           
DefaultCompassHits(SearchEngineHits hits, InternalCompassSession session, CompassQuery query)
           
 

Uses of CompassQuery in org.compass.core.lucene.engine.spellcheck
 

Methods in org.compass.core.lucene.engine.spellcheck that return CompassQuery
 CompassQuery DefaultLuceneSpellCheckManager.suggest(CompassQuery query)
           
 

Methods in org.compass.core.lucene.engine.spellcheck with parameters of type CompassQuery
 CompassQuery DefaultLuceneSpellCheckManager.suggest(CompassQuery query)
           
 

Uses of CompassQuery in org.compass.core.lucene.util
 

Methods in org.compass.core.lucene.util that return CompassQuery
static CompassQuery LuceneHelper.createCompassQuery(CompassSession session, Query query)
          Creates a new CompassQuery based on a Lucene Query.
 

Methods in org.compass.core.lucene.util with parameters of type CompassQuery
static LuceneSearchEngineQuery LuceneHelper.getLuceneSearchEngineQuery(CompassQuery query)
          Returns the underlying LuceneSearchEngineQuery of the given CompassQuery.
 

Uses of CompassQuery in org.compass.core.support.search
 

Methods in org.compass.core.support.search that return CompassQuery
protected  CompassQuery CompassSearchHelper.buildQuery(CompassSearchCommand searchCommand, CompassSession session)
          Acts as an extension point for search controller that wish to build different CompassQueries.
 CompassQuery CompassSearchCommand.getCompassQuery()
          Returns a compass query.
 

Constructors in org.compass.core.support.search with parameters of type CompassQuery
CompassSearchCommand(CompassQuery query)
          Constructs a new search command with the give search query.
CompassSearchCommand(CompassQuery query, Integer page)
          Constructs a new search command with the given query and the page number (in case CompassSearchHelper is used with pagination.
 



Copyright (c) 2004-2008 The Compass Project.