Fixing solr datatype for faceting