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#Visual Basic
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()
)
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: 2022.8.22.610