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 join and lucene scoring
Date Wed, 09 Apr 2014 13:13:52 GMT
On Wed, Apr 9, 2014 at 1:33 PM, <mm@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 <mkhludnev@griddynamics.com>:
>
>  On Thu, Apr 3, 2014 at 1:42 PM, <mm@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>
>>  <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