The first time it works, but the second time I run it, it gets stuck there (create_index()) forever.
Expected behavior
I'm not sure should I use create_index() every time when I upsert something? If I just need to create_index at the first time, how can I check if I created it or not in program (because the previous scripts will run several every day as a cron job)
Screenshots
If applicable, add screenshots to help explain your problem.
Versions:
PostgreSQL: [e.g. 14.1]
vecs version: e.g. 0.2.6
Additional context
Add any other context about the problem here.
Describe the bug A clear and concise description of what the bug is.
To Reproduce I have some embedding to be upsert:
The first time it works, but the second time I run it, it gets stuck there (
create_index()
) forever.Expected behavior I'm not sure should I use
create_index()
every time when I upsert something? If I just need to create_index at the first time, how can I check if I created it or not in program (because the previous scripts will run several every day as a cron job)Screenshots If applicable, add screenshots to help explain your problem.
Versions:
Additional context Add any other context about the problem here.