Solved: elasticsearch how to use preference in node.jsBy Isaac Tonny02/11/2022 Question: I am sending requests from Node.js to ES, It was fine before I put the “preference” option to the…