There is no way to perform an OR type query like that across multiple fields in Firestore, not is there a way to have a condition on just part of an array element.
You will either have to perform a separate query for each field and merge the results in your code, or (and more likely) add an additional field to the documents with all the IDs from the all the other fields and then perform the query on that (merged) field.