[SOLUCIONADO] No funciona Solr

cancel
Showing results for 
Search instead for 
Did you mean: 
lisandro
Member II

[SOLUCIONADO] No funciona Solr

Buenas!!! Acabo de migrar Alfresco 4.0.a a la versión 4.0.d. Pero Solr no funciona, al hacer una búsqueda no devuelve resultados. Qué puedo hacer? Gracias de antemano!

Jul 25, 2012 12:00:00 AM org.apache.solr.common.SolrException log
SEVERE: org.alfresco.repo.search.impl.parsers.FTSQueryException: 06250004 Unknown property: {http://www.alfresco.org/model/website/1.0}published
   at org.alfresco.repo.search.impl.parsers.AlfrescoFunctionEvaluationContext.getLuceneFieldName(AlfrescoFunctionEvaluationContext.java:391)
   at org.alfresco.repo.search.impl.querymodel.impl.lucene.functions.LuceneFTSPhrase.addComponent(LuceneFTSPhrase.java:79)
   at org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneFunctionalConstraint.addComponent(LuceneFunctionalConstraint.java:58)
   at org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneDisjunction.addComponent(LuceneDisjunction.java:66)
   at org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneQuery.buildQuery(LuceneQuery.java:110)
   at org.alfresco.solr.AlfrescoSolrDataModel.getFTSQuery(AlfrescoSolrDataModel.java:1012)
   at org.alfresco.solr.query.AlfrescoFTSQParserPlugin$AlfrescoFTSQParser.parse(AlfrescoFTSQParserPlugin.java:238)
   at org.apache.solr.search.QParser.getQuery(QParser.java:131)
   at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:103)
   at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:174)
   at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
   at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
   at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
   at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:662)

Advertir el siguiente error:

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2 Replies
antoniosoler
Member II

Re: [SOLUCIONADO] No funciona Solr

Te voy a pegar un articulo que escribi para hacer unas comprobaciones basicas de alfresco, el ingles que uso no es muy complicado con lo que creo que no te sera dificil:



Open this address:

https://127.0.0.1:8443/solr/

(replace all 127.0.0.1 with your server address )

Change the ip addres with your own, you may need to import the certificate into your browser personal certificates: the browser.p12 file in the alf_data/keystore

the default password is: alfresco 

then if you see SOLR Logo open:

https://127.0.0.1:8443/solr/admin/cores?action=SUMMARY

Check that you have in the response at least running 2 cores in SOLR, Check that the dates are correct and all time and matching means that the information is updated.

https://127.0.0.1:8443/solr/admin/cores?action=REPORT

Check that you have "DB transaction count" = "Index transaction count" means that eveyrhing is 100% indexed.

In theory there is an action that automatically will fix the sinchronization of the indexes (Check the index for missing, duplicated, and extra transactions or acl change sets and fix up any found):

https://127.0.0.1:8443/solr/admin/cores?action=FIX
lisandro
Member II

Re: [SOLUCIONADO] No funciona Solr

Gracias amigo! De todas formas pude solucionar el error mencionado copiando la carpeta 'solr' de 'alf_data-virgin' en 'alf_data' que era la carpeta que migré. Pequeño detalle Smiley Tongue