[ https://issues.apache.org/jira/browse/SOLR-5743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15146681#comment-15146681 ]
Mikhail Khludnev commented on SOLR-5743: ---------------------------------------- Vijay, here are a few notes: # 290 milli vs Qtimes of 22 millis, here either I'm missing something or here is the room for performance engineering even not search specific ones. Although, it's an off-top. # I wonder how you compare performance on different indexes, and how to interpret the results: it's either might say about inefficient algorithm, or about high model expenses. To evaluate the former, you can compare the block join facet performance with child only queries and child field facet counting. ie it's worth to compare performance of : {code} q={!parent%20which=type_s:parent}COLOR_s:Blue&facet=true&child.facet.field=COLOR_s {code} with {code} q=COLOR_s:Blue&facet=true&facet.field=COLOR_s {code} Comparing these numbers can evidence about aggregation efficiency (almost, see below). # BlockJoinDocSetFacetComponent should be faster for rarely changed indexes. Notice: BlockJoinFacetComponent disables query result cache and this also might impact benchmarking results. > 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, master > > 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, SOLR-5743.patch, SOLR-5743.patch, > SOLR-5743.patch, SOLR-5743.patch, SOLR-5743.patch, SOLR-5743.patch, > cluster.jpg, service_baseline.png, service_new_baseline.jpg, > solr_baseline.jpg, solr_new_baseline.jpg > > > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org