Rating always == 1 bug still present in 3.1.10 (as in 3.1.9 too).

Now I  use  single  text file contains 4 equal words to track it down.
In UdmFindSQL() I got correct result
   wrd[0].pos == 4
(which becomes "rating" later in Res->Doc[i].rating=wrd[i+first].pos)
but this value is _damaged_ (reset to 1) right after
   UdmGroupByURL(query,wrd);
call.   If   I  comment  it out, I got correct rating. UdmGroupByURL() is
complex  function,  and  I  don't  try  to  debug it, but this particular
statement is very suspicious (since it overwrites .pos):
   wrd[j].pos=bit_count(wrd[j].count);

Please send me fix or explaination, what is wrong here.
   
-- 
Andrey A. Chernov
http://ache.pp.ru/


___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

  • ... Andrey A. Chernov
    • ... Alexander Barkov
    • ... Andrey A. Chernov
    • ... Alexander Barkov
    • ... Андрей Чернов
      • ... Alexander Barkov

Reply via email to