掲示板

Liferay 6.1 with Solr 3.5

12年前 に Ronald Chu によって更新されました。

Liferay 6.1 with Solr 3.5

New Member 投稿: 2 参加年月日: 12/01/12 最新の投稿
Can anyone tell me that the liferay 6.1 is compatible with Solr 3.5? Thanks!
12年前 に Firas B&D によって更新されました。

RE: Liferay 6.1 with Solr 3.5

Junior Member 投稿: 43 参加年月日: 11/10/03 最新の投稿
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
11年前 に Namrata Hangal によって更新されました。

RE: Liferay 6.1 with Solr 3.5

Regular Member 投稿: 161 参加年月日: 10/07/27 最新の投稿
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!
11年前 に Firas BD によって更新されました。

RE: Liferay 6.1 with Solr 3.5

Junior Member 投稿: 43 参加年月日: 11/10/03 最新の投稿
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
12年前 に Keith O'Connell によって更新されました。

RE: Liferay 6.1 with Solr 3.5

New Member 投稿: 1 参加年月日: 10/04/14 最新の投稿
At this point, Liferay 6.1 still only supports Solr 1.4.1.
thumbnail
12年前 に Marcus Andrade Peixoto によって更新されました。

RE: Liferay 6.1 with Solr 3.5

New Member 投稿: 5 参加年月日: 07/12/15 最新の投稿
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
11年前 に Namrata Hangal によって更新されました。

RE: Liferay 6.1 with Solr 3.5

Regular Member 投稿: 161 参加年月日: 10/07/27 最新の投稿
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
11年前 に Namrata Hangal によって更新されました。

RE: Liferay 6.1 with Solr 3.5

Regular Member 投稿: 161 参加年月日: 10/07/27 最新の投稿
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?