Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Ronald Ronald
Liferay 6.1 with Solr 3.5
January 19, 2012 7:37 AM
Answer

Ronald Ronald

Rank: New Member

Posts: 2

Join Date: January 12, 2012

Recent Posts

Can anyone tell me that the liferay 6.1 is compatible with Solr 3.5? Thanks!
Firas BD
RE: Liferay 6.1 with Solr 3.5
January 20, 2012 7:02 AM
Answer

Firas BD

Rank: Junior Member

Posts: 43

Join Date: October 3, 2011

Recent Posts

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.
Keith O'Connell
RE: Liferay 6.1 with Solr 3.5
February 3, 2012 9:41 AM
Answer

Keith O'Connell

Rank: New Member

Posts: 1

Join Date: April 14, 2010

Recent Posts

At this point, Liferay 6.1 still only supports Solr 1.4.1.
Marcus Andrade Peixoto
RE: Liferay 6.1 with Solr 3.5
February 24, 2012 9:54 AM
Answer

Marcus Andrade Peixoto

Rank: New Member

Posts: 5

Join Date: December 15, 2007

Recent Posts

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.
Namrata Hangal
RE: Liferay 6.1 with Solr 3.5
May 17, 2012 3:27 AM
Answer

Namrata Hangal

Rank: Regular Member

Posts: 161

Join Date: July 26, 2010

Recent Posts

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!
Namrata Hangal
RE: Liferay 6.1 with Solr 3.5
May 17, 2012 3:30 AM
Answer

Namrata Hangal

Rank: Regular Member

Posts: 161

Join Date: July 26, 2010

Recent Posts

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..
Firas BD
RE: Liferay 6.1 with Solr 3.5
May 22, 2012 1:31 AM
Answer

Firas BD

Rank: Junior Member

Posts: 43

Join Date: October 3, 2011

Recent Posts

Hi Namrata

Sorry but I didn't try Solr integration with Liferay CE 6.1 (just I have tried it with Liferay 6.0)
Namrata Hangal
RE: Liferay 6.1 with Solr 3.5
May 29, 2012 10:20 PM
Answer

Namrata Hangal

Rank: Regular Member

Posts: 161

Join Date: July 26, 2010

Recent Posts

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?