Right,

The examples posted before had a trick (both weren't pure join queries
thats why the results had score).

Having a pure join query (q={!join from=id to=id}printer) gives all the
scores as 1 as Moritz said).

Regards.








On Wed, Apr 9, 2014 at 3:13 PM, Mikhail Khludnev <mkhlud...@griddynamics.com
> wrote:

> On Wed, Apr 9, 2014 at 1:33 PM, <m...@preselect-media.com> wrote:
>
> > Hello Mikhail,
> >
> > thx for the clarification. I'm a little bit confused by the answer of
> > Alvaro, but my own tests didn't result in a proper score, so I think
> you're
> > right and it's still not implemented.
> >
> > What do you mean with the "impedance between Lucene and Solr"?
> >
> It's an old story, and unfortunately obvious. Using Lucene's code in Solr
> might not be straightforward. I haven't looked at this problem
> particularly, it's just a caveat.
>
> >
> > Why isn't the possibility of scoring in joins not implemented in Solr
> > anyways when Lucene offers a solution for that?
> >
> As you can see these are two separate implementation. It seems like Solr
> guys just didn't care about scoring (and here I share their point). It's
> just an exercise for someone, who needs it.
>
>
> >
> > Best regards,
> > Moritz
> >
> > Zitat von Mikhail Khludnev <mkhlud...@griddynamics.com>:
> >
> >  On Thu, Apr 3, 2014 at 1:42 PM, <m...@preselect-media.com> wrote:
> >>
> >>  Hello,
> >>>
> >>> referencing to this issue:
> >>> https://issues.apache.org/jira/browse/SOLR-4307
> >>>
> >>> Is it still not possible with the solr query time join to use scoring?
> >>>
> >>>  It's not implemented still.
> >> https://github.com/apache/lucene-solr/blob/trunk/solr/
> >> core/src/java/org/apache/solr/search/JoinQParserPlugin.java#L549
> >>
> >>
> >>  Do I still have to write my own plugin or is there a plugin somewhere I
> >>> could use?
> >>>
> >>> I never wrote a plugin for solr before, so I would prefer if I don't
> have
> >>> to start from scratch.
> >>>
> >>>  The right approach from my POV is to use Lucene's join
> >> https://github.com/apache/lucene-solr/blob/trunk/lucene/
> >> join/src/java/org/apache/lucene/search/join/JoinUtil.javain
> >> new QParser, but solving the impedance between Lucene and Solr, might
> >> be
> >> tricky.
> >>
> >>
> >>
> >>
> >>> THX,
> >>> Moritz
> >>>
> >>>
> >>>
> >>
> >> --
> >> Sincerely yours
> >> Mikhail Khludnev
> >> Principal Engineer,
> >> Grid Dynamics
> >>
> >> <http://www.griddynamics.com>
> >>  <mkhlud...@griddynamics.com>
> >>
> >
> >
> >
> >
>
>
> --
> Sincerely yours
> Mikhail Khludnev
> Principal Engineer,
> Grid Dynamics
>
> <http://www.griddynamics.com>
>  <mkhlud...@griddynamics.com>
>

Reply via email to