title: Returning arbitrary fields using the Solr Suggester component
body: <p>I'm looking to use the Solr <a href="http://wiki.apache.org/solr/Suggester" rel="nofollow">Suggester</a> component for serving up search auto-complete suggestions.</p>
  
  <p>I have created a field in my schema:</p>
  
  <pre><code>&lt;fieldType name="text_autocomplete" class="solr.TextField"&gt;
      &lt;analyzer type="index"&gt;
          &lt;tokenizer class="solr.LowerCaseTokenizerFactory"/&gt;
      &lt;/analyzer&gt;
  &lt;/fieldType&gt;
  </code></pre>
  
  <p>While my solrconfig.xml looks like:</p>
  
  <pre><code>&lt;searchComponent class="solr.SpellCheckComponent" name="suggest"&gt;
      &lt;lst name="spellchecker"&gt;
          &lt;str name="name"&gt;suggest&lt;/str&gt;
          &lt;str name="classname"&gt;org.apache.solr.spelling.suggest.Suggester&lt;/str&gt;
          &lt;str name="lookupImpl"&gt;org.apache.solr.spelling.suggest.tst.TSTLookup&lt;/str&gt;
          &lt;str name="field"&gt;title_autocomplete&lt;/str&gt;
          &lt;str name="buildOnCommit"&gt;true&lt;/str&gt;
      &lt;/lst&gt;
  &lt;/searchComponent&gt;
  &lt;requestHandler class="org.apache.solr.handler.component.SearchHandler" name="/suggest"&gt;
      &lt;lst name="defaults"&gt;
          &lt;str name="spellcheck"&gt;true&lt;/str&gt;
          &lt;str name="spellcheck.dictionary"&gt;suggest&lt;/str&gt;
          &lt;str name="spellcheck.count"&gt;5&lt;/str&gt;
          &lt;str name="spellcheck.collate"&gt;true&lt;/str&gt;
      &lt;/lst&gt;
      &lt;arr name="components"&gt;
          &lt;str&gt;suggest&lt;/str&gt;
      &lt;/arr&gt;
  &lt;/requestHandler&gt;
  </code></pre>
  
  <p>I am getting sensible results coming back, which is great.  However, I would like to return the id field for the matching document rather than the field I am attempting to match against.</p>