You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrey Kudryavtsev (JIRA)" <ji...@apache.org> on 2013/11/17 00:07:21 UTC

[jira] [Updated] (SOLR-5388) Combine def function with "multi" functions (max, min, sum, product)

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

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

    Attachment: SOLR-5388.patch

Couple of test cases added

> 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, 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org