In our drupal 7 website (having its search handled (indexed and served) by Apache Solr Server), we need to rank the content for users in following manner:
a. for non-logged in users, content should be served depending on his/her current location.
e.g if the current user is from location ‘x’ then data specific to ‘x’ location should be server as priority (on top).
As per research this can be achieved by GEOIP module.
b. for logged in users:
1. content should be served depending on the user profile field values.
2. if the user has set some preferences (keywords), then the content relevant to such keywords should come on top (high priority).
Flow :
if user is logged in
if user has keywords/preferences
. serve the content based on those keywords
. serve the content based on profile
else if not found
. serve the content based on profile
else if user is not logged in
. serve the content based on user’s current location
Let me know if you have any questions.
hello Sir this is manouwer expert in drupal since 4 years
i have very good experience in drupal apache solar search content management
i will configure it to show solar search first according to location
and user based
waiting