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
Integration With Elasticsearch 7.0
Hi,
we are using Elastic search7 to store the data from liferay and we are not using embedded elasticsearch.
when we connect to the elasticsearch from the elasticsearch-rest-high-level-client:7.9.2 we are getting the below issue.
:modules:ExampleElastic:jar
[Exception: null, Invalid class
file META-INF/versions/9/module-info.class
(java.lang.ArrayIndexOutOfBoundsException), Exception: null]
[Classes found in the wrong directory:
{META-INF/versions/9/org/elasticsearch/monitor/jvm/JvmPid.class=org.elasticsearch.monitor.jvm.JvmPid},
Classes found in the wrong directory:
{META-INF/versions/9/org/elasticsearch/core/internal/io/Streams.class=org.elasticsearch.core.internal.io.Streams},
Classes found in the wrong directory:
{META-INF/versions/9/org/apache/lucene/util/LongsRef.class=org.apache.lucene.util.LongsRef,
META-INF/versions/9/org/apache/lucene/search/PointRangeQuery$1.class=org.apache.lucene.search.PointRangeQuery$1,
META-INF/versions/9/org/apache/lucene/util/StringHelper.class=org.apache.lucene.util.StringHelper,
META-INF/versions/9/org/apache/lucene/util/automaton/Automaton$Builder.class=org.apache.lucene.util.automaton.Automaton$Builder,
META-INF/versions/9/org/apache/lucene/analysis/tokenattributes/CharTermAttributeImpl.class=org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl,
META-INF/versions/9/org/apache/lucene/util/BytesRef.class=org.apache.lucene.util.BytesRef, META-INF/versions/9/org/apache/lucene/search/PointRang
i have tried with many versions of elastic search but still getiing the same issue.any solutions would be appriciated.
we are using liferay-portal-dxp-sp7
elasticsearch-rest-high-level-client:7.9.2
Thanks,
Mahesh G.
Powered by Liferay™