When I take a look at my objects:
doc_chunks = collection_tenant.query.fetch_objects(
limit=2
)
doc_chunks.objects
I get returned:
[Object(uuid=_WeaviateUUIDInt('02785db3-e861-4abe-9bd0-c5bee4702a5e'), metadata=MetadataReturn(creation_time=None, last_update_time=None, distance=None, certainty=None, score=None, explain_score=None, is_consistent=None, rerank_score=None), properties={'properties': {'start_end_idx': [1336, 2056], 'creationDate': '2024-02-06', 'docId': 1.0, 'userIds': ['u123'], 'title': 'queen_ryan.pdf', 'chunk': 'the content is here.', 'folderIds': ['u123_1']}}, references=None, vector={}, collection='Document'),
Object(uuid=_WeaviateUUIDInt('02fdb9b2-42c0-4c84-8f6e-b8b90bfb9746'), metadata=MetadataReturn(creation_time=None, last_update_time=None, distance=None, certainty=None, score=None, explain_score=None, is_consistent=None, rerank_score=None), properties={'properties': {'start_end_idx': [1479, 2331], 'creationDate': '2024-02-06', 'docId': 2.0, 'userIds': ['u123'], 'title': 'StoneHill.pdf', 'chunk': "some more text in this area", 'folderIds': ['u123_1']}}, references=None, vector={}, collection='Document')]
However, when I try to filter on the data on something that exists:
import weaviate
import weaviate.classes as wvc
documents = client.collections.get('Document')
collection_tenant = documents.with_tenant(organization_name)
response = collection_tenant.query.fetch_objects(
filters=wvc.query.Filter.by_property('title').equal('queen_ryan.pdf'),
)
response.objects
I get an empty list. What am I/ could I be doing wrong? My filter searching is not working.