Function Query "map" variant that allows "target" to be an arbitrary ValueSource

                 Key: SOLR-1871
             Project: Solr
          Issue Type: Improvement
          Components: search
    Affects Versions: 1.4
            Reporter: Chris Harris

Currently, as documented at, the 
"target" of a map must be a floating point constant. I propose that you should 
have at least the option of doing a map where the target is an arbitrary 

The particular use case that inspired this is that I want to be able to control 
how missing date fields affected boosting. In particular, I want to be able to 
use something like this in my function queries:


But this might have other uses.

I'll attach an initial implementation.

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