Kentico 11 API Reference
Kentico 11 API Reference
Namespaces
CMS.Search Namespaces
CMS.Search
SearchHelper Class
SearchHelper Methods
AddGeneralField Method
AddObjectDataToDocument Method
CreateDefaultSearchSettings Method
CreateDocument Method
CreateEmptyDocument Method
CreateRebuildTask Method
CreateSearchSettings Method
Delete Method
FilterResults Method
FinishRebuild Method
GetBinaryDataSearchContent Method
GetCustomSearchIndex Method
GetDefaultSearchSettings Method
GetResultsToProcess Method
GetResultTypes Method
GetSearchFieldDefaultValue Method
GetStopWordsFileInfo Method
Highlight Method
InvalidateSearcher Method
IsClassSearchEnabled Method
IsSearchAllowedExtension Method
IsSearchTaskCreationAllowed Method
LoadCustomAnalyzer(TAnalyzerType) Method
Optimize Method
PartialRebuild Method
PrepareContentValue Method
Rebuild Method
Search Method
SearchEnabledForClass Method
SearchFieldChanged Method
SetDefaultClassSearchColumns Method
Update Method
SearchHelper
Optimize Method
Optimize specified index.
Namespace:
CMS.Search
Assembly:
CMS.Search (in CMS.Search.dll) Version: 11.0.0
Syntax
C#
Copy
public
static
void
Optimize
(
SearchIndexInfo
indexInfo
)
Parameters
indexInfo
Type:
CMS.Search
SearchIndexInfo
Search index
Remarks
This method needs to be run in a thread safe way such as smart search task queue.
See Also
Reference
SearchHelper Class
CMS.Search Namespace
Copyright (c) 2017 Kentico Software
Send comments on this topic to
support@kentico.com