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.
|
SolrQuery |
SolrQuery.addSortField(String field,
SolrQuery.ORDER order)
Deprecated.
Use
SolrQuery.addSort(SortClause) instead, which is part
of an api handling a wider range of sort specifications. |
static SolrQuery.SortClause |
SolrQuery.SortClause.create(String item,
SolrQuery.ORDER order)
Creates an ascending SortClause for an item
|
SolrQuery |
SolrQuery.removeSortField(String field,
SolrQuery.ORDER order)
Deprecated.
Use
SolrQuery.removeSort(SortClause) instead, which is part
of an api handling a wider range of sort specifications. |
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
SolrQuery.setSort(SortClause) instead, which is part
of an api handling a wider range of sort specifications. |
Constructor and Description |
---|
SolrQuery.SortClause(String item,
SolrQuery.ORDER order)
Creates a SortClause based on item and order
|
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.