[
https://issues.apache.org/jira/browse/SOLR-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Henson updated SOLR-1806:
---------------------------------
Attachment: solr-1806.patch
This is a work-in-progress patch, showing my current approach to adding
statistics collection and the interface for retrieving the per-entity
statistics.
The code that retrieves the entities' reports and presents them to a user
hasn't been written yet.
> Extend statistics provided by DIH components
> --------------------------------------------
>
> Key: SOLR-1806
> URL: https://issues.apache.org/jira/browse/SOLR-1806
> Project: Solr
> Issue Type: Improvement
> Components: contrib - DataImportHandler
> Affects Versions: 1.5
> Environment: java 6, tomcat 6.0.x
> Reporter: Michael Henson
> Priority: Minor
> Fix For: 1.5
>
> Attachments: solr-1806.patch
>
>
> It would be useful to get more information from the DIH during an indexing
> run. The initial requirements for this patch are:
> 1. Add a cumulative "documents per second" calculation for the
> currently-running index process
> 2. Add the ability for each EntityProcessor to report its own custom
> statistics in a manner appropriate to the nature of its work
> For example, the SQLEntityProcessor might show the total number of queries
> performed, the average time to execute each of those queries, the total
> amount of time it spent executing its queries, etc.
> The CachedSQLEntityProcessor might show cache hit counts, cache miss counts,
> the current size of the cache, etc.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.