Bug 5318 - rank weight error in ccl.properties
Summary: rank weight error in ccl.properties
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: 3.4
Hardware: All All
: PATCH-Sent (DO NOT USE) minor (vote)
Assignee: Galen Charlton
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-26 17:58 UTC by Fridolin Somers
Modified: 2010-11-18 09:35 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
proposed patch (639 bytes, patch)
2010-10-27 12:26 UTC, Galen Charlton
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Fridolin Somers 2010-10-26 17:58:29 UTC
In ccl.properties, rank weights are defined for a weighted query. (look at Search.pm)

It is :
 # Rank Weights
 r1 9=32
 r2 9=28
 r3 9=26
 r4 9=10
 r5 9=22
 r6 9=20
 r7 9=18
 r8 9=16
 r9 9=14

Rank r4 is wrong, it should be : 
 r4 9=24
Comment 1 Galen Charlton 2010-10-27 12:26:17 UTC
Created attachment 2703 [details] [review]
proposed patch
Comment 2 Chris Cormack 2010-11-01 19:28:10 UTC
Pushed, please test and close
Comment 3 Fridolin Somers 2010-11-02 09:23:42 UTC
Ok, perfect.
(what a odd bug)

Link to commit : http://git.koha-community.org/gitweb/?p=koha.git;a=commit;h=eb1a7e06917f54f88278b4056893f7a4cbff323a
Comment 4 Chris Nighswonger 2010-11-18 03:15:17 UTC
This bug has a patch presently committed to HEAD and 3.2.x.

Please take the appropriate action to update the status of this bug.

Remember, bugs which have been resolved should be tested and marked closed, preferably by the original reporter.
Comment 5 Fridolin Somers 2010-11-18 09:35:34 UTC
Fixed, end of story.

Thanks.