Search operations use the namespace associated with a context passed to them when they are called.
To perform an operation in a namespace, wrap a context with appengine.Namespace, and use that context when calling methods on an index. You may see an example in the "Using namespaces with Search" sub-chapter of the "Implementing Multitenancy Using Namespaces" online document <https://cloud.google.com/appengine/docs/standard/go/multitenancy/multitenancy> . This is the usual way of performing operations in a namespace, and would require one index in your situation. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/4d366f81-c165-476a-828f-6c071e2d3f5b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.