:::Help, how can I create search with best result at top :::

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
prasitc2005
Forum Commoner
Posts: 42
Joined: Thu Jul 13, 2006 7:14 am

:::Help, how can I create search with best result at top :::

Post by prasitc2005 »

Hi all kind gurus

Case study:

There's an index page with images of products. When you click it, it goes to detail page which shows only one best match but I want to create next and previous buttons in the detail page to take clients to see more products.

Just need help on how to create a search page which will produce results showing the best macth at the top and other relavant down to non-relevant results at the bottom page or last page with next or previous buttons.

I know how to do a search result page with return only one best results.

Please help!
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Post by califdon »

You haven't clearly stated what you mean by "best match" or "relevant." How do you define how "good" a match is?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Relevancy search is a large scale algorithm (akin to Google or Yahoo search). What have you come up with so far?
Post Reply