# Uses of Class
org.apache.solr.client.solrj.request.json.JsonQueryRequest

Packages that use JsonQueryRequest
Package
Description
org.apache.solr.client.solrj.request.json
Allows sending of requests using Solr's JSON query/faceting API

## Uses of JsonQueryRequest in org.apache.solr.client.solrj.request.json

Methods in org.apache.solr.client.solrj.request.json that return JsonQueryRequest
Modifier and Type
Method
Description
`JsonQueryRequest`
JsonQueryRequest.`returnFields(Iterable<String> fieldNames)`
Specify fields which should be returned by the JSON request.
`JsonQueryRequest`
JsonQueryRequest.`returnFields(String... fieldNames)`
Specify fields which should be returned by the JSON request.
`JsonQueryRequest`
JsonQueryRequest.`setLimit(int limit)`
Specify how many results should be returned from the JSON request
`JsonQueryRequest`
JsonQueryRequest.`setOffset(int offset)`
Specify whether results should be fetched starting from a particular offset (or 'start').
`JsonQueryRequest`
JsonQueryRequest.`setQuery(String query)`
Specify the query sent as a part of this JSON request
`JsonQueryRequest`
JsonQueryRequest.`setQuery(Map<String,Object> queryJson)`
Specify the query sent as a part of this JSON request.
`JsonQueryRequest`
JsonQueryRequest.`setQuery(MapWriter queryWriter)`
Specify the query sent as a part of this JSON request.
`JsonQueryRequest`
JsonQueryRequest.`setSort(String sort)`
Specify how results to the JSON request should be sorted before being returned by Solr
`JsonQueryRequest`
JsonQueryRequest.`withFacet(String facetName, Map<String,Object> facetJson)`
Specify a facet sent as a part of this JSON request.
`JsonQueryRequest`
JsonQueryRequest.`withFacet(String facetName, MapWriter facetWriter)`
Specify a facet sent as a part of this JSON request.
`JsonQueryRequest`
JsonQueryRequest.`withFilter(String filterQuery)`
Add a filter query to run as a part of the JSON request
`JsonQueryRequest`
JsonQueryRequest.`withFilter(Map<String,Object> filterQuery)`
Add a filter query to run as a part of the JSON request
`JsonQueryRequest`
JsonQueryRequest.`withParam(String name, Object value)`
Add a property to the "params" block supported by the JSON query DSL
`JsonQueryRequest`
JsonQueryRequest.`withStatFacet(String facetName, String facetValue)`
Specify a simple stat or aggregation facet to be sent as a part of this JSON request.