| Package | Description | 
|---|---|
| org.apache.solr.client.solrj | Primary APIs for communicating with a Solr Server from a Java client. | 
| Modifier and Type | Method and Description | 
|---|---|
| SolrQuery.ORDER | SolrQuery.SortClause. getOrder()Gets the order to sort | 
| SolrQuery.ORDER | SolrQuery.ORDER. reverse() | 
| static SolrQuery.ORDER | SolrQuery.ORDER. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static SolrQuery.ORDER[] | SolrQuery.ORDER. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| SolrQuery | SolrQuery. addOrUpdateSort(String field,
               SolrQuery.ORDER order)Updates or adds a single sort clause to the query. | 
| SolrQuery | SolrQuery. addSort(String field,
       SolrQuery.ORDER order)Adds a single sort clause to the end of the current sort information. | 
| static SolrQuery.SortClause | SolrQuery.SortClause. create(String item,
      SolrQuery.ORDER order)Creates an ascending SortClause for an item | 
| SolrQuery | SolrQuery. setSort(String field,
       SolrQuery.ORDER order)Replaces the current sort information with a single sort clause | 
| Constructor and Description | 
|---|
| SortClause(String item,
          SolrQuery.ORDER order)Creates a SortClause based on item and order | 
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.