Spring Data Solr

Uses of Interface
org.springframework.data.solr.core.query.Query

Packages that use Query
org.springframework.data.solr.core Provides the classes necessary for Solr support. 
org.springframework.data.solr.core.query   
org.springframework.data.solr.repository.query   
org.springframework.data.solr.repository.support   
 

Uses of Query in org.springframework.data.solr.core
 

Methods in org.springframework.data.solr.core with parameters of type Query
<T> T
SolrOperations.queryForObject(Query query, Class<T> clazz)
          Execute the query against solr and return the first returned object
<T> T
SolrTemplate.queryForObject(Query query, Class<T> clazz)
           
<T> Page<T>
SolrOperations.queryForPage(Query query, Class<T> clazz)
          Execute the query against solr and retrun result as Page
<T> Page<T>
SolrTemplate.queryForPage(Query query, Class<T> clazz)
           
 

Uses of Query in org.springframework.data.solr.core.query
 

Subinterfaces of Query in org.springframework.data.solr.core.query
 interface FacetQuery
          Query to be used for faceting.
 interface HighlightQuery
           
 

Classes in org.springframework.data.solr.core.query that implement Query
 class SimpleFacetQuery
          Trivial implementation of FacetQuery
 class SimpleHighlightQuery
          Trivial implementation of HighlightQuery extending SimpleQuery.
 class SimpleQuery
          Full implementation of Query that allows multiple options like pagination, grouping,...
 

Methods in org.springframework.data.solr.core.query with type parameters of type Query
<T extends Query>
T
SimpleQuery.addFilterQuery(FilterQuery filterQuery)
           
<T extends Query>
T
Query.addFilterQuery(FilterQuery query)
          add query to filter results Corresponds to fq in solr
<T extends Query>
T
SimpleQuery.addGroupByField(Field field)
           
<T extends Query>
T
Query.addGroupByField(Field field)
          add the given field to those used for grouping result Corresponds to '' in solr
<T extends Query>
T
SimpleQuery.addGroupByField(String fieldname)
          add grouping on fieldname
<T extends Query>
T
SimpleQuery.addProjectionOnField(Field field)
           
<T extends Query>
T
Query.addProjectionOnField(Field field)
          add given Field to those included in result.
<T extends Query>
T
SimpleQuery.addProjectionOnField(String fieldname)
           
<T extends Query>
T
SimpleQuery.addProjectionOnFields(Field... fields)
           
<T extends Query>
T
SimpleQuery.addProjectionOnFields(String... fieldnames)
           
<T extends Query>
T
SimpleQuery.addSort(Sort sort)
           
<T extends Query>
T
Query.addSort(Sort sort)
          Add Sort to query
<T extends Query>
T
SimpleQuery.setPageRequest(Pageable pageable)
           
<T extends Query>
T
Query.setPageRequest(Pageable pageable)
          restrict result to entries on given page.
<T extends Query>
T
SimpleQuery.setTimeAllowed(Integer timeAllowed)
           
<T extends Query>
T
Query.setTimeAllowed(Integer timeAllowed)
          The time in milliseconds allowed for a search to finish.
 

Methods in org.springframework.data.solr.core.query that return Query
static Query SimpleQuery.fromQuery(Query source)
           
 

Methods in org.springframework.data.solr.core.query with parameters of type Query
static Query SimpleQuery.fromQuery(Query source)
           
static
<T extends SimpleQuery>
T
SimpleQuery.fromQuery(Query source, T destination)
           
static QueryFunction QueryFunction.query(Query query)
           
 

Uses of Query in org.springframework.data.solr.repository.query
 

Methods in org.springframework.data.solr.repository.query that return Query
protected  Query PartTreeSolrQuery.createQuery(SolrParameterAccessor parameterAccessor)
           
protected abstract  Query AbstractSolrQuery.createQuery(SolrParameterAccessor parameterAccessor)
           
protected  Query StringBasedSolrQuery.createQuery(SolrParameterAccessor parameterAccessor)
           
 

Methods in org.springframework.data.solr.repository.query with parameters of type Query
protected  void AbstractSolrQuery.appendProjection(Query query)
           
 

Uses of Query in org.springframework.data.solr.repository.support
 

Methods in org.springframework.data.solr.repository.support with parameters of type Query
protected  long SimpleSolrRepository.count(Query query)
           
 


Spring Data Solr

Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.