Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FaissException when virtual table is empty #129

@tap2k

Description

@tap2k

Currently there is a FaissException whenever the virtual table is empty. This causes a lot of problems as the system terminates without throwing an exception or any warning. Is there any way to check if the virtual table is empty before running the query? Or is there a more elegant solution?

libc++abi: terminating due to uncaught exception of type faiss::FaissException: Error in virtual void faiss::IndexFlat::search(idx_t, const float *, idx_t, float *, idx_t *, const SearchParameters *) const at /Users/alex/actions/sqlite-vss-runner/_work/sqlite-vss/sqlite-vss/vendor/faiss/faiss/IndexFlat.cpp:34: Error: 'k > 0' failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions