added compatibility with solr metadata