Azure / azure-search-vector-samples

A repository of code samples for Vector search capabilities in Azure AI Search.
https://azure.microsoft.com/products/search
MIT License
733 stars 309 forks source link

HybridSearch yields no results when the Skip parameter exceeds 1010. #111

Open gugema opened 10 months ago

gugema commented 10 months ago

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

farzad528 commented 10 months ago

Hi @gugema, thanks for flagging this issue. We are actively working on this and will roll out a fix soon!