You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Filtering a document by id is not working, PoC below.
To Reproduce
Load some documents into the AstraDB
from haystack import Document
from haystack_experimental.components.splitters import HierarchicalDocumentSplitter
from haystack_integrations.document_stores.astra import AstraDocumentStore
doc_store = AstraDocumentStore()
docs = [Document(content="The monarch of the wild blue yonder rises from the eastern side of the horizon.")]
builder = HierarchicalDocumentSplitter(block_sizes={10, 3}, split_overlap=0, split_by="word")
docs = builder.run(docs)
for doc in docs["documents"]:
if doc.meta["__level"] == 1:
doc_store.write_documents([doc])
Confirm the documents are there:
doc_store.filter_documents()
Filter by id one of the documents, returns nothing
Describe the bug
Filtering a document by
id
is not working, PoC below.To Reproduce
id
one of the documents, returns nothingDescribe your environment (please complete the following information):
astra-haystack-0.9.2
The text was updated successfully, but these errors were encountered: