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

Metadata is empty

$
0
0

hi @Davit_Makharashvili !!

Welcome to our community :hugs:

This is the expected result. As documented here, you need to explicitly request the metadata to be returned.

So the query need to be:

collection.query.near_text(query=content,
    limit=limit,
    return_metadata=wvc.query.MetadataQuery(distance=True)        
)

Let me know if this helps!

Thanks!


Viewing all articles
Browse latest Browse all 3873

Trending Articles