 | IFulltextQueryTDocumentLimit Method |
Limits the results returned by this query.
Namespace: SphinxConnector.FluentApiAssembly: SphinxConnector (in SphinxConnector.dll) Version: 6.0.0
SyntaxIFulltextQuery<TDocument> Limit(
int skip,
int take
)
Function Limit (
skip As Integer,
take As Integer
) As IFulltextQuery(Of TDocument)
Parameters
- skip Int32
- The number of results to skip.
- take Int32
- The maximum number of results to return.
Return Value
IFulltextQueryTDocumentThe current instance.
Exceptions| Exception | Condition |
|---|
| ArgumentException | Occurs when skip is less than zero or take is less or equal to zero. |
See Also