[ 
https://issues.apache.org/jira/browse/SOLR-5388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Kudryavtsev updated SOLR-5388:
-------------------------------------

    Description: 
Ability for expressions like _def(min(field1,..,fieldN), defValue)_  return 
_defValue_ if document doesn't have value for any of this fields. 
Implement _exists(int doc)_ method for FunctionValues created in 
MultiFloatFunction. Extract method to get ability other MultiFloatFunction 
implementation to override it. 

  was:
Ability for expressions like _def(min(field1,..,fieldN), defValue)_  return 
_defValue_ if document doesn't have value for any of this fields. 
Implement exists(int doc) method for FunctionValues created in 
MultiFloatFunction. Extract method to get ability other MultiFloatFunction 
implementation to override it. 


> Combine def function with "multi" functions (max, min, sum, product)
> --------------------------------------------------------------------
>
>                 Key: SOLR-5388
>                 URL: https://issues.apache.org/jira/browse/SOLR-5388
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Andrey Kudryavtsev
>            Priority: Minor
>              Labels: patch
>             Fix For: 5.0
>
>         Attachments: SOLR-5388.patch
>
>
> Ability for expressions like _def(min(field1,..,fieldN), defValue)_  return 
> _defValue_ if document doesn't have value for any of this fields. 
> Implement _exists(int doc)_ method for FunctionValues created in 
> MultiFloatFunction. Extract method to get ability other MultiFloatFunction 
> implementation to override it. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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

Reply via email to