Hi Oliver,
* In the box of my example I see "checked on Aug 10". How can I update the values? Do I need to run a script or is it happening automatically?
https://wiki.duraspace.org/display/DSPACECRIS/jobs+in+CRONTAB
Usage statistics: ./view-and-download-retrieve
Weekly Jobs
./period-weekly-retrieve (compute the weekly variation of all the previous metrics)
Monthly Jobs
./period-monthly-retrieve (compute the monthly variation of all the previous metrics)
* I saw a table cris_metrics in the database. On my test system there are some values, which look reasonable to me. But they are not used on my page. Where is the data coming from? Or is some cache fooling me here?
* Is there any chance to import usage data from a logfile to generate these values retrospectively?
--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
--
Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non infetto.
Clicca qui per segnalarlo come spam.
-- Andrea Bollini Chief Technology and Innovation Officer 4Science, www.4science.it office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy mobile: +39 333 934 1808 skype: a.bollini linkedin: andreabollini orcid: 0000-0002-9029-1854 an Itway Group Company Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates
--
This message has been checked by Libra ESVA and is believed to be clean.
Hi Oliver,
the statistics core is used to calculate the metrics value and the search core is used to "access" the calculated value.
When I say that the search core is used to access the value I mean that there are some dynamic fields in the search core schema that are backend by a custom SOLR field that at the end read from the database (caching the values).
We should check if there is an issue in accessing the data or in producing them. Which data do you have in the database? is a new row created after that you execute the scripts?
assuming you are checking the metrics of the item with ID 1 you should run the following query before and after to execution of the script
dspace/bin/view-and-download-retrieve
select * from cris_metrics where resource_type_id = 2 and resource_id =1;
and you should see two new rows created.
If you don't see the two new table rows, it could be useful to check what go in your dspace and solr logs during the script execution.
Andrea
I see your message just after to have sent a reply to the previous email.
You say
although the cris_metrics table is as I expected it
if you have optimized the solr data the cache should (must) be gone... the only more strong way to assure that is to restart the solr tomcat. If you can give it a try.
Anyway, if you can exclude a cache problem and you still see the old data it is likely that your SOLR instance is connected to a different database. Check the
/dspace-install/solr/search/conf/database.properties (it is filled with the db connection values from your dspace.cfg at installation/update time)
Andrea