| 程序包 | 说明 |
|---|---|
| org.apache.solr.client.solrj |
Primary APIs for communicating with a Solr Server from a Java client.
|
| 限定符和类型 | 方法和说明 |
|---|---|
SolrQuery.ORDER |
SolrQuery.SortClause.getOrder()
Gets the order to sort
|
SolrQuery.ORDER |
SolrQuery.ORDER.reverse() |
static SolrQuery.ORDER |
SolrQuery.ORDER.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SolrQuery.ORDER[] |
SolrQuery.ORDER.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
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
|
| 构造器和说明 |
|---|
SortClause(String item,
SolrQuery.ORDER order)
Creates a SortClause based on item and order
|
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.