SearchReport class
Leave feedback
On this page
Represents detailed information on a search operation.
Learn more:
- Search reports: https://docs.groupdocs.com/search/python-net/search-reports/
The SearchReport type exposes the following members:
| Method | Description |
|---|---|
| to_string | Returns a string that represents the current SearchReport. |
| Property | Description |
|---|---|
| document_count | The number of documents found. |
| end_time | The end time of the search. |
| object_query | The search query in object form. |
| occurrence_count | The total number of occurrences found. |
| search_duration | The search duration. |
| search_options | The search options. |
| start_time | The start time of the search. |
| text_query | The search query in text form. |
from groupdocs.search import Index
index = Index("./index")
index.add("./documents")
index.search("contract")
for report in index.get_search_reports():
print(report.text_query, report.document_count)
- 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.