PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 01-24-2004, 03:29 AM   #1
xoft
Green Mole
 
Join Date: Jan 2004
Posts: 2
Problems with rankings

We have a problem which we solved but not very good
so here was the problem..
When we have indexed many websites . When we search let's say "car" i get many results from the same website. What i wanted is to show only the most higher in ranking for one domain.
If i did not make my self clear let's give it these way:
search "car"
for domain "cars" it will show up 20 results
for domain "oldcars" it will show up 20 results

what i want is to show up like these:
for domain "cars" it will show up 1 result(the most relevant)
for domain "oldcars" it will show up 1 result(the most relevant)

i have solved the problem by rebuilding the search i have created a new php code for the search but i got an enourmous time increasing like +90%

waiting your oppinions.........
xoft is offline   Reply With Quote
Old 01-24-2004, 03:46 AM   #2
Rolandks
Purple Mole
 
Rolandks's Avatar
 
Join Date: Sep 2003
Location: Kassel, Germany
Posts: 119
What is ranking? Who do you know what the user will find ? Perhaps he don't search the most relevant, he is interested for the resultpage like 20%.

Ranking on a Website with Fulltextsearch is silly IMHO, you don't know what people will find....

-roland-
Rolandks is offline   Reply With Quote
Old 01-24-2004, 03:54 AM   #3
xoft
Green Mole
 
Join Date: Jan 2004
Posts: 2
i don't think it's k to see 20 results on the first search page with links to the same website..
if you search in google or any other search engine you will find that will show up only max. 2 results from the same website ( i mean on the first page) and not 20 ..
xoft is offline   Reply With Quote
Old 01-24-2004, 08:33 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. In the config file from version 1.6.4+ is the following:
PHP Code:
define('NUMBER_OF_RESULTS_PER_SITE',-1);  //max number of results per site
                                          // use -1 to display all results 
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rankings liquidice How-to Forum 3 09-11-2004 07:45 AM


All times are GMT -8. The time now is 12:45 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.