im facing a problem where im trying to do cross reference , i have a class named person and each person has mother and father , whenever i try to reference his mothe and father to him , its telling me that their ids are not inserted yet , how can i find a solution to this?
Welcome to the community! Really glad to have you here, and hope your journey with Weaviate kicks off smoothly.
From what you described, it sounds like there might be a misconfiguration somewhere. Here’s our documentation on how cross-references work:
And here’s a full example I’ve shared on my GitHub repo – it might not be exactly your use case, but hopefully it gives you a good starting point or something to tweak:
I’ve also got some other notebooks and scripts that show different things you can do with Weaviate using the Python client – feel free to check those out too:
Oh, and there’s also a Weaviate DB Cluster WebApp UI tool I built as a personal project – open-source and free to use – maybe it’ll come in handy for you!
Best regards,
Mohamed Shahin
Weaviate Support Engineer
(Ireland, UTC±00:00/+01:00)
so im doing cross ref , before i insert the batch i print it and the proporeties that are reference are there , after the insertion i fetch them and print them and suddenly they are not there only the props with anydata type but not refs are being shown , how can i solve this , i tried every possible way
hello mohamed , i have a question , lets say i have multiple collections and i wanna do a rag system on them , the user will enter a question and the answer is gonna be from multiple chunks so the search has to be done somehow to multiple chunks , how can it decide what chunks to search and what excact info to pull?