Click or drag to resize
SearchDocument Class
Represents collection of field values for indexing.
Inheritance Hierarchy
SystemObject
  CMS.DataEngineSearchDocument

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

The SearchDocument type exposes the following members.

Constructors
  NameDescription
Public methodSearchDocument
Top
Fields
  NameDescription
Public fieldStatic memberDOCUMENT_EXCLUDED_FROM_SEARCH_FIELD
Name of the field in the search document whose value defines if the search document should be included in an index.
Top
Properties
  NameDescription
Public propertyNames
Gets enumeration of field names contained in the search document.
Top
Methods
  NameDescription
Public methodAdd(String, Object)
Adds new field data to the search document.
Public methodAdd(String, Object, Boolean, Boolean)
Adds new field data to the search document.
Public methodContains
Returns true if document contains column name. false otherwise.
Public methodGetStore
Gets store flag of a field.
Public methodGetTokenize
Gets tokenize flag of a field.
Public methodGetValue
Gets value of a field.
Public methodRemove
Removes the field with specified name from the search document.
Top
Extension Methods
  NameDescription
Public Extension MethodAddSearchField
Adds given search field to search document.
(Defined by SearchDocumentExtensions.)
Public Extension MethodInitialize(SearchDocumentParameters)Overloaded.
Initializes search document from parameters.
(Defined by SearchDocumentExtensions.)
Public Extension MethodInitialize(ISearchIndexInfo, String, String, DateTime)Overloaded.
Initializes search document from given parameters.
(Defined by SearchDocumentExtensions.)
Top
See Also