You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Susmit Shukla <sh...@gmail.com> on 2019/03/20 17:57:04 UTC
Gather Nodes Streaming
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
>
>
Re: Gather Nodes Streaming
Posted by Joel Bernstein <jo...@gmail.com>.
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 <ed...@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 <sh...@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
> >
> >
> >
> > >
> > >
> >
>
Re: Gather Nodes Streaming
Posted by Zheng Lin Edwin Yeo <ed...@gmail.com>.
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 <sh...@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
>
>
>
> >
> >
>