lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kojo <rbsnk...@gmail.com>
Subject Re: Graph Traversal
Date Tue, 31 Oct 2017 20:16:40 GMT
Everything working fine, these functional programming is amazing.
Thank you!

2017-10-31 12:31 GMT-02:00 Kojo <rbsnkjmr@gmail.com>:

> Thank you, I am just starting with Streaming Expressions. I will try this
> one later.
>
> I will open another thread, because I canĀ“t do some simple queries using
> Streaming Expressions.
>
>
>
>
> 2017-10-30 12:11 GMT-02:00 Pratik Patel <pratik@semandex.net>:
>
>> You use this in query time. Since Streaming Expressions can be pipelined,
>> the next stage/function of pipeline will work on the new tuples generated.
>>
>> On Mon, Oct 30, 2017 at 10:09 AM, Kojo <rbsnkjmr@gmail.com> wrote:
>>
>> > Do you store this new tuples, created by Streaming Expressions, in a new
>> > Solr cloud collection? Or just use this tuples in query time?
>> >
>> > 2017-10-30 11:00 GMT-02:00 Pratik Patel <pratik@semandex.net>:
>> >
>> > > 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 <rbsnkjmr@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 <pratik@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 <
>> joelsolr@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 <rbsnkjmr@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,
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message