[ https://issues.apache.org/jira/browse/SOLR-5743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15214986#comment-15214986 ]
Alisa Zhila commented on SOLR-5743: ----------------------------------- Hi Mikhail and Oleg, Thank you for introducing this new feature and describing it your blog (http://blog.griddynamics.com/search/label/~Mikhail%20Khludnev). I am wondering whether BlockJoin faceting supports the parameters for output "limit" and "mincount"? Unfortunately, I could not find any mentions in the wiki (https://cwiki.apache.org/confluence/display/solr/BlockJoin+Faceting). My experiments with trying to use the common facet.limit and facet.mincount syntax failed: /bjqfacet?q={!parent%20which=type_s:doc}type_s:doc.enriched.text.keywords&facet=true&child.facet.field=text_t&child.facet.limit=10&child.facet.mincount=5&rows=0&fq={!parent%20which=type_s:doc}type_s:doc.userData%20%2BSubject_t:california&wt=json&indent=true { "responseHeader":{ "status":0, "QTime":1}, "response":{"numFound":19,"start":0,"docs":[] }, "facet_counts":{ "facet_queries":{}, "facet_fields":{ "text_t":[ "128x",1, "18xx",1, ... "ab",2, "access",5, "account",1, "accounts",1, "action",2, "address",1, "addressee",1, "afternoon",3, "agreement",2, ... "wsj",1, "year",2, "yoder",2, "york",1]}} As you see, the buckets are sorted in alphabetical order and the response yields all of them. Is limit and mincount implemented for BlockJoin faceting? If yes, can its usage be described in the wiki? Thank you! > 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