LPS-50170

Hey Marcellus,

I'm sending this to you since it seems you've worked on both DDM and SOLR, but let me know if it should go to someone else.

Related to https://github.com/marcellustavares/liferay-plugins/pull/216

Thanks.