[ 
https://jira.duraspace.org/browse/DS-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22578#comment-22578
 ] 

Robin Taylor commented on DS-615:
---------------------------------

>From Peter Dietz...

"Hi Robin,

That issue is resolved, programming wise. The remaining task is documentation 
for discovery.

We have documentation for statistics:
https://wiki.duraspace.org/display/DSDOCDEV/Managing+Usage+Statistics#ManagingUsageStatistics-RoutineSOLRIndexMaintenance

However, I'm not seeing where "update-discovery-index" or even 
org.dspace.discovery.IndexClient is documented anywhere. So, there's nowhere to 
document the "hey, you can optimize your discovery index", since we also need 
the page where the discovery maintenance is documented."

Referred to Bram Luyten, the @mire docs man.


                
> Ability to perform maintenance on SOLR with solr.optimize
> ---------------------------------------------------------
>
>                 Key: DS-615
>                 URL: https://jira.duraspace.org/browse/DS-615
>             Project: DSpace
>          Issue Type: Improvement
>          Components: Solr
>         Environment: solr
>            Reporter: Peter Dietz
>            Assignee: Ben Bosman
>             Fix For: 1.8.0
>
>         Attachments: search-solr-optimize-quick-and-dirty.patch, 
> SolrOptimizeAndAutoCommit.patch, solr-optimize.patch
>
>
> By adding all historical log data to a SOLR index, as well as the constant 
> addition of new records, it might be good for the efficient performance of a 
> SOLR index to periodically run solr.optimize.
> Therefore I've created a patch which allows you to run solr.optimize on your 
> solr instance from the command line. This could allow you to add a cron task 
> that runs this periodic maintenance. It also spits out the amount of time 
> taken to run the optimize task.
> Once you patch your instance. You can execute this with 
> /dspace/bin/dspace stats-util --optimize 
> or 
> /dspace/bin/dspace stats-util -o
> Output looks like:
> SOLR Optimize -- Process Started:1277486321673
> SOLR Optimize -- Process Finished:1277486321738
> SOLR Optimize -- Total time taken:65 (ms).
> It would be useful to profile the amount of time taken for solr operations 
> add/update/query before running this optimize task, and then afterwards.

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

        

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to