Yes, just after sending the email I reread the wiki and noticed the 4.0 
requirement.  I will try that, thanks.

________________________________

From: ysee...@gmail.com on behalf of Yonik Seeley
Sent: Wed 9/29/2010 8:12 AM
To: solr-user@lucene.apache.org
Subject: Re: Queries, Functions, and Params



On Tue, Sep 28, 2010 at 6:08 PM, Robert Thayer
<robert.tha...@bankserv.com> wrote:
> On the http://wiki.apache.org/solr/FunctionQuery page, the following query 
> function is listed:
>
> q={!func}add($v1,$v2)&v1=sqrt(popularity)&v2=100.0
>
> When run against the default solr instance, server returns the error(400): 
> "undefined field $v1".
>
> Any way to remedy this?
>
> Using version: 3.1-2010-09-28_05-53-44


The wiki page indicates this is a 4.0 feature - so you need a recent
4.0-dev build to try it out.

-Yonik
http://lucenerevolution.org <http://lucenerevolution.org/>   Lucene/Solr 
Conference, Boston Oct 7-8


Reply via email to