Re: [CAUTION] Converting graph query to stream graph query

2019-10-20 Thread Rajeswari Natarajan
Hi Joel, Thanks for your reply. This is a little different issue. Here the root docs have parent_id as null. The parent_id of the child will be the docid of the parent. With the data above and for the query below nodes(s4, walk="1->parent_s", gather="docid_s", scatter="branche

Re: [CAUTION] Converting graph query to stream graph query

2019-10-18 Thread Joel Bernstein
I believe we were debugging why graph results were not being returned in a different thread. It looks like the same problem. Is your Solr instance a straight install or have you moved config files from an older version of Solr to a newer version of Solr. Joel Bernstein http://joelsolr.blogspot.co

Re: [CAUTION] Converting graph query to stream graph query

2019-10-15 Thread Natarajan, Rajeswari
I need to gather all the children of docid 1 . Root item has parent as null. (Sample data below) Tried as below nodes(graphtest, walk="1->parent", gather="docid", scatter="branches, leaves") Response : { "result-set": { "docs": [ { "node": "1",

Converting graph query to stream graph query

2019-10-15 Thread Natarajan, Rajeswari
Hi, curl -XPOST -H 'Content-Type: application/json' 'http://localhost:8983/solr/ggg/update' --data-binary '{ "add" : { "doc" : { "id" : "a", "docid" : "1", "name" : "Root document one" } }, "add" : { "doc" : { "id" : "b", "docid" : "2", "name" : "Root document two" } }, "add" : { "doc" : { "id"