docs: def _coerce_type(self, field_type, value):
          """Returns unicode(value) after trying to coerce it into the Solr field type.
  
          @param field_type(string) The Solr field type for the value
          @param value(any) The value that is to be represented as Unicode text.
  
          """
          if value is None:
              return None
          if field_type == 'string':
              return str(value)
          elif field_type == 'text':
              return str(value)
          elif field_type == 'int':
              try:
                  v = int(value)
                  return str(v)
              except:
                  return None
          elif field_type == 'float':
              try:
                  v = float(value)
                  return str(v)
              except:
                  return None
          elif field_type == 'date':
              try:
                  v = datetime.datetime(
                      value['year'],
                      value['month'],
                      value['day'],
                      value['hour'],
                      value['minute'],
                      value['second'],
                  )
                  v = v.strftime('%Y-%m-%dT%H:%M:%S.0Z')
                  return v
              except:
                  return None
          return str(value)