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)

Reply via email to