FacetRequestOptions Class

Definition

The options for facet evaluation

public class FacetRequestOptions
type FacetRequestOptions = class
Public Class FacetRequestOptions
Inheritance
FacetRequestOptions

Constructors

FacetRequestOptions()

Initializes a new instance of the FacetRequestOptions class.

FacetRequestOptions(String, Nullable<FacetSortOrder>, String, Nullable<Int32>)

Initializes a new instance of the FacetRequestOptions class.

Properties

Filter

Gets or sets specifies the filter condition for the 'where' clause which will be run on main query's result, just before the actual faceting.

SortBy

Gets or sets the column name or query expression to sort on. Defaults to count if not present.

SortOrder

Gets or sets the sorting order by the selected column (count by default). Possible values include: 'asc', 'desc'

Top

Gets or sets the maximum number of facet rows that should be returned.

Methods

Validate()

Validate the object.

Applies to