09 Sep 2010
Support Center
»
Knowledgebase
»
K-Search FAQ
»
I would like to rank the positions with different point scales. Can this be done ?
I would like to rank the positions with different point scales. Can this be done ?
Solution
I suppose it could be done, but it would require some customizing. In engine module file you could define a point multiplier, like:
$sites['google']['multi'] = 1.5;
Next in /includes/do_search.php you can change this block:
//add points
$out[$s['site']] += ($options['limit']+1-$r);
with:
//add points
if (!isset($sites[$key]['multi'])) $sites[$key]['multi'] = 1;
$out[$s['site']] += ($options['limit']+1-$r) * $sites[$key]['multi'];
Article Details
Article ID:
92
Created On:
22 Dec 2008 10:49 AM
This answer was helpful
This answer was not helpful
User Comments
Add a Comment
Sharing is good. If you have a comment about this entry, please feel free to share. The comments might be reviewed by our staff, and may require approval before being posted. Questions posted will not be answered. Please submit a Ticket for support requests.
Image Verification Required
Please enter the characters that appear to the right in the space provided. This is just to verify that you are a human.
Fullname:
Email: (Optional)
Comments:
Back
Login
[Lost Password]
Email:
Password:
Remember Me:
Search
-- Entire Support Site --
Knowledgebase
Downloads
Troubleshooter
Article Options
Add Comment
Print Article
PDF Version
Email Article
Add to Favorites
Home
|
Register
|
Submit a Ticket
|
Knowledgebase
|
Troubleshooter
|
News
|
Downloads
Language:
English (U.S.)
Help Desk Software By Kayako eSupport v3.40.01