SOLR/Lucene: How would one go about extending the Scorer class s.t. it could then be wrapped in a Solr plugin 
The reason I am asking this, is because extending the Similarity class or using query function is not enough for me. I plan to personalize user queries in terms of their preferences with respect to document fields. I need to update the score of the documents after the text based scoring has been computed using these preferences (which would have been cached by the Solr plugin). Any thoughts?
SOLR/Lucene: How would one go about extending the Scorer class s.t. it could then be wrapped in a Solr plugin 
===

The reason I am asking this, is because extending the Similarity class or using query function is not enough for me. I plan to personalize user queries in terms of their preferences with respect to document fields. I need to update the score of the documents after the text based scoring has been computed using these preferences (which would have been cached by the Solr plugin). Any thoughts?