Foros de discusión

Liferay 6.1 with Solr 3.5

Ronald Chu, modificado hace 12 años.

Liferay 6.1 with Solr 3.5

New Member Mensajes: 2 Fecha de incorporación: 12/01/12 Mensajes recientes
Can anyone tell me that the liferay 6.1 is compatible with Solr 3.5? Thanks!
Firas B&D, modificado hace 12 años.

RE: Liferay 6.1 with Solr 3.5

Junior Member Mensajes: 43 Fecha de incorporación: 3/10/11 Mensajes recientes
With Liferay 6.0.6, I used the apache-Solr 1.4.1 with the plugin solr-web-6.0.1.1 .WAR and it works, but with Liferay 6.1 I still don't try it.
thumbnail
Namrata Hangal, modificado hace 11 años.

RE: Liferay 6.1 with Solr 3.5

Regular Member Mensajes: 161 Fecha de incorporación: 27/07/10 Mensajes recientes
Hi Firas,

Could you please share the steps to integrate liferay 6.1 and solr 1.4.1? I have read the wiki but it's not very clear to me...!
Thanks!
Firas BD, modificado hace 11 años.

RE: Liferay 6.1 with Solr 3.5

Junior Member Mensajes: 43 Fecha de incorporación: 3/10/11 Mensajes recientes
Hi Namrata

Sorry but I didn't try Solr integration with Liferay CE 6.1 (just I have tried it with Liferay 6.0)
thumbnail
Keith O'Connell, modificado hace 12 años.

RE: Liferay 6.1 with Solr 3.5

New Member Mensaje: 1 Fecha de incorporación: 14/04/10 Mensajes recientes
At this point, Liferay 6.1 still only supports Solr 1.4.1.
thumbnail
Marcus Andrade Peixoto, modificado hace 12 años.

RE: Liferay 6.1 with Solr 3.5

New Member Mensajes: 5 Fecha de incorporación: 15/12/07 Mensajes recientes
I'm using Liferay 6.0.6 CE with Solr 3.5 and here are some steps, supposing you have a good knowledge on integrating Liferay and Solr.

- Get Solr 3.5.
- Use the new versions of schema.xml and solrconfig.xml and make the necessary changes to work with Liferay, or just compare to your former versions.
- Solr 3.5 doesn't accept sorting multiValued fields. So all sortable ones must be defined in schema.xml to not fall into the "*" dynamicField rule.

In order to display Users list in Control Panel, add the following lines to your schema.xml just before the first dynamicField definition:

<field name="firstName" type="string" indexed="true" stored="true" />
<field name="lastName" type="string" indexed="true" stored="true" />
<field name="screenName" type="string" indexed="true" stored="true" />

- Compile Solr code and solr/solrj
- Copy solr/lib/slf4j-api-1.6.1.jar to $tomcatdir/lib/ext.

Before doing the next step, delete all files in solr-web/docroot/WEB-INF/lib.

Copy solr/dist/apache-solr-solrj-3.5-SNAPSHOT.jar and log4j-over-slf4j-1.6.1.jar to solr-web/docroot/WEB-INF/lib

That's it, just delete Solr's indexes and restart Solr and Liferay.
thumbnail
Namrata Hangal, modificado hace 11 años.

RE: Liferay 6.1 with Solr 3.5

Regular Member Mensajes: 161 Fecha de incorporación: 27/07/10 Mensajes recientes
Hi Marcus,

Could you please elaborate on "integrating Liferay and Solr". The wiki is not very clear for a beginner and the plugins listed therein are outdated.
Appreciate any help!

Thanks..
thumbnail
Namrata Hangal, modificado hace 11 años.

RE: Liferay 6.1 with Solr 3.5

Regular Member Mensajes: 161 Fecha de incorporación: 27/07/10 Mensajes recientes
Hi Marcus,

Thanks for posting those steps on integrating solr 3.5 with liferay 6.1. It worked for me except for the users list in the control panel.
I added those fields in schema.xml of solr and restarted both liferay and solr, but still am not able to see anything in the control panel under Users and Organisations.

Any clue?