You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Vijaya Gorla (Jira)" <ji...@apache.org> on 2025/03/24 22:32:00 UTC
[jira] [Comment Edited] (NIFI-14351) Paginated Elasticsearch processors with pagination type SEARCH_AFTER must not have a query expiry time
[ https://issues.apache.org/jira/browse/NIFI-14351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17938052#comment-17938052 ]
Vijaya Gorla edited comment on NIFI-14351 at 3/24/25 10:31 PM:
---------------------------------------------------------------
Pull request
[NIFI-10304 NIFI-14351 Added a config item to SearchElasticsearch processor to control if the processor restarts on query finish. Also removed query expiration for SEARCH_AFTER pagination type by vjgorla · Pull Request #9806 · apache/nifi|https://github.com/apache/nifi/pull/9806]
was (Author: vjgorla):
Pull request
[[NIFI-10304] [NIFI-14351] Added a config item to SearchElasticsearch processor to control if the processor restarts on query finish. Also removed query expiration for SEARCH_AFTER pagination type by vjgorla · Pull Request #9806 · apache/nifi|https://github.com/apache/nifi/pull/9806]
> Paginated Elasticsearch processors with pagination type SEARCH_AFTER must not have a query expiry time
> ------------------------------------------------------------------------------------------------------
>
> Key: NIFI-14351
> URL: https://issues.apache.org/jira/browse/NIFI-14351
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 2.2.0
> Reporter: Vijaya Gorla
> Assignee: Tomasz Korniszuk
> Priority: Minor
> Labels: elasticsearch
>
> Currently a query expiration behavior has been implemented for paginated Elasticsearch processors using any pagination type ({{{}SCROLL{}}} / {{POINT_IN_TIME}} / {{{}SEARCH_AFTER{}}}). However {{SEARCH_AFTER}} queries without a PIT do not expire at Elasticsearch level hence the query expiration behavior should be removed when pagination type is {{{}SEARCH_AFTER{}}}.
> [https://www.elastic.co/guide/en/elasticsearch/reference/current/paginate-search-results.html#search-after]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)