Difference between revisions of "SUNScholar/SOLR Statistics"
m (→PLEASE NOTE:) |
m (→PLEASE NOTE:) |
||
| Line 4: | Line 4: | ||
==PLEASE NOTE:== | ==PLEASE NOTE:== | ||
| − | New statistics fields were introduced in DSpace 3.X, therefore any upgrade from a DSpace version less than 3.X will not have these fields. This causes major errors when attempting to do statistics maintenance in DSpace versions => 3.X | + | New statistics fields were introduced in DSpace 3.X, therefore any upgrade from a DSpace version less than 3.X will not have these fields. This causes major errors when attempting to do statistics maintenance in DSpace versions => 3.X after an upgrade from a lower version of DSpace. |
| + | |||
| + | See the link below for a possible fix. | ||
https://gist.github.com/terrywbrady/82bd91b53ea4374b96e4 | https://gist.github.com/terrywbrady/82bd91b53ea4374b96e4 | ||
Because of this problem, we have moved to using [[SUNScholar/Elastic_Statistics|Elastic Statistics]] instead, which seems to be more stable. | Because of this problem, we have moved to using [[SUNScholar/Elastic_Statistics|Elastic Statistics]] instead, which seems to be more stable. | ||
Revision as of 20:57, 18 January 2015
Back to Customisation
Contents
PLEASE NOTE:
New statistics fields were introduced in DSpace 3.X, therefore any upgrade from a DSpace version less than 3.X will not have these fields. This causes major errors when attempting to do statistics maintenance in DSpace versions => 3.X after an upgrade from a lower version of DSpace.
See the link below for a possible fix.
https://gist.github.com/terrywbrady/82bd91b53ea4374b96e4
Because of this problem, we have moved to using Elastic Statistics instead, which seems to be more stable.
Introduction
SOLR Statistics was introduced with DSpace version 1.6.2, but did not work well until DSpace version 1.8.2.
- SOLR statistics are enabled by default for the XMLUI in DSpace versions => 3.2.
Requirements
Before attempting setup please make sure the following are correct:
For DSpace 4.X
For DSpace 3.X
For DSpace 1.8.X
Old Statistics Conversion Help
Standards
Check SOLR webapp operation
If you have problems with the SOLR webapp, then complete the following to check its operation.
Install the "lynx" application.
sudo apt-get install lynx
Then type the following in the console:
lynx http://localhost/solr
You should get the following:
If not debug the solr webapp until you can.
Remember to restart the Tomcat server for each change you make to a webapp configuration.
SOLR Help
General
- https://wiki.duraspace.org/display/DSPACE/Solr
- http://lucene.apache.org/solr
- http://wiki.apache.org/solr
Maintaining SOLR
- https://wiki.duraspace.org/display/DSDOC6x/SOLR+Statistics+Maintenance
- https://wiki.duraspace.org/display/DSDOC5x/SOLR+Statistics+Maintenance
DSpace Settings
Querying the SOLR DB
- https://wiki.duraspace.org/display/DSDOC5x/SOLR+Statistics#SOLRStatistics-CustomReporting-QueryingSOLRDirectly
- https://wiki.duraspace.org/display/DSDOC4x/DSpace+Statistics#DSpaceStatistics-CustomReporting-QueryingSOLRDirectly
- https://wiki.duraspace.org/display/DSDOC3x/DSpace+Statistics#DSpaceStatistics-CustomReporting-QueryingSOLRDirectly
