## Uses of Class
org.apache.solr.client.solrj.SolrQuery

Packages that use SolrQuery
Package | Description
--- | ---
org.apache.solr.client.solrj | Primary APIs for communicating with a Solr Server from a Java client.

### Uses of SolrQuery in org.apache.solr.client.solrj

Methods in org.apache.solr.client.solrj that return SolrQuery
Modifier and Type | Method and Description
--- | ---
`SolrQuery` | SolrQuery.`addDateRangeFacet(String field, Date start, Date end, String gap)` Add a numeric range facet.
`SolrQuery` | SolrQuery.`addFacetField(String... fields)` Add field(s) for facet computation.
`SolrQuery` | SolrQuery.`addFacetPivotField(String... fields)` Add field(s) for pivot computation.
`SolrQuery` | SolrQuery.`addFacetQuery(String f)` add a faceting query
`SolrQuery` | SolrQuery.`addField(String field)`
`SolrQuery` | SolrQuery.`addFilterQuery(String... fq)`
`SolrQuery` | SolrQuery.`addHighlightField(String f)` add highlight field
`SolrQuery` | SolrQuery.`addNumericRangeFacet(String field, Number start, Number end, Number gap)` Add a numeric range facet.
`SolrQuery` | SolrQuery.`addOrUpdateSort(SolrQuery.SortClause sortClause)` Updates or adds a single sort field specification to the current sort information.
`SolrQuery` | SolrQuery.`addOrUpdateSort(String field, SolrQuery.ORDER order)` Updates or adds a single sort clause to the query.
`SolrQuery` | SolrQuery.`addSort(SolrQuery.SortClause sortClause)` Adds a single sort clause to the end of the query.
`SolrQuery` | SolrQuery.`addSort(String field, SolrQuery.ORDER order)` Adds a single sort clause to the end of the current sort information.
`SolrQuery` | SolrQuery.`addSortField(String field, SolrQuery.ORDER order)` Deprecated. Use `addSort(SortClause)` instead, which is part of an api handling a wider range of sort specifications.
`SolrQuery` | SolrQuery.`addTermsField(String field)`
`SolrQuery` | SolrQuery.`clearSorts()` Clears current sort information.
`SolrQuery` | SolrQuery.`getCopy()` get a deep copy of this object
`SolrQuery` | SolrQuery.`removeSort(SolrQuery.SortClause sortClause)` Removes a single sort field from the current sort information.
`SolrQuery` | SolrQuery.`removeSort(String itemName)` Removes a single sort field from the current sort information.
`SolrQuery` | SolrQuery.`removeSortField(String field, SolrQuery.ORDER order)` Deprecated. Use `removeSort(SortClause)` instead, which is part of an api handling a wider range of sort specifications.
`SolrQuery` | SolrQuery.`setFacet(boolean b)` enable/disable faceting.
`SolrQuery` | SolrQuery.`setFacetLimit(int lim)` set the facet limit
`SolrQuery` | SolrQuery.`setFacetMinCount(int cnt)` set facet minimum count
`SolrQuery` | SolrQuery.`setFacetMissing(Boolean v)` Sets facet missing boolean flag
`SolrQuery` | SolrQuery.`setFacetPrefix(String prefix)`
`SolrQuery` | SolrQuery.`setFacetPrefix(String field, String prefix)`
`SolrQuery` | SolrQuery.`setFacetSort(boolean sort)` Deprecated. Use `setFacetSort(String)` instead, true corresponds to `FacetParams.FACET_SORT_COUNT` and false to `FacetParams.FACET_SORT_INDEX`.
`SolrQuery` | SolrQuery.`setFacetSort(String sort)` set facet sort
`SolrQuery` | SolrQuery.`setFields(String... fields)`
`SolrQuery` | SolrQuery.`setFilterQueries(String... fq)`
`SolrQuery` | SolrQuery.`setHighlight(boolean b)`
`SolrQuery` | SolrQuery.`setHighlightFragsize(int num)`
`SolrQuery` | SolrQuery.`setHighlightRequireFieldMatch(boolean flag)`
`SolrQuery` | SolrQuery.`setHighlightSimplePost(String f)`
`SolrQuery` | SolrQuery.`setHighlightSimplePre(String f)`
`SolrQuery` | SolrQuery.`setHighlightSnippets(int num)`
`SolrQuery` | SolrQuery.`setIncludeScore(boolean includeScore)`
`SolrQuery` | SolrQuery.`setMissing(String fld)` Deprecated. use `setFacetMissing(Boolean)`
`SolrQuery` | SolrQuery.`setParam(String name, boolean value)`
`SolrQuery` | SolrQuery.`setParam(String name, String... values)`
`SolrQuery` | SolrQuery.`setQuery(String query)`
`SolrQuery` | SolrQuery.`setQueryType(String qt)` Deprecated. See `setRequestHandler(String)`.
`SolrQuery` | SolrQuery.`setRequestHandler(String qt)` The Request Handler to use (see the solrconfig.xml), which is stored in the "qt" parameter.
`SolrQuery` | SolrQuery.`setRows(Integer rows)`
`SolrQuery` | SolrQuery.`setSort(SolrQuery.SortClause sortClause)` Replaces the current sort information with a single sort clause
`SolrQuery` | SolrQuery.`setSort(String field, SolrQuery.ORDER order)` Replaces the current sort information with a single sort clause
`SolrQuery` | SolrQuery.`setSortField(String field, SolrQuery.ORDER order)` Deprecated. Use `setSort(SortClause)` instead, which is part of an api handling a wider range of sort specifications.
`SolrQuery` | SolrQuery.`setSorts(List<SolrQuery.SortClause> value)` Replaces the current sort information.
`SolrQuery` | SolrQuery.`setStart(Integer start)`
`SolrQuery` | SolrQuery.`setTerms(boolean b)` enable/disable terms.
`SolrQuery` | SolrQuery.`setTermsLimit(int limit)`
`SolrQuery` | SolrQuery.`setTermsLower(String lower)`
`SolrQuery` | SolrQuery.`setTermsLowerInclusive(boolean b)`
`SolrQuery` | SolrQuery.`setTermsMaxCount(int cnt)`
`SolrQuery` | SolrQuery.`setTermsMinCount(int cnt)`
`SolrQuery` | SolrQuery.`setTermsPrefix(String prefix)`
`SolrQuery` | SolrQuery.`setTermsRaw(boolean b)`
`SolrQuery` | SolrQuery.`setTermsRegex(String regex)`
`SolrQuery` | SolrQuery.`setTermsRegexFlag(String flag)`
`SolrQuery` | SolrQuery.`setTermsSortString(String type)`
`SolrQuery` | SolrQuery.`setTermsUpper(String upper)`
`SolrQuery` | SolrQuery.`setTermsUpperInclusive(boolean b)`
`SolrQuery` | SolrQuery.`setTimeAllowed(Integer milliseconds)` Set the maximum time allowed for this query.