You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mikhail Khludnev (JIRA)" <ji...@apache.org> on 2015/12/12 20:11:46 UTC

[jira] [Comment Edited] (SOLR-5743) Faceting with BlockJoin support

    [ https://issues.apache.org/jira/browse/SOLR-5743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15021155#comment-15021155 ] 

Mikhail Khludnev edited comment on SOLR-5743 at 12/12/15 7:11 PM:
------------------------------------------------------------------

[~ichattopadhyaya] I'd like to commit it. I just want to confirm that there is no veto from anyone. 
I also appreciate if colleagues leave feedbacks for the recent patch, especially about its' performance. [~jacobcarter] would you comment on that?

To summarize, If we decide to go on, -I'll add it into defaultComponents, after that- user will be able to get aggregated facets for children fields along side with the usual one:
{code}
q={!parent ...}...&facet=true&child.facet.field=COLOR
{code} 

Here is the brief use case description https://www.mail-archive.com/solr-user@lucene.apache.org/msg115732.html



was (Author: mkhludnev):
[~ichattopadhyaya] I'd like to commit it. I just want to confirm that there is no veto from anyone. 
I also appreciate if colleagues leave feedbacks for the recent patch, especially about its' performance. [~jacobcarter] would you comment on that?

To summarize, If we decide to go on, I'll add it into defaultComponents, after that user will be able to get aggregated facets for children fields along side with the usual one:
{code}
q={!parent ...}...&facet=true&child.facet.field=COLOR
{code} 

Here is the brief use case description https://www.mail-archive.com/solr-user@lucene.apache.org/msg115732.html


> Faceting with BlockJoin support
> -------------------------------
>
>                 Key: SOLR-5743
>                 URL: https://issues.apache.org/jira/browse/SOLR-5743
>             Project: Solr
>          Issue Type: New Feature
>          Components: faceting
>            Reporter: abipc
>            Assignee: Mikhail Khludnev
>              Labels: features
>             Fix For: 5.5
>
>         Attachments: SOLR-5743.patch, SOLR-5743.patch, SOLR-5743.patch, SOLR-5743.patch, SOLR-5743.patch, SOLR-5743.patch, SOLR-5743.patch, SOLR-5743.patch, SOLR-5743.patch
>
>
> For a sample inventory(note - nested documents) like this -   
>  <doc>
> <field name="id">10</field>
> <field name="type_s">parent</field>
> <field name="BRAND_s">Nike</field>
> <doc>
> <field name="id">11</field>
> <field name="COLOR_s">Red</field>
> <field name="SIZE_s">XL</field>
> </doc>
> <doc>
> <field name="id">12</field>
> <field name="COLOR_s">Blue</field>
> <field name="SIZE_s">XL</field>
> </doc>
> </doc>
> Faceting results must contain - 
> Red(1)
> XL(1) 
> Blue(1) 
> for a "q=*" query. 
> PS : The inventory example has been taken from this blog - http://blog.griddynamics.com/2013/09/solr-block-join-support.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org