You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Christine Poerschke (Jira)" <ji...@apache.org> on 2021/04/09 16:17:00 UTC

[jira] [Commented] (SOLR-15326) Missing one record in solr streaming expressions

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

Christine Poerschke commented on SOLR-15326:
--------------------------------------------

Hello [~pradeepkollurisolr]. I wonder if it would be possible to reproduce the issue with the example collections shipped with Solr e.g. {{bin/solr start -e cloud -noprompt}} as a starting point and/or if you could provide input file(s) and exact steps to reproduce the issue e.g. similar to the https://issues.apache.org/jira/browse/SOLR-15071?focusedCommentId=17262657&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17262657 steps?

> Missing one record in solr streaming expressions
> ------------------------------------------------
>
>                 Key: SOLR-15326
>                 URL: https://issues.apache.org/jira/browse/SOLR-15326
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: streaming expressions
>    Affects Versions: 8.4.1
>            Reporter: Pradeep Kolluri
>            Priority: Critical
>
> It's a simple use case, i have two collections products and related products, product_id_l is a unique key in products collection and reference field in related products collection, please find sample documents below.
>  
> product:
> {
>  "id":"12345",
> "id_l":12345,
> "product_name":"product1",
> "related_product_count_l":2
> }
>  
> related products:
> {
>   "id":"56789",
>   "id_l":56789,
>   "main_product_id_l":12345,
>   "product_name":"product10"
>   "relation_type_code_i":4
> },
> {
>   "id":"98765",
>   "id_l":98765,
>   "main_product_id_l":12345,
>   "product_name":"product11"
>   "relation_type_code_i":2
> }
>  
> gatherNodes(relatedproduct, search(product,q="related_product_count_l:[1 TO *]", fl="id_l",  qt="/export", sort="id_l desc"),  walk=id_l-> main_product_id_l, gather="related_product_id_l", fq="relation_type_code_i:4",scatter="leaves, branches")
>  
> I am trying to fetch all products which are having more than one related products then joining with related products collection to get all related products then filtering relation type 4 ones.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org