The current APIs and SPIs rely heavily on Lucene types, and this will have to change now that we support alternative indexing services (Elasticsearch, and maybe later Solr, or others).