![]() |
Change Weight per Keyword to Reorder Search Results
1 Attachment(s)
This mod is for v.1.8.7 and v.1.8.8 RC1. It allows you to adjust the keyword weights, which in turn will reorder the search results to your preference.
Add the following to your language pack: Code:
'adjust_weights' => 'Adjust weights', Code:
iconv -f windows-1251 -t utf-8 -o ru-language.phpx ru-language.php & Code:
<a href="adjust_weights.php"><?php print phpdigMsg('adjust_weights') ?></a><br/> Do not run the merge option unless you are absolutely sure that you have enough resources to do so. As always, make a database backup before running adjust_weights.php just in case. You will be presented with various fields that you may search. Note that 'keyword' means one word, not key phrase. PhpDig weights per word so there is no key phrase weighting available. Once you get results, you can set keyword weights anywhere from 1 (lowest) to 9999 (highest) and that will adjust the search results accordingly, highest showing first in the search results. |
Enough resources? That's a loaded question I have a Dual Xeon 2.8gig with 3 gig of Ram. Raid 5 hard drives . But what does enough mean? I have 9 million keywords in the db and over 30,000 pages. How much of a hang should I expect?
|
Ok this isn't doing what I want to. I don't want to adjust the weight of individual pages I want to adjust the weight GIVEN to each of the pages.
Keyword in Title *.5 + Keyword in Metatag *.5 + Keyword density in body *. 5 That is what I am meaning. Notice the problem I am seeing. http://www.gunmuse.com/web_search.ph...haca+model+485 VS http://www.gunmuse.com/web_search.php?str=ithaca Now why do I get NOTHING from "ithaca" and get good results from a 3 word search |
Perhaps try the following in the config file:
Code:
define('APPEND_TITLE_META',false); |
All times are GMT -8. The time now is 09:38 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.