Hello.
Today I saw my search results aren't being updated, so I decided to see the
logs and I found:
INFO org.apache.solr.handler.admin.CoreAdminHandler @ core create command
instanceDir=statistics&name=statistics-2011&action=CREATE&dataDir=/home/
dspace/installation/solr/statistics-2011/data&wt=javabin&version=2
WARN org.apache.solr.handler.admin.CoreAdminHandler @ Creating a core with
existing name is not allowed
ERROR org.apache.solr.core.SolrCore @ org.apache.solr.common.SolrException:
Core with name 'statistics-2011' already exists.
INFO org.apache.solr.servlet.SolrDispatchFilter @ [admin] webapp=null path=
/admin/cores params={instanceDir=statistics&name=statistics-2011&action=
CREATE&dataDir=/home/dspace/installation/solr/statistics-2011/data&wt=
javabin&version=2} status=500 QTime=1
ERROR org.apache.solr.servlet.SolrDispatchFilter @ null:org.apache.solr.
common.SolrException: Core with name 'statistics-2011' already exists.
The message I'm getting:
Creating a core with existing name is not allowed.
Core with name 'statistics-2011' already exists.
According to the dates recorded, this is happening when 2 cron jobs are
running:
# Cleanup Web Spiders from DSpace Statistics Solr Index at 01:00 every day
# NOTE: ONLY NECESSARY IF YOU ARE RUNNING SOLR STATISTICS
# (This removes any known web spiders from your usage statistics)
0 1 * * * $DSPACE/bin/dspace stats-util -i
# Re-Optimize DSpace Statistics Solr Index at 01:30 every day
# NOTE: ONLY NECESSARY IF YOU ARE RUNNING SOLR STATISTICS
# (This ensures that the Statistics Solr Index is re-optimized for better
performance)
30 1 * * * $DSPACE/bin/dspace stats-util -o
And it started the first day of this year (because of dspace stats-util -s
maybe).
And don't know if this will resolve my original problem (search results
aren't being updated), but maybe it's a start.
I hope someone can help me.
Thanks!
Javier.
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.