title: Metadata field duplication in Solr
body: <p>I am trying to index millions of strings, that are associated with metadata objects. </p>
  
  <p>Each metadata object can have <em>n</em> thousands of strings. </p>
  
  <p>I need to be able to search both string content, and the associated object metadata. </p>
  
  <p>Currently this means that I am indexing the copies of relevant metadata fields with each string, which leads to ridiculous amounts of duplication and incredibly large index sizes.</p>
  
  <p>In a relational db model, i could just store one copy of the metadata and join the tables to be able to filter and search by the combined fields, but I can’t see any way of eliminating this duplication in Solr.</p>
  
  <p>Is there something obvious I am missing, or is Solr just the wrong tool for the job?</p>