You've mentioned that you want ot "improve" the scores of these documents, but you haven't really given any specifics about when/how/why you wnat to improve the score in general -- ie: in this examples you have a total of 10 docs, but how do you distinguish the 2 special docs from the 8 other docs? is it because they are the only two docs with some specific field value, or is it just because they are in the smaller of two "sets" of documents if you partition on some field? if you added 100 more docs that were all in the same set as those two, would you want the other 8 documents to start getting boosted?
Let's assume that what you are trying to ask is.. "I want to artificially boost the scores of documents when the 'site' field contains 'cnn.com'" A simple way to do that is just to add an optional clause to your query that matches on "site:cnn.com" so the scores of those documents will be increased, but make the "main" part of your query required... q=+(your main query) site:cnn.com Or if you use the dismax or edismax parsers there are special params (bq and/or boost) that help make this easy to split out... https://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_increase_the_score_for_specific_documents FWIW: this smells like an XY problem ... more details baout your actaul situation and end goal would be helpful... https://people.apache.org/~hossman/#xyproblem XY Problem Your question appears to be an "XY Problem" ... that is: you are dealing with "X", you are assuming "Y" will help you, and you are asking about "Y" without giving more details about the "X" so that we can understand the full issue. Perhaps the best solution doesn't involve "Y" at all? See Also: http://www.perlmonks.org/index.pl?node_id=542341 -Hoss