Doc2vec for more relevant search

Hi there! Did someone have expirience with doc2vec dictinary intergration in elastic search for more relevant search? We faced problem with double meaning of words and didn't find any other solution than ML model. Any help appreciated. Thanks!