On Wed, Mar 2, 2011 at 11:34 AM, Gastone Penzo <gastone.pe...@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