I'm using go version go1.6.2 (appengine-1.9.40) darwin/amd64 and this relates to the live datastore, not the local datastore.
When saving a struct to the datastore, slices of structs which have been tagged as "noindex", are showing up as indexed in the datastore viewer, while non struct fields are correctly showing as unindexed
As an example, I have:
Type User struct{
Email string
Buddies []Buddy `datastore:",noindex"`
Language string `datastore:",noindex"`
}
Type Buddy struct{
Name string `datastore:",noindex"`
Age int `datastore:",noindex"`
}
When saving a new User
to the datastore, the datastore viewer shows the properties Buddies.Name
and Buddies.Age
as "Indexed" despite the fact that I've tagged them as "noindex".
How do I get the datastore to not index structs?
(I asked the same question on StackOverflow, and if I get any solution there, I'll post it here)
--
You received this message because you are subscribed to the Google Groups "google-appengine-go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine-go+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Most likely you had the data indexed earlier. "noindex" is not retroactive.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine-go+unsubscribe...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine-go+unsub...@googlegroups.com.