What is the best way to implement Google "sponsored results" type of search. I use that term very loosely just to explain my point.
I have a search form which returns search records and sorts them based on price - which is embedded within the record. I would like to sort them in a way where I can give preferential treatment to some records and list them higher than others. In other words, preferred records should be sorted higher than non-preferred even if their price is higher than non-preferred. (Almost like a 2-tier sort).
I was thinking that I might have to add a field to the record table like "preferred" and use that somehow.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
maverick
What is the best way to implement Google "sponsored results" type of search. I use that term very loosely just to explain my point.
I have a search form which returns search records and sorts them based on price - which is embedded within the record. I would like to sort them in a way where I can give preferential treatment to some records and list them higher than others. In other words, preferred records should be sorted higher than non-preferred even if their price is higher than non-preferred. (Almost like a 2-tier sort).
I was thinking that I might have to add a field to the record table like "preferred" and use that somehow.
Any ideas/suggestions?
Thanks.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.