Various schema bugfixes; WIP #21 (SolrAdapter)