Click or drag to resize
SearchSettings Class
SearchSettings class provides methods for manipulation with SearchSettingsInfo objects.
Inheritance Hierarchy
SystemObject
  CMS.DataEngineSearchSettings

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
[SerializableAttribute]
public class SearchSettings : IEnumerable<SearchSettingsInfo>, 
	IEnumerable, IStructuredData

The SearchSettings type exposes the following members.

Constructors
  NameDescription
Public methodSearchSettings
Top
Fields
  NameDescription
Public fieldStatic memberCONTENT
Name of flag indicating whether field is considered a content field in context of local indexes.
Public fieldStatic memberIFIELDNAME
Field field.
Public fieldStatic memberINDEX_UPDATE_TRIGGER
Name of flag indicating whether field change leads to index update when page is indexed by crawler.
Public fieldStatic memberSEARCHABLE
Name of flag indicating whether field is searchable in context of local indexes.
Public fieldStatic memberTOKENIZED
Name of flag indicating whether field is tokenized in context of local indexes.
Top
Properties
  NameDescription
Public propertyItems
Gets list of all settings items indexed by GUID.
Top
Methods
  NameDescription
Public methodContainsTriggerColumn
Returns true if the any of the given columns triggers index update.
Public methodCopyTo
Copies selected fields to another search settings object
Public methodDeleteSearchSettingsInfo(Guid)
Deletes search setting item.
Public methodDeleteSearchSettingsInfo(SearchSettingsInfo)
Deletes search index setting item.
Public methodGetAllSettingsInfos
Returns all search settings as DataSet.
Public methodGetData
Returns xml code of search index settings.
Public methodGetEnumerator
Returns the enumerator
Public methodGetSettingsInfo(Guid)
Returns search setting item by specified II (GUID).
Public methodGetSettingsInfo(String)
Returns search setting item by specified II (GUID).
Public methodGetXmlElement
Gets the XML element for the data
Public methodLoadData
Loads settings from xml data.
Public methodLoadFromXmlElement
Loads the data from the given XML element
Public methodRenameColumn
Renames existing column in settings to the new name
Public methodSearchesAnyOf
Returns true if the search settings indexes any of the given columns
Public methodSetSettingsInfo
Adds or overwrites search setting item in hashtable.
Top
Extension Methods
  NameDescription
Public Extension MethodBatchSearchSettingsInfo
Returns input in batches of batchSize size.
(Defined by BaseExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Top
See Also