Hello
I think I have found a little bug, but I am not sure of it.
in C4/Search.pm (sub _build_weighted_query), I found this :
826 $weighted_query .= " $index,ext,r1=\"$operand\""; # exact
index
827 #$weighted_query .= " or (title-sort-az=0 or
$index,startswithnt,st-word,r3=$operand #)";
828 $weighted_query .= " or $index,phr,r3=\"$operand\""; #
phrase index
829 $weighted_query .=
830 " or $index,rt,wrdl,r3=\"$operand\""; # word list index
So Word list index is on the same plane as Phrase index.
I suppose if we define Phrase index as r2, the weighting would be more
accurate?
I don't know how zebra is working internally, so could somebody confirm
please ?
Regards,
M. Saby
Rennes 2 University
--
Mathieu Saby
Service d'Informatique Documentaire
Service Commun de Documentation
Université Rennes 2
Téléphone : 02 99 14 12 65
Courriel : mathieu.s...@univ-rennes2.fr
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/