title: Obtaining Image File Metadata and Indexing to Solr using TikaEntityProcessor
body: <p>Can someone suggest how to obtain the metadata of an image file (ex. .jpg, .png, .gif, etc) and index those data to Apache Solr?</p>
  
  <p>Currently, I'm using Apache Solr 4.2. In the DataImport Configuration file (for me, i named it "db-import-config.xml"), I tried using TikaEntityProcessor with ImageMetadataExtractor.</p>
  
  <pre><code>&lt;entity name="tika-test"
          dataSource="binary"      // using BinURLDataSource
          processor="TikaEntityProcessor"
          onError="skip"
          rootEntity="false"
          url="${dbmw_image.url}"
          format="none"
          parser="org.apache.tika.parser.image.ImageMetadataExtractor"&gt;
          &lt;field column="contributor" name="authors" meta="true"/&gt;
          &lt;field column="creator" name="authors" meta="true"/&gt;
          &lt;field column="data" name="creationDate" meta="true"/&gt;
          &lt;field column="modified" name="lastModifiedDate" meta="true"/&gt;
   &lt;/entity&gt;
  </code></pre>
  
  <p>The field "column"'s are all from Dublin Core metadata list. When I tried dataimport on Solr, none of these fields were picked up. I need answers for the following questions:</p>
  
  <ol>
  <li>What are the available metadata field NAMEs for image files? (i.e. the values that I can put in the "column" attribute of "field" in the Tika entity above)</li>
  <li>How to index and obtain those metadata values (through Tika?) and index to Solr? (ex. Which parser do I need? How should I set the tika entity attributes, etc)</li>
  </ol>
  
  <p>Any suggestions are appreciated. </p>
  
  <p>Thanks,</p>