[
https://jira.duraspace.org/browse/DS-615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Dietz reopened DS-615:
----------------------------
Discovery adds another core to solr, search, which I don't believe gets
optimized when the statistics optimize is called. This should be available as
an argument for update-discovery-index -o, and would need to be added to
IndexClient, and SolrServiceImpl.
I recommend adding this performance fix in to 1.7, especially if instances are
going to use discovery.
> 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: Peter Dietz
> Fix For: 1.7.0
>
> Attachments: solr-optimize.patch, SolrOptimizeAndAutoCommit.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 contact one of the administrators:
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel