gatherNodes requires single value fields in the tuples. In certain scenarios the cartesianProduct streaming expression can be used to explode a multi-value field into a single field stream. But in the scenario you describe this might not be possible.
Joel Bernstein http://joelsolr.blogspot.com/ On Wed, Mar 20, 2019 at 10:58 PM Zheng Lin Edwin Yeo <edwinye...@gmail.com> wrote: > Hi, > > What is the fieldType of your 'to field? Which tokenizers/filters is it > using? > > Also, which Solr version are you using? > > Regards, > Edwin > > On Thu, 21 Mar 2019 at 01:57, Susmit Shukla <shukla.sus...@gmail.com> > wrote: > > > Hi, > > > > Trying to use solr streaming 'gatherNodes' function. It is for extracting > > email graph based on from and to fields. > > It requires 'to' field to be a single value field with docvalues enabled > > since it is used internally for sorting and unique streams > > > > The 'to' field can contain multiple email addresses - each being a node. > > How to map multiple comma separated email addresses from the 'to' fields > as > > separate graph nodes? > > > > Thanks > > > > > > > > > > > > > > >