Quantcast
Channel: Weaviate Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 3588

How to filter by date field

$
0
0

Hi @DudaNogueira,

I’m currently inserting data using LlamaIndex and I assumed I could use node.metadata to filter by dates.

for obj in response.objects:
     print(obj.properties.keys()) 
# dict_keys([_node_type', 'content', 'page_label', 'last_modified_date', ..., 'creation_date', ... ])

Is there really no way to use this metadata for filtering? My users have inserted a significant number of documents, and I’d prefer not to delete the collection and ingest the data again.

Thank you!

Edit:
I have found a solution that actually have to modify how LlamaIndex queries with Weaviate.

Although this have resolved my issue with integration, but still does not give me an idea how to query direct with Weaviate using the node.metadata['last_modified_date] | obj.properties['last_modified_date'].


Viewing all articles
Browse latest Browse all 3588

Trending Articles