Rank and Weight

Post Reply
goldenrayx
Posts: 5
Joined: Mon Feb 02, 2004 3:52 pm

Rank and Weight

Post by goldenrayx »

I know this has been asked in the old Webinator board, but i cannot find any answer on this one. Is there any way to give different Weight to different feild while searching for a result. Ex title, followed by keywords followed by body??

thanks

Steve
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Rank and Weight

Post by mark »

By default fields are searched in order
Title\Description\Keywords\Meta\Body
and the index is created that way. If you want to rearrange the order you need to change the query order and make an index for that ordering similar to how the default index is made (see the dowalk script).
goldenrayx
Posts: 5
Joined: Mon Feb 02, 2004 3:52 pm

Rank and Weight

Post by goldenrayx »

I understand they are searched in order but are they also ranked accordingly. Meaning a search for "home page" with 2 hits. The first hit is the home page with the word "home page" found in the title, the second is from "page 2" that has a link in the body that says "go back to the home page". Will page 1 that was hit from the title will have a higher rank then page 2 that had a hit in the body?

thanks

Steve
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Rank and Weight

Post by John »

Yes. How much higher will be controlled by the likepleadbias setting, i.e. how important it is that the match is at the beginning of the searched text.
John Turnbull
Thunderstone Software
Post Reply