MDL-61102 core_search: Improve performance by reducing schema checks