[ 
https://issues.apache.org/jira/browse/SOLR-4243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546254#comment-13546254
 ] 

Shawn Heisey commented on SOLR-4243:
------------------------------------

Additional note - goals and motivations:

I wrote a servlet page that grabs the DIH status of all my build cores, then 
puts it into a pretty table format.  If I go through the following sequence of 
events, I end up with old information in the table:

1) Run a full-import on all my shard build cores
2) Swap those into place as the live cores.
3) Run another full import on the build cores.
4) Swap those into place as the live cores.

The servlet page at this point contains the information from the import run at 
step 1.  I thought it would be nice to have a "/dataimport?command=reset-stats" 
to insert before step 1 and step 3, which would reset the dataimport status on 
my *live* cores to what you get if an import has never been run, so that when 
step 4 is done, the tables on the servlet output are once again clean.

If "reset-stats" is not a good choice, feel free to bikeshed!

                
> dataimporter -- option to clear/reset status screen
> ---------------------------------------------------
>
>                 Key: SOLR-4243
>                 URL: https://issues.apache.org/jira/browse/SOLR-4243
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler, web gui
>            Reporter: Shawn Heisey
>            Priority: Minor
>             Fix For: 4.2, 5.0
>
>
> I would like to see an option to clear/reset the DIH status screen to its 
> "never been run" state.  If the current status of the handler is 'busy' this 
> should probably do nothing, and perhaps should even throw an exception that 
> could be seen by SolrJ and visible in a browser window, in the same manner as 
> the PingRequestHandler when the health-check file is missing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to