title: Solr equivalent to ElasticSearch Mapping Type
body: <p>ElasticSearch has Mapping Types to, according to the docs:</p>
  
  <blockquote>
    <p>Mapping types are a way to divide the documents in an index into
    logical groups. Think of it as tables in a database.</p>
  </blockquote>
  
  <p>Is there an equivalent in Solr for this?</p>
  
  <p>I have seen that some people include a new field in the documents and later on they use this new field to limit the search to a certain type of documents, but as I understand it, they have to share the schema and (I believe) ElasticSearch Mapping Type doesn't. So, is there an equivalent?</p>
  
  <p>Or, maybe a better question,</p>
  
  <p>If I have a multiple document types and I want to limit searches to a certain document type, which one should offer a better solution?</p>
  
  <p>I hope this question has any sense since I'm new to both of them.</p>
  
  <p>Thanks!</p>