title: how does Solr store documents
body: <p>I know Solr uses Lucene and Lucene uses an inverted index. But from the Lucene examples I have seen so far, I am not sure I understand how it woks in combination with Solr.</p>
  
  <p>Given the following document:</p>
  
  <pre><code>&lt;doc&gt;
    &lt;field name="id"&gt;9885A004&lt;/field&gt;
    &lt;field name="name"&gt;Canon PowerShot SD500&lt;/field&gt;
    &lt;field name="manu"&gt;Canon Inc.&lt;/field&gt;
    &lt;field name="inStock"&gt;true&lt;/field&gt;
  &lt;/doc&gt;
  </code></pre>
  
  <p>From the examples I have seen so far, I would think that Lucene has to treat each  field as a document. it would then say: the ord Cannon appears in field <code>name</code> and field <code>manu</code>. </p>
  
  <p>Is the index broken down this much? Or does the index only say: "the word Canon appears in the document with id such and such"?</p>
  
  <p>How does this work exactly when using Lucene with Solr?
  What would this document look like in the index? (supposing each field has <code>indexed="true"</code>)</p>