On the one hand, we want our model to produce a "good" translation (well-formed and transmitting the information contained in the source query) of an input query.
we want to obtain good retrieval performance using the proposed translation.