Skip to content

[search] Results that are unrelated to the query are returned #30643

Open
@osamum

Description

@osamum

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

  • ID: bc0fe95b-a94f-c1e7-5d15-668e4f974b97
  • Service: search

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.SearchService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions