title: How to do NOT IN query in Solr?
body: <p>How can I exclude a set of document IDs from Solr result set? Essentially something like </p>
  
  <p><code>/select?q=tag_id:367 AND NOT id:(306670,302209)</code></p>
  
  <p>I tried it and it does not exclude documents with those id's.</p>