[
https://issues.apache.org/jira/browse/SOLR-15196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joel Bernstein updated SOLR-15196:
----------------------------------
Description: Currently the *nodes* graph expression only calculates inbound
degree if the count(\*) aggregation is applied to the function. This ticket
will cause the nodes function to always calculate inbound degree and return the
nodes in descending *inbound degree order*. A new *top* parameter will be added
to only return the top N nodes with the highest inbound degree. The *indegree*
field will be added to each node in the returned nodeset. The *scoreNodes*
function will also be changed to use the *indegree* field rather than the
count(\*) field. (was: Currently the *nodes* graph expression only calculates
inbound degree if the count(\*) aggregation is applied to the function. This
ticket will cause the nodes function to always calculate inbound degree and
return the nodes in *inbound degree order*. A new *top* parameter will be added
to only return the top N nodes with the highest inbound degree. The *indegree*
field will be added to each node in the returned nodeset. The *scoreNodes*
function will also be changed to use the *indegree* field rather than the
count(\*) field.)
> Allow the nodes streaming expression to rank by inbound degree
> --------------------------------------------------------------
>
> Key: SOLR-15196
> URL: https://issues.apache.org/jira/browse/SOLR-15196
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: streaming expressions
> Affects Versions: 8.9
> Reporter: Joel Bernstein
> Assignee: Joel Bernstein
> Priority: Major
>
> Currently the *nodes* graph expression only calculates inbound degree if the
> count(\*) aggregation is applied to the function. This ticket will cause the
> nodes function to always calculate inbound degree and return the nodes in
> descending *inbound degree order*. A new *top* parameter will be added to
> only return the top N nodes with the highest inbound degree. The *indegree*
> field will be added to each node in the returned nodeset. The *scoreNodes*
> function will also be changed to use the *indegree* field rather than the
> count(\*) field.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]