Index and add material types

Raise an exception if the plugin 'material_types' is not included (it is a new dependency).

Add all material types as boolean search fields and index accordingly.