@classmethod
def get_configuration(cls):
    """Find a SolrSchema subclass for use as schema configuration.
        Currently only supports one schema configuration.
        """
    subclasses = cls.__subclasses__()
    if not subclasses:
        raise Exception('No Solr schema configuration found')
    elif len(subclasses) > 1:
        raise Exception(
            'Currently only one Solr schema configuration is supported (found %d)'
             % len(subclasses))
    return subclasses[0]
