[jira] [Commented] (NUTCH-2739) indexer-elastic: Upgrade ES and migrate to REST client

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (NUTCH-2739) indexer-elastic: Upgrade ES and migrate to REST client

Tim Allison (Jira)

    [ https://issues.apache.org/jira/browse/NUTCH-2739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16969580#comment-16969580 ]

ASF GitHub Bot commented on NUTCH-2739:

sebastian-nagel commented on pull request #484: NUTCH-2739 : Upgrade ES and migrate to REST client
URL: https://github.com/apache/nutch/pull/484#discussion_r343885876

 File path: src/plugin/indexer-elastic/ivy.xml
 @@ -36,8 +36,8 @@
-    <dependency org="org.elasticsearch" name="elasticsearch" rev="5.3.0" conf="*->default"/>
-    <dependency org="org.elasticsearch.client" name="transport" rev="5.3.0"/>
+    <dependency org="org.elasticsearch.client" name="elasticsearch-rest-high-level-client" rev="7.3.0"/>
 Review comment:
   The updated dependencies must be also "registered" in [indexer-elastic/plugin.xml](https://github.com/apache/nutch/blob/b5541455e0c6e2da4a8539ce61d2f05fc68f472c/src/plugin/indexer-elastic/plugin.xml). The description [hot to uprade ES](https://github.com/apache/nutch/blob/b5541455e0c6e2da4a8539ce61d2f05fc68f472c/src/plugin/indexer-elastic/howto_upgrade_es.txt) is somewhat outdated, better have a look at parse-tika for both the description and build-ivy.xml.
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[hidden email]

> indexer-elastic: Upgrade ES and migrate to REST client
> ------------------------------------------------------
>                 Key: NUTCH-2739
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2739
>             Project: Nutch
>          Issue Type: Improvement
>          Components: indexer, plugin
>    Affects Versions: 1.15
>            Reporter: Sebastian Nagel
>            Priority: Major
>             Fix For: 1.17
> The indexer-elastic plugin is based on 5.3.0 and should be upgraded to the most recent Elasticsearch version (7.3.0 or upwards).
> [TransportClient|https://www.elastic.co/guide/en/elasticsearch/client/java-api/7.3/transport-client.html] has been deprecated in ES 7.x and will be removed in 8.x. We should migrate to using the [REST client|https://www.elastic.co/guide/en/elasticsearch/client/java-rest/7.3/java-rest-high.html] and also check whether this would obsolete the indexer-elastic-rest plugin.

This message was sent by Atlassian Jira