__init__ constructor
Leave feedback
On this page
Initializes a new DocumentField.
def __init__(self, name, value):
...
| Parameter | Type | Description |
|---|---|---|
| name | str |
The field name. |
| value | str |
The field value. |
from groupdocs.search.common import DocumentField
# Create a field containing the file name
field = DocumentField("FileName", "/path/to/file.txt")
- class
DocumentField
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.