Copyright© 2008-2019 SiteVision AB, all rights reserved.
public class SearchSortField
extends Object
An immutable object SearchSortField
describes in which way the search result will be ordered.
Note! Only single-valued fields can be used for sorting (i.e. you typically can not sort on an analyzed field).
Constructor and Description |
---|
SearchSortField(String aField,
boolean isDescending)
Creates a
SearchSortField object. |
Modifier and Type | Method and Description |
---|---|
String |
getField()
Accessor to the search field.
|
boolean |
isDescending()
Accessor to the search order.
|
SiteVision - Portal and Content Management Made Easy
SiteVision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2019 SiteVision AB, all rights reserved.