: Ideally this means that for a given query, I would like Solr just to return : the ranks of selected unique keys within the results.
If i understand you correctly, given a query MY_QUERY and a set of IDs (ID1, ID2, ID3, etc...) you would like to know the score of those IDs against that query? that's fairly straight forward... ?q=MY_QUERY&fq=id:(ID1 ID2 ID3 ...) -Hoss