Did you tried this framework developped by Wuha and based on ES? (documentation here). It will take you few minutes to create a Search Engine...
I recommand you to test this framework developped by Wuha and using Tika & ES. Here the documentation . You can easily create your fulltext metadata search even On-Premise.