[ 
https://issues.apache.org/jira/browse/NIFI-11430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722390#comment-17722390
 ] 

ASF subversion and git services commented on NIFI-11430:
--------------------------------------------------------

Commit 8b1b9fce7ce7ce56c3c23917fd6dc2812880c8a3 in nifi's branch 
refs/heads/support/nifi-1.x from Ryan Van Den Bos
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=8b1b9fce7c ]

NIFI-11430 - PaginatedJsonQueryElasticsearch processors should not output empty 
FlowFile if hits have been found; PaginatedJsonQueryElasticsearch processors 
should be able to use _source and _meta only result formats when grouping by 
query

This closes #7163

Signed-off-by: Chris Sampson <[email protected]>


> Elasticsearch Paginated Query processor empty hits and extraction issues
> ------------------------------------------------------------------------
>
>                 Key: NIFI-11430
>                 URL: https://issues.apache.org/jira/browse/NIFI-11430
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.20.0
>            Reporter: Ryan
>            Assignee: Ryan
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> If you use the PaginatedJsonQueryProcessor with the following settings 
> |el-rest-split-up-hits|PER_QUERY|
> |el-rest-pagination-type|POINT_IN_TIME  
> !https://nifi.apache.org/docs/nifi-docs/html/images/iconInfo.png!|
> |el-rest-output-no-hits|true|
> If you run the processor and hits are returned it outputs 2 flow files, 1 
> with the query hits and the other that is empty which is incorrect, it should 
> return only 1 flow file that contains hits.
>  
> -------
>  
> If you use the PaginatedJsonQueryProcessor with the following settings 
> |el-rest-split-up-hits|PER_QUERY|
> |el-rest-pagination-type|POINT_IN_TIME  |
> |el-rest-output-no-hits|true|
> |el-rest-format-hits|SOURCE_ONLY|
> or
> |el-rest-split-up-hits|PER_QUERY|
> |el-rest-pagination-type|POINT_IN_TIME  |
> |el-rest-output-no-hits|true|
> |el-rest-format-hits|METADATA_ONLY|
> If you run the processor and hits are returned it does not extract either 
> _source or _metadata



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to