DocumentInfo class
Leave feedback
On this page
Represents a descriptor for an indexed document.
Learn more
- Search results: https://docs.groupdocs.com/search/python-net/search-results/
- Getting indexed documents: https://docs.groupdocs.com/search/python-net/getting-indexed-documents/
The DocumentInfo type exposes the following members:
| Method | Description |
|---|---|
| deserialize | Deserializes a DocumentInfo instance from a byte array. |
| serialize | Serializes the current instance to a byte array. |
| to_string | Returns a string that represents the current DocumentInfo. |
| Property | Description |
|---|---|
| document_source_kind | The document source kind. |
| file_path | The file path for a document indexed from a file, or the document key for a document indexed from a stream or structure. |
| file_type | The file type. |
| format_family | The document format family. |
| indexed_with_error | The indicator of indexing error. |
| inner_path | The inner path for the container document item. |
| inner_path_parts | The inner path parts for the container document item. |
| modification_time | The modification time of the document. |
from groupdocs.search import Index
index = Index("./index")
for doc in index.get_indexed_documents():
print(doc.file_path)
- module
groupdocs.search.results
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.