[search] Results that are unrelated to the query are returned #30643
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Search
Service Attention
Workflow: This issue is responsible by Azure service team.
Type of issue
Code doesn't work
Description
[Enter feedback here]
When I run a vector search using the code below, the results returned are unrelated to the query.
https://learn.microsoft.com/en-us/javascript/api/overview/azure/search-documents-readme?view=azure-node-latest#querying-with-vectors
For example, even if you search for a string of completely meaningless characters, you will still get results.
The score in result is always 1 for both correct and irrelevant keywords, and rerankerScore is always undefined.
How can I use this library to retrieve only results that are relevant to the content of user query?
Page URL
https://learn.microsoft.com/en-us/javascript/api/overview/azure/search-documents-readme?view=azure-node-latest#querying-with-vectors
Content source URL
https://github.com/MicrosoftDocs/azure-docs-sdk-node/blob/main/docs-ref-services/latest/search-documents-readme.md
Document Version Independent Id
bbdda1cc-8bcc-f451-adc3-336cdc222621
Article author
@azure-sdk
Metadata
The text was updated successfully, but these errors were encountered: