define metadata_facet_per_doc at load time