[
https://issues.apache.org/jira/browse/NIFI-12063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17765402#comment-17765402
]
ASF subversion and git services commented on NIFI-12063:
--------------------------------------------------------
Commit 94bb8aec97e83607f5c084a6261923e224dadc58 in nifi's branch
refs/heads/main from Chris Sampson
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=94bb8aec97 ]
NIFI-12063 Clarified Elasticsearch Query Documentation
Clarify paginated Elasticsearch with SCROLL does not use query parameters from
dynamic properties
This closes #7695
Signed-off-by: David Handermann <[email protected]>
> Paginated Elasticsearch processors do not pass Dynamic Properties as Request
> Parameters for SCROLL pagination
> -------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-12063
> URL: https://issues.apache.org/jira/browse/NIFI-12063
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.23.2
> Reporter: Chris Sampson
> Assignee: Chris Sampson
> Priority: Trivial
> Fix For: 1.latest, 2.latest
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Dynamic Properties added to the Paginated Elasticsearch processors are meant
> to be used as Request Parameters when searching Elasticsearch.
> This *does* happen, *except* for subsequent pages of a *SCROLL* type query.
> This is because the [Elasticsearch Scroll
> API|https://www.elastic.co/guide/en/elasticsearch/reference/current/scroll-api.html]
> does not accept such request parameters.
> NiFi should clarify this in its documentation for users. NiFi users can
> easily change to using SEARCH_AFTER or POINT_IN_TIME (requires Elasticsearch
> 7.10+ and X-Pack) instead of SCROLL, where the Request Parameters are used
> for every call to the [Elasticsearch Search
> API|https://www.elastic.co/guide/en/elasticsearch/reference/current/search-search.html].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)