In retrieval, queries are short questions while documents are long passages, so models are often trained for asymmetric matching.
Many models expect instructions or prefixes (for example a query marker versus a passage marker) and give noticeably worse results if you omit them.
Always follow the model's documented usage for queries and documents, and embed both with the same model version.
Loading…