You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by StrW_dev <r....@structweb.nl> on 2015/03/20 14:02:05 UTC

Block join ordering

Hi,

I am using block joins in my Solr Index. I am searching and returning the
child document, but I want to order based on an attribute of the parent. 

Would that be possible?

Example doc: 
<parent doc>
  <relevance>
    <child1>
      <filter>
    </child>
    <child2>
      <filter>
    </child>
</parent>

Gr



--
View this message in context: http://lucene.472066.n3.nabble.com/Block-join-ordering-tp4194169.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Block join ordering

Posted by StrW_dev <r....@structweb.nl>.
Hi,

No this is unrelated to my issue, I actually made some adjustments to that
code part to support some other needs, but at the moment I am not talking
about passing scores or something similar.

What I want is the order on the parent document. 


Maybe I can rewrite my query that it produces a score which i can then use
to filter on. I will try that.



--
View this message in context: http://lucene.472066.n3.nabble.com/Block-join-ordering-tp4194169p4194619.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Block join ordering

Posted by Mikhail Khludnev <mk...@griddynamics.com>.
Hello,

I'm not sure I got you right. Here is
https://issues.apache.org/jira/browse/SOLR-5882 with the patch which sounds
quite relevant.

On Fri, Mar 20, 2015 at 4:02 PM, StrW_dev <r....@structweb.nl> wrote:

> Hi,
>
> I am using block joins in my Solr Index. I am searching and returning the
> child document, but I want to order based on an attribute of the parent.
>
> Would that be possible?
>
> Example doc:
> <parent doc>
>   <relevance>
>     <child1>
>       <filter>
>     </child>
>     <child2>
>       <filter>
>     </child>
> </parent>
>
> Gr
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Block-join-ordering-tp4194169.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

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