Azure / Azure/azure-search-vector-samples

HybridSearch yields no results when the Skip parameter exceeds 1010.

Open
#111 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
910
Forks
377
PR merge metrics
No merged PRs in 30d

Description

Description:
I have encountered a bug in Azure Hybrid Search where the index no longer returns results when specific parameter values are used together. When the Skip parameter is set to at least 1010, the Top parameter is set to 10, and K from vector search is also set to 10, no search results are returned back, even if I can see that, the total count is 14053.

The total number of items in this index is ~15k.

Note: I'm using the latest API version (2023-10-01-Preview)

Steps to Reproduce:

Configure an Azure Hybrid Search instance.
Perform a search operation with the following parameters:
Skip parameter: 1010 or greater
Top parameter: 10
K parameter for vector search: 10
Observe that no search results are returned, and the system fails to provide any relevant data.

Expected Behavior:
The system should return search results based on the provided parameters, even when the Skip, Top, and K parameters are set as described.

Actual Behavior:
No search results are returned.

Attachement:
![AzureRequest](https://github.com/Azure/cognitive-search-vector-pr/assets/8298191/d256122f-ea28-402c-b821-d4111bfb57a7)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Azure Hybrid Search request using Skip 1010 or greater, Top 10, and vector K 10, then compare the returned results with the reported total count of about 14,053. Done means the request returns matching search results under these parameter values.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
api, cloud, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.