I use Drupal 6 with the ApacheSolr search module.
On my website, all visitors can flag any node with a yes/no answer to the question "Did you find what you were looking for?". Based on those answers, I calculate a custom ranking score for each node which is stored in a separate DB table.
Now I would like to include this score when sorting/boosting the search results in Solr, so that those nodes with the best relevancy / score come out on top.
Can it be accomplished with hook_apachesolr_prepare_query()?
All suggestions are welcome :)