On Mar 29, 2011, at 10:01 , Robert Gründler wrote: > Hi all, > > i'm trying to implement a FunctionQuery using the "bf" parameter of the > DisMaxQueryParser, however, i'm getting an exception: > > "Unknown function min in FunctionQuery('min(1,2)', pos=4)" > > The request that causes the error looks like this: > > http://localhost:2345/solr/main/select?qt=dismax&qf=name^0.1&qf=name_exact^10.0&debugQuery=true&bf=min(1,2)&version=1.2&wt=json&json.nl=map&q=+foo&start=0&rows=3 > > > I'm not sure where the "pos=4" part of the FunctionQuery is coming from. > > My Solr version is 1.4.1. > > Has anyone a hint why i'm getting this error?
From http://wiki.apache.org/solr/FunctionQuery#min - min() is 3.2 (though I think that really means 3.1 now, right??). Definitely not in 1.4.1. Erik