Click or drag to resize
SearchFieldsHelper Class
Contains helper methods for index fields.
Inheritance Hierarchy
SystemObject
  CMS.DataEngineSearchFieldsHelper

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public class SearchFieldsHelper

The SearchFieldsHelper type exposes the following members.

Fields
  NameDescription
Public fieldIncludeContentField
An event raised upon IsContentField(ISearchIndexInfo, SearchSettingsInfo) execution. Based on the Result the field is added to content fields. By default, all fields having flag named CONTENT set to true are considered content fields.
Public fieldIncludeIndexField
An event raised upon IsIndexField(ISearchIndexInfo, SearchSettingsInfo) execution. Based on the Result the field is added to index fields. By default, all fields having flag named SEARCHABLE set to true are added.
Public fieldIncludeTriggerField
An event raised upon IsTriggerField(SearchSettingsInfo) execution. Based on the Result the change of this field triggers index update. By default, all fields having flag named INDEX_UPDATE_TRIGGER triggers index update. For backward compatibility if the flag is not present fallback is used and returns true if field is Content or Searchable field.
Top
Properties
  NameDescription
Public propertyStatic memberInstance
Gets the SearchFieldsHelper instance.
Top
Methods
  NameDescription
Public methodIsContentField
Returns true if value of field represented by searchSettings is to be included in a designated content column in given index.
Public methodIsIndexField
Returns true if field represented by searchSettings is to be included in given index.
Public methodIsTriggerField
Returns true if value of field represented by searchSettings triggers index update upon change.
Top
See Also