Foren

INTEGRATING SOLR 4.1 WITH LIFERAY 6.1CE

Shriharsh Ambhore, geändert vor 11 Jahren.

INTEGRATING SOLR 4.1 WITH LIFERAY 6.1CE

New Member Beiträge: 11 Beitrittsdatum: 05.03.13 Neueste Beiträge
Hi
Can anyone tell me the exact steps to follow to integrate Solr 4.1 with Liferay 6.1 CE ??
thumbnail
Jignesh Vachhani, geändert vor 11 Jahren.

RE: INTEGRATING SOLR 4.1 WITH LIFERAY 6.1CE

Liferay Master Beiträge: 803 Beitrittsdatum: 10.03.08 Neueste Beiträge
Hi Shri,

You can take a quick look on http://www.liferaysolution.com/2013/03/solr-integration-with-liferay-61.html.

Hope this will helpful to you !!!
Put your comment here if you are not clear with the steps
thumbnail
Juan Gonzalez P, geändert vor 11 Jahren.

RE: INTEGRATING SOLR 4.1 WITH LIFERAY 6.1CE

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Guess it isn't what he asked for.

He wanted to integrate Solr 4.1, not 1.4.1 (which is the version of that blog post).
thumbnail
Jignesh Vachhani, geändert vor 11 Jahren.

RE: INTEGRATING SOLR 4.1 WITH LIFERAY 6.1CE

Liferay Master Beiträge: 803 Beitrittsdatum: 10.03.08 Neueste Beiträge
Juan Gonzalez P:
Guess it isn't what he asked for.

He wanted to integrate Solr 4.1, not 1.4.1 (which is the version of that blog post).


Yes Agreed Juan that was my mistake.
Actually that was integration with 1.4.1 ...
Shriharsh Ambhore, geändert vor 11 Jahren.

RE: INTEGRATING SOLR 4.1 WITH LIFERAY 6.1CE

New Member Beiträge: 11 Beitrittsdatum: 05.03.13 Neueste Beiträge
Hey Jignesh & Juan thanks for such quick reply ..
I followed the steps mentioned and could set up the Solr sever on tomcat ... but encountered error while configuring Solr web plugin in liferay 6.1 CE
here is the error "“collection1: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load config for solrconfig.xml”"

TIA
Jack Chung, geändert vor 11 Jahren.

RE: INTEGRATING SOLR 4.1 WITH LIFERAY 6.1CE

New Member Beiträge: 19 Beitrittsdatum: 30.11.11 Neueste Beiträge
Most of the time, solr 1.4.1 has been sufficient, but I recall that once I was able to get it working with solr 3.4.0. I have not tried it with solr 4.1, but for solr 3.4.0, I had to replace the solr-solrj and the solr-core .jar files in the WEB-INF/lib directory of the solr-web plugin with the solr 3.4.0 versions.
thumbnail
Hitoshi Ozawa, geändert vor 11 Jahren.

RE: INTEGRATING SOLR 4.1 WITH LIFERAY 6.1CE

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
Yes, the version of Solr in the plugin has to match the Solr server version. However, I think the error of not being able to find Solr configuration file is simply because it's not in the path specified in Solr.
Emanuele Righetto, geändert vor 10 Jahren.

RE: INTEGRATING SOLR 4.1 WITH LIFERAY 6.1CE

New Member Beiträge: 11 Beitrittsdatum: 05.10.10 Neueste Beiträge
The major problem with solr 4.0+ is the use of apache httpclient 4, witch is quite different from 3.x.
You must include solr 4.x (core and solr) libs, as well as httpclient-4.x, httpcore-4.x and httpmime-4.x.
You also have do rewrite some classes in order to use new classes (most of work is on BasicAuthSolrServer) and redeploy the plugin.

i've successfully deployed it with solr 4.4 and httpclient 4.2.3 version