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

>
> 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 @  http://services.wisdomtap.com

View opinions and recommendations about:

Point and Shoot Cameras,  DSLRs Lenses at http://www.wisdomtap.com/camera/

Mobile Phones at http://www.wisdomtap.com/mobile

Access above services from your mobile devices from http://m.wisdomtap.com
--------------------------------------------------------------------------

Reply via email to