SearchHelperCreateSearchSettings Method (String, Boolean, Boolean, Boolean, String, SearchSettingsInfo, Boolean) |
Creates new SearchSettingsInfo with given parameters. Returns whether the parameters changed from the original search settings.
Namespace: CMS.SearchAssembly: CMS.Search (in CMS.Search.dll) Version: 10.0.0
Syntax public static SearchSettingsInfo CreateSearchSettings(
string name,
bool content,
bool searchable,
bool tokenized,
string fieldname,
SearchSettingsInfo ssiOld,
out bool fieldChanged
)
Parameters
- name
- Type: SystemString
Name of the search field - content
- Type: SystemBoolean
Content flag value - searchable
- Type: SystemBoolean
Searchable flag value - tokenized
- Type: SystemBoolean
Tokenized flag value - fieldname
- Type: SystemString
Field name value - ssiOld
- Type: CMS.DataEngineSearchSettingsInfo
Original search settings to detect changes - fieldChanged
- Type: SystemBoolean
Will be true if any of the values changed from the original search settings
Return Value
Type:
SearchSettingsInfoSee Also