Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Results sorting...

Quote Reply
Results sorting...
Is is possible to sort the search results by URL like most major search engines (yahoo, google, lycos, etc.)? For example, when you search for:

musicians friend

you should receive "www.musiciansfriend.com" as the first URL because it would be most relevent.

If a user was to search for:

3com

the would get "www.3com.com" first, then all of the other "3com.com" links (www.3com.com/products, www.3com.com/about, www.3com.com/contactus, etc.)


Sean
Quote Reply
Re: [SeanP] Results sorting... In reply to
Hi,

You can increase the weighting by going to Database->Links->Properties and edit the URL column. Increase the weighting to say 10, and then a match in the URL is worth 10 "points", where a match in the Description is worth 1. Links SQL returns results with the most "points" first. You will need to do a Reindex after changing this.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Results sorting... In reply to
By doing that, will the root URL "www.3com.com" be displayed first if the term 3com is searched, or will it sort the results by the URL that contains the most instances of the word 3com?

Sean
Quote Reply
Re: [Alex] Results sorting... In reply to
Would it be very difficult then to create a column to rank root url links (___.com, ___.org, etc.) to display the high rank url(s) first, then the scored urls? So, for instance, when you do a search for a company name, you would get the company's main root url first then the rest of the scored results. Is it possible to add some sort of "if" statement in the search code when the sorting is being performed, to display those links first? Just a thought...

Sean