Filter Material records with ElastichSearch.
Add the ElasticSearch search method in the filter method
of the Material model.
Update the filter method to paginate and integrate with
ActiveRecord queries, in Material and Boletim models.
Update the as_indexed_json method in the Material model
to index the fields needed in the filtering.
Change fields name in the Material filter form,
in materiais/index view.