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.AzureAssembly: CMS.Search.Azure (in CMS.Search.Azure.dll) Version: 11.0.0
Syntax 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:
DocumentReturns Azure Search document for
searchable.
See Also