lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] [Commented] (SOLR-5335) Add support for "default" operator
Date Thu, 10 Oct 2013 17:13:43 GMT


Hoss Man commented on SOLR-5335:

Doesn't this already exist?

> Add support for "default" operator
> ----------------------------------
>                 Key: SOLR-5335
>                 URL:
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Steven Bower
> In cases where a value is missing it expressions just simply don't return a value and
are considered "missing".. eg add( fieldA, fieldB) if fieldB doesn't exist in a doc the "add"
is considered missing. Would be nice to have a "default" operator to handle edge cases.. eg
add( fieldA, default( fieldB, 0 )) such that the value 0 will be used instead of a "missing"
> This could also handle the div by zero case too

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message