Click or drag to resize
DocumentFieldCreatorCreateFields Method
Creates an Azure Search Field collection for given searchable. The searchIndex parameter is 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 List<Field> CreateFields(
	ISearchable searchable,
	ISearchIndexInfo searchIndex
)

Parameters

searchable
Type: CMS.DataEngineISearchable
Searchable for which to create a collection of Azure Search fields.
searchIndex
Type: CMS.DataEngineISearchIndexInfo
Index for which the fields are being created.

Return Value

Type: ListField
Returns Azure Search fields for searchable.
See Also