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

Hoss Man commented on SOLR-349:
-------------------------------


the idea that funcname(a,b,c,d,e,f,g,....) maps to a*b + 1*c + d*e + f*g + ... 
seems a little weird, even weirder that funcname is "linear" which in theory 
only has 3 inputs.

wouldn't a new "sum(....)" function make more sense? ...

sum(linear(a,2,3), linear(b,4,0), linear(c,5,0))

(the key being that "sum" takes in a list of other ValueSources, while linear 
still takes only 1 and some constants)

we'd also need a "mult" function right?

> boost query by a function of other fields
> -----------------------------------------
>
>                 Key: SOLR-349
>                 URL: https://issues.apache.org/jira/browse/SOLR-349
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>         Attachments: linear_combination.patch
>
>
> User should be able to boost a query by a function of other fields
> Some background: 
> http://www.nabble.com/boosting-a-query-by-a-function-of-other-fields-tf4387856.html#a12510092

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to