title: How to determine field-type for SOLR indexing?
body: <p>I have two table fields in a MySQL table.
  One is VARCHAR and is a "headline" for a classified (classifieds website).
  The other is TEXT field which contains the "text" for the classified.</p>
  
  <p><strong>Two Questions:</strong> <br>
  <strong>How should I determine how to index these two fields?</strong> (what field-type, what classes to use etc)</p>
  
  <p>Currently I have an "ad_id" as a unique identifier for each ad, example "bmw_m3_82398292". <br>
  <strong>How can I make SOLR return this identifier whenever a 'query match' is found by SOLR?</strong>
  (The first part of the identifier is actually the headline fields content, the second part is a random number chosen)</p>
  
  <p>Thanks</p>