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: Use Elasticsearch 6 with Liferay 6.2
Hi,
I'm using Liferay 6.2, and i can't migrate on Liferay 7.
Is it possible to configure Elasticsearch 6 with my version of Liferay?
How can i do it?
Thanks
Hi C P,
There is no official support of any Elasticsearch version in Liferay 6.2
There is a third-party plugin in Liferay Marketplace (not implemented by Liferay) that allows you to use Elasticsearch in Liferay 6.2: https://web.liferay.com/es/marketplace/-/mp/application/41044606
But it only supports Elasticsearch 1.4.0.
In your message you say you cannot migrate to Liferay 7, is there any special reason about it?
Regards,
Jorge Díaz
Thanks for the reply!
I've read about the plug-in and i already know that it won't work in
my case.
I'm working on a web app already developed by someone
else, and they are currently using this version of liferay. My task is
just to figure out, if possible, a way to connect this web app with
Elasticsearch 6.
Update:
Maybe i could try to use Elasticsearch API, but i have to figure out how to add the dependencies correctly in Liferay.
Your only option is to create your own plugin in order to connect to Elasticsearch 6
You can use as an example Liferay Solr 4 plugin code:
- lib: https://github.com/liferay/liferay-plugins/tree/6.2.x/shared/solr4-shared
- plugin: https://github.com/liferay/liferay-plugins/tree/6.2.x/webs/solr4-web
You will have to replace all Solr client references to Elasticsearch one.
You can also use the code of third-party Elasticsearch 1.4.0
connector, but I don't know where is located its code.
Regards,
Jorge
Thank you for the reply!
I will consider this solution then!
Thanks for the help!
Powered by Liferay™