code: public void setMetadataSettings (boolean store, boolean index, boolean token) {
          indexMetadata = index;
          storeMetadata = store;
          tokenizeMetadata = token;
      }
docs: Sets Field attributes that will be used when creating Field objects for the document attributes found in
  a PDF document.  These attributes correspond to the <code>store</code>,
  <code>index</code>, and <code>token</code> parameters of the {@link org.apache.lucene.document.Field}
  constructor before Lucene v4.x and the same-named attributes of {@link org.apache.lucene.document.FieldType}
  afterwards.