Search multiple indexes and nested

I found it here

When searching for multiple indexes. It needs to be added to the nested ignore_unmapped: true

nested: {
	path: "nest",
	ignore_unmapped: true,
	query: {
		bool: {
			must: [
				//....
			]
		}
	}
}