lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <mkhlud...@griddynamics.com>
Subject Re: Solr cross core join special condition
Date Tue, 06 Oct 2015 18:23:05 GMT
thus, something like [child]
https://cwiki.apache.org/confluence/display/solr/Transforming+Result+Documents
can be developed.

On Tue, Oct 6, 2015 at 6:45 PM, Ali Nazemian <alinazemian@gmail.com> wrote:

> Dear Mikhail,
> Hi,
> I want to enrich the result.
> Regards
> On Oct 6, 2015 7:07 PM, "Mikhail Khludnev" <mkhludnev@griddynamics.com>
> wrote:
>
> > Hello,
> >
> > Why do you need sibling core fields? do you facet? or just want to enrich
> > result page with them?
> >
> > On Tue, Oct 6, 2015 at 6:04 PM, Ali Nazemian <alinazemian@gmail.com>
> > wrote:
> >
> > > I was wondering how can I overcome this query requirement in Solr
> 5.2.1:
> > >
> > > I have two different Solr cores refer as "core1" and "core2". core1
> has
> > > some fields such as field1, field2 and field3 and core2 has some other
> > > fields such as field1, field4 and field5. I am looking for Solr query
> > which
> > > can return all of the documents requiring field1, field2, field3,
> field4
> > > and field5 with considering some condition on core1.
> > >
> > > For example:
> > > core1:
> > > -field1:123
> > > -field2:"foo"
> > > -field3:"bar"
> > >
> > > core2:
> > > -field1:123
> > > -field4:"hello"
> > > -field5:"world"
> > >
> > > returning result:
> > > field1:123
> > > field2:"foo"
> > > field3:"bar"
> > > field4:"hello"
> > > field4:"world"
> > >
> > > Thank you very much.
> > >
> > > Best regards.
> > >
> > > --
> > > A.Nazemian
> > >
> >
> >
> >
> > --
> > Sincerely yours
> > Mikhail Khludnev
> > Principal Engineer,
> > Grid Dynamics
> >
> > <http://www.griddynamics.com>
> > <mkhludnev@griddynamics.com>
> >
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
<mkhludnev@griddynamics.com>

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