[
https://issues.apache.org/jira/browse/NIFI-10844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17654653#comment-17654653
]
ASF subversion and git services commented on NIFI-10844:
--------------------------------------------------------
Commit d9420afb600ffd9faf1707489ea8dc512fded2b5 in nifi's branch
refs/heads/main from Chris Sampson
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=d9420afb60 ]
NIFI-10844 Allow _source only output for GetElasticsearch and
JsonQueryElasticsearch
This closes #6687
Signed-off-by: David Handermann <[email protected]>
> Elasticsearch processors should allow source-only output formatting
> -------------------------------------------------------------------
>
> Key: NIFI-10844
> URL: https://issues.apache.org/jira/browse/NIFI-10844
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Chris Sampson
> Assignee: Chris Sampson
> Priority: Major
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> The {{JsonQueryElasticsearch}} (REST API) processors should allow users to
> configure output as the {{_source}} of the returned documents only (not the
> full {{Hit}}).
> Handling of documents stored in Elasticsearch without a {{_source}} should
> also be catered for (e.g. return an empty JSON object, not a "null" String
> that happens if the Jackson ObjectMapper is given a {{null}} Object).
> {{GetElasticsearch}} should also handle {{_source}}-less Elasticsearch
> documents in a similar manner.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)