DocumentField class

DocumentField class

Represents a document field data.

The DocumentField type exposes the following members:

Constructors

Constructor Description
init Initializes a new DocumentField.

Properties

Property Description
name The field name.
value The field value.

Example

from groupdocs.search.common import DocumentField

# Create a field with a name and a value
field = DocumentField("FileName", "/path/to/file.txt")

Guides

Task guides that use DocumentField:

See Also