title: How to map a SolrNet Query result to a class?
body: <p>I am trying to query Solr using the SolrNet client.
  I can index documents and search for them with the Solr web admin with out error.
  When I try to query using the same class I indexed the documents with I get an error like the following on every field.</p>
  
  <p>Error:</p>
  
  <p>Could not convert value 'System.Collections.ArrayList' to property 'Title' of document type Search.WebService.Handler.Document</p>
  
  <p>Why is Solr trying to map an arraylist to each field?
  Here are the details of my setup, the schema is based on the example schema.</p>
  
  <p>My Schema:</p>
  
  <pre><code>&lt;field name="ReferenceId" type="identifier" indexed="true" stored="true" required="true"/&gt;
  &lt;field name="Title" type="text_general" indexed="true" stored="true"/&gt;
  &lt;field name="Revision" type="identifier" indexed="true" stored="true"/&gt;
  &lt;field name="Author" type="text_general" indexed="true" stored="true"/&gt;
  &lt;field name="Filename" type="text_general" indexed="true" stored="true"/&gt;
  </code></pre>
  
  <p>My Document class:</p>
  
  <pre><code>class Document
  {
      [SolrField("ReferenceId")]
      public string ReferenceId { get; set; }
  
      [SolrField("Title")]
      public string Title { get; set; }
  
      [SolrField("Revision")]
      public string Revision { get; set; }
  
      [SolrField("Author")]
      public string Author { get; set; }
  
      [SolrField("Filename")]
      public string Filename { get; set; }
  }
  </code></pre>
  
  <p>An example query:</p>
  
  <pre><code>string queryString = String.Format("Title :\"{0}\"", titleSearchTerm);
  SolrQuery query = new SolrQuery(queryString);
  SolrQueryResults&lt;Document&gt; results = index.Query(query);
  </code></pre>