Skip to content

Commit 45bc819

Browse files
kensavekennvene-aws
authored andcommitted
Fix Tests (#1904)
* Revert "chore: exclude semantic search crate" This reverts commit 6fe1e3ebf0db9a1e6571149bc1bfde50931f4165. * fix(semantic_search): Fix VectorIndex is_empty implementation The VectorIndex.is_empty() method was incorrectly checking if ef_construction was equal to 100 to determine if the index was empty. This approach was unreliable and caused test failures. This change adds a proper counter to track the number of elements in the index and updates is_empty() to check this counter instead. 🤖 Assisted by [Amazon Q Developer](https://aws.amazon.com/q/developer) --------- Co-authored-by: Kenneth Sanchez V <[email protected]>
1 parent cd19dc1 commit 45bc819

File tree

3 files changed

+1068
-25
lines changed

3 files changed

+1068
-25
lines changed

0 commit comments

Comments
 (0)