fix solr import error when apm is float.