DocumentCreateFromStructure Method
Creates a document from a structure that is an array of text fields.

Namespace: GroupDocs.Search.Common
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 20.11
Syntax
public static Document CreateFromStructure(
	string documentKey,
	DateTime modificationDate,
	DocumentField[] fields
)

Parameters

documentKey
Type: SystemString
The document key.
modificationDate
Type: SystemDateTime
The document modification date.
fields
Type: GroupDocs.Search.CommonDocumentField
The document fields.

Return Value

Type: Document
The created document.
See Also