I'm trying to use the Qdrant vector database with the Haystack document store in Python.
I can use Qdrant Python to create and manipulate collections.
But how do I use the collections in Haystack? How do I connect to a specific collection, write a document in a specific collection, or apply a collection filter for a search?
To use Qdrant with Haystack, you should create a collection and write data using the QdrantDocumentStore. In Haystack, a Document Store is an interface to your database.
For the search task, you should use Qdrant retrievers. In Haystack, Retrievers go through all the documents in a Document Store and select the ones that match the user query.
Other resources: