You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Chris Sampson (Jira)" <ji...@apache.org> on 2022/11/19 20:41:00 UTC

[jira] [Created] (NIFI-10844) Elasticsearch processors should allow source-only output formatting

Chris Sampson created NIFI-10844:
------------------------------------

             Summary: 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


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)