I'm wanting to boot individual items in my search results based on the 
query being performed. I'd like to assign a number to a result that will 
boost it specifically for that query.

Example:
Item 1 gets a 20 point boost when the search is for flowers, but the same 
item only gets 5 points when the search is for cloud. My idea is to store 
this in our DB as a table like so:

item_id | query     | boost
1          | "flowers" | 20
1          | "clouds"  | 5
etc. etc.

Any ideas how I go achieve something like this? Also is this a terrible 
idea? Basically I was going to run a process that is constantly tweaking 
these boost numbers based on how the items perform (views, downloads, etc) 
in a specific search

I hope this makes sense, let me know if you need more explaining.

Thanks
Adam

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.

Reply via email to