'http://wiki.apache.org/solr/CoreAdmin#head-7ca1b98a9df8b8ca0dcfbfc49940ed5ac98c4a08'

def create(self, name, instance_dir=None, config=u'solrconfig.xml', schema=u'schema.xml'):

    params = {u'action': u'CREATE', u'name': name, u'config': config, u'schema': schema}
    if (instance_dir is None):
        params.update(instanceDir=name)
    else:
        params.update(instanceDir=instance_dir)
    return self._get_url(self.url, params=params)
