Hey Rohan,

Alright, best of luck in proceeding to get this issue looked-at. The 
reproduction is excellent form for issue-reporting, and I'm sure you'll see 
a quick reply on that basis.

On Tuesday, January 5, 2016 at 8:56:41 AM UTC-5, Rohan Chandiramani wrote:
>
> Hey Nick, 
>
> Here we go, 
>
> https://code.google.com/p/googleappengine/issues/detail?id=12648
> I have also created a small test project demonstrating the problem in the 
> issue tracker.
>
> As an outside chance, is it possible you worked with your entities before 
>> adding "noindex"? Or was that there from the beginning?
>
>
> I'm very sure it has been there from the beginning :)
>
> Cheers,
>
> Rohan
>
> On Tuesday, January 5, 2016 at 1:29:15 AM UTC+1, Nick (Cloud Platform 
> Support) wrote:
>>
>> Hey Rohan,
>>
>> Thanks for the update. It appears that this is definitely an issue worth 
>> investigating on our end, and not an issue of your own code. Could you open 
>> a Public Issue Tracker 
>> <https://code.google.com/p/googleappengine/issues/list> (PIT) issue 
>> linking to this thread, or reproducing the information from it, and there 
>> provide your project ID so that we can look into your Datastore and attempt 
>> to find a root cause? Feel free to link the issue thread here once created. 
>> We monitor the PIT closely and it should see action quickly.
>>
>> As an outside chance, is it possible you worked with your entities before 
>> adding "noindex"? Or was that there from the beginning?
>>
>> On Saturday, January 2, 2016 at 5:35:57 PM UTC-5, Rohan Chandiramani 
>> wrote:
>>>
>>> For some reason the image didn't get embedded in the post this time, 
>>> please look at the attachment in my previous post.
>>>
>>> On Wednesday, December 30, 2015 at 1:51:55 AM UTC+1, Nick (Cloud 
>>> Platform Support) wrote:
>>>>
>>>> It definitely seems, from a quick run-through of the doc and your 
>>>> schema, that the inner entities' flattened fields should be "noindex" 
>>>> here. 
>>>> Are you able to run queries which would hit the index, and do you see 
>>>> results?
>>>>
>>>> On Sunday, December 27, 2015 at 10:15:02 AM UTC-5, Rohan Chandiramani 
>>>> wrote:
>>>>>
>>>>> I have the following struct in my Go code:
>>>>>
>>>>> Channel struct {
>>>>> Name               string                                     
>>>>>  `datastore:"-" json:"name,omitempty" goon:"id"`
>>>>> UserId              int                                         
>>>>>  `datastore:",noindex" json:"userid,omitempty"`
>>>>> Subscription        Subscription                         
>>>>> `datastore:",noindex" json:"subscription,omitempty"`
>>>>> PersonalInformation []PersonalInformation        `datastore:",noindex" 
>>>>> json:"personalInformation,omitempty"`
>>>>> }
>>>>>
>>>>> PersonalInformation struct {
>>>>> FirstName    string `datastore:",noindex" json:"firstName,omitempty"`
>>>>> LastName     string `datastore:",noindex" json:"lastName,omitempty"`
>>>>> StreetAdress string `datastore:",noindex" 
>>>>> json:"streetAdress,omitempty"`
>>>>> Province     string `datastore:",noindex" json:"province,omitempty"`
>>>>> PostalCode   string `datastore:",noindex" json:"postalCode,omitempty"`
>>>>> CountryCode  string `datastore:",noindex" json:"countryCode,omitempty"`
>>>>> }
>>>>>
>>>>>
>>>>> <https://lh3.googleusercontent.com/-oNntmToU2Mg/Vn_-aiXlGDI/AAAAAAAADvI/QbT8Uvmmq0M/s1600/array_nested_indexed.png>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> When I look at the new console, all values from PersonalInformation 
>>>>> are marked indexed and greyed out.
>>>>> It seems to only happen with Arrays, because the nested type 
>>>>> Subscription isn't an array and is correctly marked as non indexed.
>>>>>
>>>>> https://cloud.google.com/appengine/docs/go/datastore/reference?hl=en
>>>>> If an outer struct is tagged "noindex" then all of its implicit 
>>>>> flattened fields are effectively "noindex".
>>>>>
>>>>> So is the console incorrectly marking these nested array values as 
>>>>> indexed.
>>>>> or 
>>>>> Is the datastore itself marking these as indexed correctly and I can't 
>>>>> find this specific behaviour in the documentation?
>>>>>
>>>>> -Not related to this problem-
>>>>> Thank you for adding the 'Refresh' button!
>>>>> Thank you for showing what entities derive from if they have an 
>>>>> ancestor!
>>>>>
>>>>>

-- 
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/1f9215bd-06a2-4092-9609-e231fcc7a947%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to