I am using apache solr modules. My requirement was if I hit the search logged in user node should appear on top and then other user's node. How to achieve this requirement. Any help will be greatly appreciated.


I strongly recommend using the Apache Solr View module, with this module installed it is only a matter of indexing the correct data and building the view with the correct sorting.

| improve this answer | |
  • Thanks for your response. I just want to know how can I index logged in user's node and sorting the result. For example If I hit the search means I receives 10 node's in the result. I was the author of 2 nodes in that search result. My requirement was my node should appear on the top and the other user's node should appear on subsequent results. – jaffaralia Feb 20 '15 at 10:04
  • so you want to group by the user? – Fons Vandamme Feb 20 '15 at 10:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.