Let’s say I want to add a single object to an index. I can use the following Java code:
Item item = …
I would like item to be tagged with a specific value so that I can later restrict results in my multi-tenant web app by client id.
So to achieve this in Java, should I have a method called “get_tags()”? Or is there something built into the Java API to add tags at the time of adding an object to the index?