Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Hybrid Search results are missing when concurrent search is enabled #799

Closed
vibrantvarun opened this issue Jun 19, 2024 · 3 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@vibrantvarun
Copy link
Member

vibrantvarun commented Jun 19, 2024

What is the bug?

Hybrid search results are missing when concurrent search is enabled in single shard and multiple shards scenario.
For example:
For single shard I ingested 6 documents and did a matchAll query under the hybrid clause then I am expecting 6 results should be there but I am getting just 5 results.

For multiple shard I did the same by ingesting 100 documents and I am expecting 100 results but getting 95.

How can one reproduce the bug?

  1. Just ingest the documents for single shard by following URL http://localhost:9200/my-nlp-index/_doc/1?refresh=true and make sure update docId when ingesting new documents.
  2. Enable the concurrent search in index settings
  3. For multiple shard use code to ingest 100 documents in a same way
  4. Do a match all query with maximum results size, you will find the results are missing.

What is the expected behavior?

Results should not be missing and the right of results should be returned.

Do you have any additional context?

When concurrent search is disabled everything is working fine.

@vibrantvarun
Copy link
Member Author

@martin-gaievski assigning this to you

@vibrantvarun
Copy link
Member Author

@martin-gaievski Can we close the bug?

@martin-gaievski
Copy link
Member

yup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants