Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Error when using aliases on a MoreLikeThisQuery #4045
there was a commit that actually fixed that: imotov@963468c , but it missed doing that on redirect(that's why this only happens when using a NodeClient to execute the query).
anyway, doing the same here https://github.com/elasticsearch/elasticsearch/blob/4fa8f6f61f886446a09e3324a74e146ab73b1d0a/src/main/java/org/elasticsearch/action/mlt/TransportMoreLikeThisAction.java#L239 fixes the issue. or at least i couldn't reproduce it anymore.