lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: Boost function problem with disquerymax
Date Wed, 02 Mar 2011 17:12:32 GMT
On Wed, Mar 2, 2011 at 11:34 AM, Gastone Penzo <gastone.penzo@gmail.com> wrote:
> HI,
> for search i use disquery max
> and a i want to boost a field with bf parameter like:
> ...&bf=boost_has_img^5&....
> the boost_has_img field of my document is 3:
> <int name="boost_has_img">3</int>
> if i see the results in debug query mode i can see:
>   0.0 = (MATCH) FunctionQuery(int(boost_has_img)), product of:
>     0.0 = int(boost_has_img)=0
>     5.0 = boost
>     0.06543833 = queryNorm
> why the score is 0 if the value is 3 and the boost is 5???

Solr thinks the value of boost_has_img is 0 for that document.
Is boost_has_img an indexed field?
If so, verify that the value is actually 3 for that specific document.


-Yonik
http://lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message