title: ElasticSearch & Tire: Using Mapping and to_indexed_json
body: <p>While reading the <a href="http://github.com/karmi/tire" rel="noreferrer"><em>Tire</em></a> doc, I was under the impression that you should use either <code>mapping</code> or <code>to_indexed_json</code> methods, since (my understanding was..) the <code>mapping</code> is used to feed the <code>to_indexed_json</code>.</p>
  
  <p>The problem is, that I found some tutorials where both are used. WHY?</p>
  
  <p>Basically, my app works right now with the <code>to_indexed_json</code> but I can't figure out how to set the boost value of some of the attributes (hence the reason I started looking at mapping) and I was wondering if using both would create some conflicts. </p>