Click or drag to resize
DocumentCreatorCreateDocument Method
Creates an Azure Search Document for given searchDocument. The searchable and searchIndex parameters are to provide contextual information for the creation.

Namespace: CMS.Search.Azure
Assembly: CMS.Search.Azure (in CMS.Search.Azure.dll) Version: 11.0.0
Syntax
C#
public Document CreateDocument(
	SearchDocument searchDocument,
	ISearchable searchable,
	ISearchIndexInfo searchIndex
)

Parameters

searchDocument
Type: CMS.DataEngineSearchDocument
Search document for which to create an Azure Search document.
searchable
Type: CMS.DataEngineISearchable
Searchable for which the document is being created.
searchIndex
Type: CMS.DataEngineISearchIndexInfo
Index for which the document is being created.

Return Value

Type: Document
Returns Azure Search document for searchable.
See Also