Update to API calls for solr doc and for retrieving kmap hits to increase speed and fix an error