CommonFieldNames class
Leave feedback
On this page
Represents a list of field names for the faceted search.
Learn more: https://docs.groupdocs.com/search/python-net/faceted-search/
The CommonFieldNames type exposes the following members:
| Field | Description |
|---|---|
| CONTENT | The content field name. |
| FILE_NAME | The file name field name. |
| FORMAT_FAMILY | The format family field name. |
| CREATION_DATE | The creation date field name. |
| MODIFICATION_DATE | The modification date field name. |
| EMBEDDED_IMAGE_OCR | The embedded image OCR field name. |
from groupdocs.search import SearchQuery
from groupdocs.search.options import CommonFieldNames
word_query = SearchQuery.create_word_query("Einstein")
field_query = SearchQuery.create_field_query(CommonFieldNames.CONTENT, word_query)
result = index.search(field_query)
Task guides that use CommonFieldNames:
- module
groupdocs.search.options
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.