Can you share the definition of your Index? And also the whole query that you are executing? The error indicates that the query contains a Map function, but I can’t tell how things are coming together.
I see that in your example, the index name is "index by owner". Is this just for providing an example? Names for resource (e.g. Collections, Indexes, Functions, etc.) cannot contain spaces. This is probably not relevant to your actual question, but I wanted to clarify for any other readers.
I moved away from this for now. Please go ahead and close it, if I have some time in the upcoming weeks I will try to reproduce on my end with a blank project and see if it’s actually an issue worth reporting.
so feel free to close it
Thank you for the follow up @ptpaterson !