IndexingReport class
Leave feedback
On this page
Represents detailed information on an indexing operation.
Learn more:
- Indexing reports: https://docs.groupdocs.com/search/python-net/indexing-reports/
The IndexingReport type exposes the following members:
| Property | Description |
|---|---|
| end_time | The indexing end time. |
| errors | The list of errors. |
| indexed_documents | The list of indexed documents. |
| indexed_documents_size | The total length of indexed documents in MB. |
| indexing_time | The indexing duration. |
| removed_documents | The list of documents removed from the index. |
| segment_count | The number of index segments. |
| start_time | The indexing start time. |
| total_documents_in_index | The total number of documents in the index. |
| total_index_size | The total index size in bytes. |
| total_term_count | The total number of terms in index. |
| updated_documents | The list of updated documents. |
from groupdocs.search import Index
index = Index("./index")
index.add("./documents")
# Perform indexing; reports are generated per batch
for report in index.get_indexing_reports():
print(report.start_time) # report.StartTime
print(report.indexing_time) # report.IndexingTime
print(report.total_documents_in_index) # report.TotalDocumentsInIndex
print(report.total_term_count) # report.TotalTermCount
print(report.indexed_documents_size) # report.IndexedDocumentsSize
print(report.total_index_size / 1024.0 / 1024.0) # size in MB
- module
groupdocs.search.common
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.