Make sure your search.server URL in
discovery.cfg<https://github.com/DSpace/DSpace/blob/master/dspace/config/modules/discovery.cfg>
is
correct. Something like *http://localhost:8080/solr/search*
Javier Távara
2013/10/2 Oscar Sanchez Gomez <[email protected]>
> Helix84,
> Thanks for the help. You are right. In one of the reinstallation process I
> lost the modification of the server.xml in tomcat 7. Now, the Spanish words
> are spelled right but if I use the basic search, the application doesn't
> returns results, only if I use the indexes of the right column (Mirage
> theme in xmlui).
>
> I execute the discovery update index and have the following exception:
>
> [dspace@bibliorep bin]$ ./dspace update-discovery-index -f
> INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
> DSpaceKernel:org.dspace:name=48be0483-a361-43e1-8962-2c71ac88f5a5,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
> INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
> file:/opt/dspace/config/dspace.cfg
> INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
> configuration (log.init.config)
> INFO [main] (ConfigurationManager.java:1224) - Loading:
> /opt/dspace/config/log4j.properties
> Exception: null
> org.dspace.discovery.SearchServiceException
> at
> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)
> at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
> Caused by: java.net.MalformedURLException
> at java.net.URL.<init>(URL.java:619)
> at java.net.URL.<init>(URL.java:482)
> at java.net.URL.<init>(URL.java:431)
> at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolrServer.java:146)
> at
> org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:99)
> at
> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:384)
> ... 6 more
> Caused by: java.lang.NullPointerException
> at java.net.URL.<init>(URL.java:524)
> ... 11 more
> [
>
> What is wrong?
>
> Regards,
> Ing. Oscar Sánchez G., MAE
> Profesional en TI
> Biblioteca José Figueres Ferrer
> Instituto Tecnológico de Costa Rica
> I Tel: 2550-2135
> Fax: 2591-4820
> F Apdo Postal: 159-7050
>
> -----Mensaje original-----
> De: [email protected] [mailto:[email protected]] En nombre de
> helix84
> Enviado el: miércoles, 02 de octubre de 2013 12:24 p.m.
> Para: Oscar Sanchez Gomez
> CC: [email protected]
> Asunto: Re: [Dspace-tech] Search results in non english language
>
> On Wed, Oct 2, 2013 at 5:45 PM, Oscar Sanchez Gomez <[email protected]>
> wrote:
> > well spelled . Example the word used is “Taxonomía”, and the return
> > search word is “TaxonomÃa” with no hits.
>
> Yes, that sounds like missing URIEncoding="UTF-8", just like Javier said.
> If you're using other connectors than for HTTP (HTTPS, AJP), make sure to
> include it in those, too.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette