global variable KEYWORD_INDEX_NAME in PgvectorDocumentStore avoids multiple tables #7899
-
Hello, I noticed that the index (KEYWORD_INDEX_NAME) associated to a table in PgvectorDocumentStore (Haystack 2.0) is defined as global and later in the code it seems to raise an exception when one tries to create a second table, and as a consequence only one table per database can be used. Was it intentionally? What do you recommend me in case I need to use different tables to store data in order to be used to, for example, talk-to-documents? Just in case, the exception is: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I think this has just been fixed by deepset-ai/haystack-core-integrations#818 Can you try updating the package and see if it works? |
Beta Was this translation helpful? Give feedback.
-
Using |
Beta Was this translation helpful? Give feedback.
I think this has just been fixed by deepset-ai/haystack-core-integrations#818
Can you try updating the package and see if it works?