http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11069
Jesse Maseto <je...@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #22028|0 |1 is obsolete| | --- Comment #9 from Jesse Maseto <je...@bywatersolutions.com> --- Created attachment 26064 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26064&action=edit Attachment to Bug 11069 - increase title ranking in relevance when using QueryWeightFields [SIGNED-OFF] Bug 11069 - increase title ranking in relevance when using QueryWeightFields When using QueryWeightFields to add ranking on a search without index, the search actually uses: - rank 1 : Title-cover,ext : exact title-cover - rank 2 : ti,ext : exact title - rank 3 : Title-cover,phr : phrase title-cover - rank >7 : queries without index This relevance sets title as phrase in priority and then any index. This patch adds title as words list before search on any index, so that records with all searched terms in title, even not well ordered, are more relevant. Test plan : - Enable QueryWeightFields syspref - Perform a search, with sort by relevance, with two words ofen contained in title, but never one near the other. For example : 'History France' => Records with both words in title are first. For example : "Histoire de France" and "La France : 100 ans d'histoire" Signed-off-by: Jesse Maseto <je...@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/