ISearchWebService TryGetPreviewSearchResult Method Ankiro Enterprise Suite Reference Documentation
Retrieves a preview of a search result given a set of preview search parameters. The purpose of a preview search result is to provide an ability to rapidly display a list of search results to a search user, even while the user is typing in the search query. The preview search result subsystem of Ankiro Enterprise Suite uses existing search history to retrieve the first search result page of the search query that is deemed most likely to be relevant to the user given a (partial) search string. Likelihood is determined by search frequency - i.e. the search result that will be returned (if any) will be the most frequently executed search string that contains the entered (partial) preview search string. For performance reasons, no new search will be executed using this method. Instead, null is returned if no suitable search result could be obtained.

Namespace: Ankiro.SearchServer.Web.Services
Assembly: Ankiro.SearchServer.Web (in Ankiro.SearchServer.Web.dll) Version: 1.13.770.19253 (1.13.770.19253)
Syntax

PreviewSearchResult TryGetPreviewSearchResult(
	PreviewSearchParameters parameters
)

Return Value

Type: PreviewSearchResult
Search result if one could be found given the search phrase, null otherwise.
See Also