lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Umar Shah <>
Subject Re: function query scoring
Date Wed, 29 Apr 2009 14:44:40 GMT
On Wed, Apr 29, 2009 at 7:16 PM, Andrey Klochkov
<> 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


return all docs with name containing socks with constant score of 5

> But in fact it finds all the products in the index and it seems that
> "socks" products have higher score than others. What I need and what
> function query seems have to do is to find ONLY socks and assign constant
> score to all of them. Isn't it correct? I took  function query with constant
> value just as an example.
> --
> Andrew Klochkov

Umar Shah
Research Engineer
Wisdomtap Solutions India (P) Ltd.
Get WisdomRank for your products @

View opinions and recommendations about:

Point and Shoot Cameras,  DSLRs Lenses at

Mobile Phones at

Access above services from your mobile devices from

View raw message