|
||
|
API examples for newer versions Please visit the latest API Examples documentation to view API examples for newer versions of Kentico. |
The following example creates a task that rebuilds a smart search index.
private bool RebuildIndex() // Get the search index // Create rebuild task |
The following example performs a search through the content of an index and retrieves the results in a dataset.
private bool SearchText() // Get the search index DataSet ds = SearchHelper.Search(searchText, sort, path, classNames, cultureCode, defaultCulture, combineWithDefaultCulture, checkPermissions, searchInAttachments, searchIndexes, displayResults, startingPosition, numberOfProcessedResults, userInfo, out numberOfResults, attachmentWhere, attachmentOrderBy); |
The following example creates a task that updates the content of a search index.
private bool UpdateIndex() // Tree provider { |