title: solr-api accessing document field is taking a lot of time
body: <p>I am trying to access a field in custom request handler. I am accessing it like this for each document:</p>
  
  <pre><code>Document doc;
  doc = reader.document(id);
  DocFields = doc.getValues("state");
  </code></pre>
  
  <p>There are around 600,000 documents in the solr. For a query running on all the docs, it is taking more than 65 seconds.</p>
  
  <p>I have also tried <code>SolrIndexSearcher.doc</code> method, but it is also taking around 60 seconds.</p>
  
  <p>Removing the above lines of code bring down the qtime to milliseconds. But, I need to access that field for my algo.</p>
  
  <p>Is there a more optimised way to do this?</p>