lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: Queries, Functions, and Params
Date Wed, 29 Sep 2010 15:12:28 GMT
On Tue, Sep 28, 2010 at 6:08 PM, Robert Thayer
<Robert.Thayer@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  Lucene/Solr Conference, Boston Oct 7-8

Mime
View raw message