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

How to get multiple objects by id in one call?

$
0
0

I’d like to query multiple Ids but in one call to the server - I am using the client on nodejs.

would

builder.withWhere({
                    path: ["id"],
                    operator: "ContainsAny",
                    valueString: [...ids...]
                });

Assuming there are 10 ids will this definitely find all 10 if they exist? Or are there efficiency limits so that it won’t search the whole database to get all 10? (I know these limits can happen with text/vector searches etc…).

Ie: should I do 10 separate find by id searches to definitely find the objects - or can I safely use the above?


Viewing all articles
Browse latest Browse all 3588

Trending Articles