If anyone is curious, I've created a patch that creates a variant of
map that can be used in the way indicated below. See
http://issues.apache.org/jira/browse/SOLR-1871

On Wed, Apr 7, 2010 at 3:41 PM, Chris Harris <rygu...@gmail.com> wrote:

> Option 1. Use map
>
> The most obvious way to do this would be to wrap the reference to
> mydatefield inside a map, like this:
>
>    recip(ms(NOW,map(mydatefield,0,0,ms(NOW)),3.16e-11,1,1))
>
> However, this throws an exception because map is hard-coded to take
> float constants, rather than arbitrary subqueries.

Reply via email to