Keyoti SearchUnit API Docs
RegisterSearch Method (query, indexDirectory, cache, appPath, synchIPs)
API DocumentationKeyoti.SearchEngine.WebSearchBoxRegisterSearch(String, String, ICache, String, array<String>[]()[][])
Keyoti SearchUnit v6
Register a user search, so that it can be tallied and considered by the popular search query autocompleter.
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public static void RegisterSearch(
	string query,
	string indexDirectory,
	ICache cache,
	string appPath,
	string[] synchIPs
)
public static void RegisterSearch(
	string query,
	string indexDirectory,
	ICache cache,
	string appPath,
	string[] synchIPs
)
Public Shared Sub RegisterSearch ( 
	query As String,
	indexDirectory As String,
	cache As ICache,
	appPath As String,
	synchIPs As String()
)
Public Shared Sub RegisterSearch ( 
	query As String,
	indexDirectory As String,
	cache As ICache,
	appPath As String,
	synchIPs As String()
)
public:
static void RegisterSearch(
	String^ query, 
	String^ indexDirectory, 
	ICache^ cache, 
	String^ appPath, 
	array<String^>^ synchIPs
)
public:
static void RegisterSearch(
	String^ query, 
	String^ indexDirectory, 
	ICache^ cache, 
	String^ appPath, 
	array<String^>^ synchIPs
)
static member RegisterSearch : 
        query : string * 
        indexDirectory : string * 
        cache : ICache * 
        appPath : string * 
        synchIPs : string[] -> unit 
static member RegisterSearch : 
        query : string * 
        indexDirectory : string * 
        cache : ICache * 
        appPath : string * 
        synchIPs : string[] -> unit 
Parameters
query (String)
The search query
indexDirectory (String)
The index directory (absolute file path - NOT a virtual path like "~/Index") that was searched.
cache (ICache)
The application wide cache (Page.Cache)
appPath (String)
The virtual application path, eg. /myapp/, can be empty if app is the root of the domain (eg http://host/)
synchIPs (array<String>[]()[][])
Any IPs or server names that the popular autocomplete list should be synched up with (eg. other servers in a farm), or null/nothing.

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