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

Joel Bernstein edited comment on SOLR-9537 at 9/23/16 3:39 AM:
---------------------------------------------------------------

Patch for this coming shortly. The syntax is:

{code}
scoreNodes(facet(basket, 
                 q="product:product3", 
                 buckets="product", 
                 bucketSorts="count(*) desc", 
                 bucketSizeLimit=100, 
                 count(*)))
{code}


was (Author: joel.bernstein):
Patch for this coming shortly. The syntax is:

{code}
scoreNodes(facet(basket, 
                 q="product:product3", 
                 buckets="product", 
                 bucketSorts="count(*) desc", 
                 bucketSizeLimit=100, count(*)))
{code}

> Scoring facets with scoreNodes expression
> -----------------------------------------
>
>                 Key: SOLR-9537
>                 URL: https://issues.apache.org/jira/browse/SOLR-9537
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Joel Bernstein
>
> SOLR-9193 introduced the scoreNodes expression to find the most interesting 
> relationships in a distributed graph.
> With a small adjustment scoreNodes can be made to easily wrap the facet() 
> expression, to find the most interesting facets.



--
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

Reply via email to