By including Cartesian function in Streaming Expression pipeline, you can convert a tuple having one multivalued field into multiple tuples where each tuple holds one value for the field which was originally multivalued.
For example, if you have following document. { id: someID, fruits: [apple, organge, banana] } // fruits is multivalued > field Applying Cartesian function would give following tuples. { id: someID , fruits: apple }, { id: someID, fruits: orange }, {id: > someID, fruits: banana } Now that fruits holds single values, you can also use any Streaming Expression functions which don't work with multivalued fields. This happens in the Streaming Expression pipeline so you don't have to flatten your documents in index. On Mon, Oct 30, 2017 at 8:39 AM, Kojo <rbsnk...@gmail.com> wrote: > Hi, > just a question, I have no deep background on Solr, Graph etc. > This solution looks like normalizing data like a m2m table in sql database, > is it? > > > > 2017-10-29 21:51 GMT-02:00 Pratik Patel <pra...@semandex.net>: > > > For now, you can probably use Cartesian function of Streaming Expressions > > which Joel implemented to solve the same problem. > > > > https://issues.apache.org/jira/browse/SOLR-10292 > > http://joelsolr.blogspot.com/2017/03/streaming-nlp-is- > > coming-in-solr-66.html > > > > Regards, > > Pratik > > > > On Sat, Oct 28, 2017 at 7:38 PM, Joel Bernstein <joels...@gmail.com> > > wrote: > > > > > I don't see a jira ticket for this yet. Feel free to create it and > reply > > > back with the link. > > > > > > Joel Bernstein > > > http://joelsolr.blogspot.com/ > > > > > > On Fri, Oct 27, 2017 at 9:55 AM, Kojo <rbsnk...@gmail.com> wrote: > > > > > > > Hi, I was looking for information on Graph Traversal. More > > specifically, > > > > support to search graph on multivalued field. > > > > > > > > Searching on the Internet, I found a question exactly the same of > mine, > > > > with an answer that what I need is not implemented yet: > > > > http://lucene.472066.n3.nabble.com/Using-multi-valued- > > > > field-in-solr-cloud-Graph-Traversal-Query-td4324379.html > > > > > > > > > > > > Is there a ticket on Jira to follow the implementation of search > graph > > on > > > > multivalued field? > > > > > > > > Thank you, > > > > > > > > > >