Great! This was exactly my temporary fix implemented outside of hibernate -search-elasticsearch library.