lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gastone Penzo <gastone.pe...@gmail.com>
Subject Boost function problem with disquerymax
Date Wed, 02 Mar 2011 16:34:34 GMT
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???


THANX
-- 

Gastone Penzo

Mime
View raw message