Java org.springframework.data.solr.core.query Query fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.data.solr.core.query Query fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.data.solr.core.query Query.

The text is from its open source code.

Method

TaddCriteria(Criteria criteria)
Append criteria to query.
TaddFilterQuery(FilterQuery query)
add query to filter results Corresponds to fq in solr
TaddGroupByField(Field field)
add the given field to those used for grouping result Corresponds to '' in solr
TaddProjectionOnField(Field field)
add given Field to those included in result.
TaddSort(Sort sort)
Add Sort to query
CriteriagetCriteria()
OperatorgetDefaultOperator()
Get the specified default operator for query expressions, overriding the default operator specified in the schema.xml file.
StringgetDefType()
Get the default type of query, if one has been specified.
ListgetFilterQueries()
Get filter queries if defined
ListgetGroupByFields()
Get group by fields if defined
GroupOptionsgetGroupOptions()
LonggetOffset()
Get number of rows to skip.
PageablegetPageRequest()
Get page settings if defined.
ListgetProjectionOnFields()
Get projection fields if defined
StringgetRequestHandler()
Returns the request handler.
IntegergetRows()
Get number of rows to fetch.
SortgetSort()
StatsOptionsgetStatsOptions()
IntegergetTimeAllowed()
Return the time (in milliseconds) allowed for a search to finish
voidsetDefaultOperator(Operator operator)
Set the default operator q.op for query expressions
voidsetDefType(String defType)
Sets the default type to be used by the query.
TsetPageRequest(Pageable pageable)
restrict result to entries on given page.
voidsetRequestHandler(String requestHandler)
Sets the request handler.
TsetRows(Integer rows)
Set the number of rows to fetch.
TsetTimeAllowed(Integer timeAllowed)
The time in milliseconds allowed for a search to finish.