getBulk- Links withing a document to other documents(has-many)
Say I have a primary document which consists of Player information and i have interlinked another document(Player abilities). Now, I want to retrieve player abilities document using the player(document). I planned to use Multi-get(getBulk) in java.
But it retrieves only the parent(player) document and not the player_ab01 document.Any one implemented in java with this method(getBulk) ??
As you can see from the documentation the getBulk() method takes a list of keys as parameters.
The client will get all the document/values associated with these keys.
The getBulk operation does not do anything with the JSON content that has the list of linked items. This is why you have to extract the list of keys from the JSON documents and do the getBulk() on this list.
Is it clear?