I have difficulty finding documentation on how to apply multi-tenancy
to different types of objects in different indices.
I am familiar with searching multiple types in a single index, search
the video and article types in the media index:
curl -XGET http://localhost:9200/media/image,article/_search?q=
The multi-tenancy section on elasticsearch.org demonstrates searching
for objects of a single type across indices:
curl -XGET http://localhost:9200/kimchy,elasticsearch/tweet/_search?q=tag:warcraft
Is there a way to combine the two, i.e. search for multiple types
across multiple indices?
Given indices on localhost:9200/videos/video and localhost:9200/media
above, I'd like to be able to specify which types in those two indices
I want to cover in a single search. E.g. get article from media and
video in videos, but omit image in media.