Click or drag to resize

SphinxSearchOptionsSetOuterSelect Method

Sets the outer select. Supported with Sphinx 2.1.1 and up.

Namespace:  SphinxConnector.NativeApi
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public void SetOuterSelect(
	string orderBy,
	int offset,
	int limit
)

Parameters

orderBy
Type: SystemString
The attribute to order by.
offset
Type: SystemInt32
The offset.
limit
Type: SystemInt32
The limit.
Exceptions
ExceptionCondition
ArgumentNullExceptionOccurs if orderBy is null.
ArgumentException Occurs if orderBy is empty
-or-
if offset is less than zero
-or-
if limit is less than or equal to zero
InvalidOperationExceptionOccurs if Version is less than 2.1.1.
Examples
SphinxClient sphinxClient = new SphinxClient();
sphinxClient.SearchOptions.SetOuterSelect("attribute ASC", 0, 10);
See Also