Keyoti SearchUnit API Docs
Search Method (queryExpression, searchOptions, lowRange, highRange)
API DocumentationKeyoti.SearchEngine.SearchSearchAgentSearch(String, SearchOptions, Int32, Int32)
Keyoti SearchUnit v6
Runs the search and returns results between lowRange (inclusive) and highRange (inclusive), ensure the QueryString property is set before calling this.
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public virtual SearchResult Search(
	string queryExpression,
	SearchOptions searchOptions,
	int lowRange,
	int highRange
)
public virtual SearchResult Search(
	string queryExpression,
	SearchOptions searchOptions,
	int lowRange,
	int highRange
)
Public Overridable Function Search ( 
	queryExpression As String,
	searchOptions As SearchOptions,
	lowRange As Integer,
	highRange As Integer
) As SearchResult
Public Overridable Function Search ( 
	queryExpression As String,
	searchOptions As SearchOptions,
	lowRange As Integer,
	highRange As Integer
) As SearchResult
public:
virtual SearchResult^ Search(
	String^ queryExpression, 
	SearchOptions^ searchOptions, 
	int lowRange, 
	int highRange
)
public:
virtual SearchResult^ Search(
	String^ queryExpression, 
	SearchOptions^ searchOptions, 
	int lowRange, 
	int highRange
)
abstract Search : 
        queryExpression : string * 
        searchOptions : SearchOptions * 
        lowRange : int * 
        highRange : int -> SearchResult 
override Search : 
        queryExpression : string * 
        searchOptions : SearchOptions * 
        lowRange : int * 
        highRange : int -> SearchResult 
abstract Search : 
        queryExpression : string * 
        searchOptions : SearchOptions * 
        lowRange : int * 
        highRange : int -> SearchResult 
override Search : 
        queryExpression : string * 
        searchOptions : SearchOptions * 
        lowRange : int * 
        highRange : int -> SearchResult 
Parameters
queryExpression (String)
The expression to search for
searchOptions (SearchOptions)
Search options.
lowRange (Int32)
The lowest result number to return (1 based)
highRange (Int32)
The highest result number to return (1 based)
Return Value
SearchResult
A SearchResult instance with results found
Remarks
The returned SearchResult object will include results between lowRange and highRange. Eg. if lowRange = 10 and highRange = 19 the results returned will be items 10 through 19.
Exceptions
ExceptionCondition
InvalidSearchExpressionExceptionIf queryString is not valid for searches.
LicenseExceptionIf a valid license key has not been specified.

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2015.6.15.120