On Wed, Apr 29, 2009 at 6:44 PM, Umar Shah <u...@wisdomtap.com> wrote:
> On Wed, Apr 29, 2009 at 7:16 PM, Andrey Klochkov > <akloch...@griddynamics.com> wrote: > > Hi! > > > > Base on docs in the wiki I thought that the following query should return > > constant score "5" for all "socks" in the index: > > > > http://localhost:8080/solr/select?q=name:socks _val_:5&fl=name,score > > the intended query should looklike > > http://localhost:8080/solr/select?q=_val_:5&fl=name,score&fq=name:socks > > return all docs with name containing socks with constant score of 5 > Well, thanks for the tip. But then the examples in wiki are incorrect, look at the bottom of this page (General Example): http://wiki.apache.org/solr/FunctionQuery#head-af37201ea1d04df780e5044ef560b8558998ee24 -- Andrew Klochkov