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

[BugFix] Fix issue of chunks not getting embedded in opensearch index #983

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

deshraj
Copy link
Collaborator

@deshraj deshraj commented Nov 30, 2023

Description

Noticed that if we have more than 100 indexes, the current logic was buggy and it only indexes the first 100 chunks and ignores the rest of them. This PR fixes the issue.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Copy link

codecov bot commented Nov 30, 2023

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (406c46e) 65.13% compared to head (6083c7a) 65.11%.

Files Patch % Lines
embedchain/vectordb/opensearch.py 0.00% 7 Missing ⚠️
embedchain/loaders/discord.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #983      +/-   ##
==========================================
- Coverage   65.13%   65.11%   -0.02%     
==========================================
  Files         118      118              
  Lines        4302     4303       +1     
==========================================
  Hits         2802     2802              
- Misses       1500     1501       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@deshraj deshraj merged commit b02e8fe into main Nov 30, 2023
3 of 5 checks passed
@deshraj deshraj deleted the user/dyadav/fix-opensearch-chunks branch November 30, 2023 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant