Dear Daniel,
to use DSpace-CRIS is mandatory migrate to Solr 4.1.0.
To rebuild solr data index in the right format for the 4.1.0, you can call the optimize command directly to the solr server:
http://[hostname:port]/solr/[solrcore]/update?optimize=true

DSpace-CRIS have 5 solr core (3 derived from DSpace - 1 core for network feature - 1 for pubmed feature) so for example you can call via http (open your browser or use wget or curl tool) the follow link:
http://localhost:8080/solr/search/update?optimize=true

http://localhost:8080/solr/statistics/update?optimize=true

http://localhost:8080/solr/oai/update?optimize=true
http://localhost:8080/solr/network/update?optimize=true
http://localhost:8080/solr/pmc/update?optimize=true 

If your installation of DSpace-CRIS is derived from an old DSpace installation (<1.8) then before to migrate data index to 4.1.0 you need to optimize index with the optimize implemented on solr server 3.5.0(after that you can turn off this and migrate to 4.1.0 optimize core again). For other details see https://jira.duraspace.org/browse/DS-1776

BTW for the solr search core you can remove manually the index data directory [dspace]/solr/search/data and run from [dspace]/bin the "dspace update-discovery-index" command (recall that solr server must be up and running before launch indexer). After this you can rebuild also index data for network feature running "dspace dsrun org.dspace.app.cris.batch.ScriptIndexNetwork -a" or if you have interest only to create the network for coauthored publications launch "dspace dsrun org.dspace.app.cris.batch.ScriptIndexNetwork -s coauthors"

Hope this helps.

Luigi Andrea

Il 25/11/2013 17:03, Daniel Garcia ha scritto:
Hi Luigi,


Thanks it works!

I see that I have Solr Specification Version: 3.5.0.
In documentation I see that prerequisite software is Solr 4.1.0. You recommend to me to upgrade? I'm afraid to stop working, at now it works.


Thanks in advance,



Daniel


El 25/11/13 16:21, Pascarelli Luigi Andrea ha escrit:
Yes, using Tomcat 7 you have to add the follow parameter to the JAVA_OPTS:
-Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true
At http://cineca.github.io/dspace-cris/installation-stepbystep.html we report this configuration for Tomcat 7 but perhaps is better point out it and create a isolate paragraph with this options that depend to the underlying used tool. Sorry for that, we upgrade the documentation asap.

Luigi Andrea

Il 25/11/2013 16:12, Daniel Garcia ha scritto:
I try with this values in JAVA_OPTS:

-Xmx950M -Xms512M -XX:PermSize=128M -XX:MaxPermSize=256M -XX:-UseGCOverheadLimit -XX:+UseParallelGC -XX:+UseAdaptiveSizePolicy -XX:-UseConcMarkSweepGC -Dfile.encoding=UTF-8

I need some more parameter?


Thanks in advance,


Daniel

El 25/11/13 15:48, helix84 ha escrit:
Hi Daniel,

what is your value of the JAVA_OPTS (and any other optional Java environment variables, see comments in bin/catalina.sh) in the environment where you run startup.sh?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--


CINECA
Luigi Andrea Pascarelli
Dipartimento Servizi e Soluzioni per l'Amministrazione Universitaria
Divisione Ricerca

Via dei Tizii, 6
00185 Roma, Italy
ph. +39 06 59292895
http://www.cineca.it



--


CINECA
Luigi Andrea Pascarelli
Dipartimento Servizi e Soluzioni per l'Amministrazione Universitaria
Divisione Ricerca

Via

                dei Tizii, 6 
00185 Roma, Italy
ph. +39 06 59292895
http://www.cineca.it

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to