[
https://issues.apache.org/jira/browse/NIFI-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16419631#comment-16419631
]
Joseph Percivall commented on NIFI-3576:
----------------------------------------
Hmm, the attributes on a no-hits REL FF could be the same as a query-info REL
FF. So the main differences would be the name and when it emits a FF. What if
we took a best of both worlds and added the query-info relationship and for the
property, it is an option of when to emit the FF to that relationship? The
options would either be "never", "when there are no hits", or "always" (default
to never).
> QueryElasticsearchHttp should have a "Not Found"/"Zero results" relationship
> ----------------------------------------------------------------------------
>
> Key: NIFI-3576
> URL: https://issues.apache.org/jira/browse/NIFI-3576
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Joseph Percivall
> Assignee: Otto Fowler
> Priority: Minor
>
> In the event of a successful call, QueryElasticsearchHttp always drops the
> incoming flowfile and then emits pages of results to the success
> relationship. If the search returns no results then no pages of results are
> emitted to the success relationship.
> The processor should offer other options for handling when there are no
> results returned.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)