Yonik Seeley created SOLR-10657:
-----------------------------------

             Summary: optimize join domain switch when join field has already 
been narrowed
                 Key: SOLR-10657
                 URL: https://issues.apache.org/jira/browse/SOLR-10657
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Facet Module
            Reporter: Yonik Seeley


A contrived example... facet by user, and then have that users reviews as a 
sub-facet.  For each bucket, the join.to (user) field will have a single exact 
value and the join query can be optimized to a field query.

{
  type: terms,
  field : user,
  facet : {
    genres : {
      type: terms, field:genre
      domain : { join:{from: user, to: review_user} },
   }
}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to