Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Using ElasticSearch Connector 7 with Liferay 7.3.X
I am building up a new system to be deployed in a couple of months and so I was starting with the latest Liferay (7.3.x) and ElasticSearch (7.6).Currently the liferay bundles only ship with the elasticsearch connector for ElasticSearch 6.So I tried to use the elasticsearch connector 7 from the marketplace.I am getting this error (and some other connection issues):2020-03-31 08:15:30.414 ERROR [Framework Event Dispatcher: Equinox Container: 30aea4c4-6acd-492e-a240-2e7cc6531669][F
ramework:93] FrameworkEvent ERROR
org.osgi.framework.BundleException: Could not resolve module: com.liferay.portal.search.elasticsearch7.impl [1116]_
Unresolved requirement: Import-Package: com.liferay.portal.kernel.cluster; version="[7.0.0,8.0.0)"_ [Sanitized]
1) I was wanting to confirm that the elasticsearch connector 7 that is currently listed in the marketplace is not compatible with the new 7.3.X liferay versions; and2) Is the only way to get a compatible elasticsearch connect 7 for liferay 7.3.X is to build it myself? There has been a new release of liferay (7.3.1 ga2) which I have just checked only has the elasticsearch connector 6;Happy to build myself at this point but was hoping to find quick solution.ThanksMichael
ramework:93] FrameworkEvent ERROR
org.osgi.framework.BundleException: Could not resolve module: com.liferay.portal.search.elasticsearch7.impl [1116]_
Unresolved requirement: Import-Package: com.liferay.portal.kernel.cluster; version="[7.0.0,8.0.0)"_ [Sanitized]
1) I was wanting to confirm that the elasticsearch connector 7 that is currently listed in the marketplace is not compatible with the new 7.3.X liferay versions; and2) Is the only way to get a compatible elasticsearch connect 7 for liferay 7.3.X is to build it myself? There has been a new release of liferay (7.3.1 ga2) which I have just checked only has the elasticsearch connector 6;Happy to build myself at this point but was hoping to find quick solution.ThanksMichael
Liferay 7.3 doesn't support ES 7 at this point, support will only be added in upcoming releases (you could try to download a snapshot build, maybe it is already in there). So, currently you need to use 6.x
https://cdn.lfrs.sl/releases.liferay.com/portal/snapshot-master/
https://cdn.lfrs.sl/releases.liferay.com/portal/snapshot-master/
Thanks for the info; Just as a note for others. The current, as of this post, snapshot does not include the elasticsearch 7 connector in the build.
Alejandro Espartaco Alvarez, modified 5 Years ago.
New Member
Posts: 13
Join Date: 9/10/12
Recent Posts
Hello, Nice to know that you built it yourself, I'm needing to do it too, is there a possibility that you give me some help about how to build ElasticSearch Connector 7 for LR 7.3.x ?
Thanks
Alejandro
Thanks
Alejandro
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™