So my need is this:

I have a site in which a user does a query for other users. The user can filter 
the query by different parameters that will limit the result set. One of the 
things about the system is that the user's can like different objects 
(Products, Services, etc.). When the user searches the index by a query and it 
returns a list of users I want to be able to calculate the "shared likes" 
between the user and each user result in the the returned result set. I would 
like to then append the calculation in each result in the result set and then 
sort by the greatest number of "shared likes", thereby making the results more 
relevant to the user. I would like to have this calculation run before the 
paging process kicks in so this function will be applied to the result set 
right before paging.

I am using Solr 1.4 and have read just a little on FunctionQuery. Is this what 
I am needing to perform this task? 



*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

Travis Chase

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

Reply via email to