Re: Issue with creating indexes in PdxIntance

2017-01-05 Thread Jason Huynh
tal.io] > *Sent:* Wednesday, January 04, 2017 11:53 PM > *To:* user@geode.apache.org; u...@geode.incubator.apache.org > *Subject:* Re: Issue with creating indexes in PdxIntance > > > > Hi Dharam, > > > > I believe this is due to having a value-constraint set on the regi

RE: Issue with creating indexes in PdxIntance

2017-01-04 Thread Thacker, Dharam
user@geode.apache.org; u...@geode.incubator.apache.org Subject: Re: Issue with creating indexes in PdxIntance Hi Dharam, I believe this is due to having a value-constraint set on the region. We validate the field exists on the value-constraint type before creating the index. PdxInstance is a "special&

Re: Issue with creating indexes in PdxIntance

2017-01-04 Thread Jason Huynh
Hi Dharam, I believe this is due to having a value-constraint set on the region. We validate the field exists on the value-constraint type before creating the index. PdxInstance is a "special" type and should probably be ignored or treated as if it were not contrained. I have created a ticket f

Issue with creating indexes in PdxIntance

2017-01-04 Thread Thacker, Dharam
Hi Team, I am trying to define index on replicated region defined as below where PdxInstance is created using JsonFormatter.fromJSON(jsonString)! Note : I don't have any domain model called 'Event.java' which is being converted to JSON, but I am getting Event as json string from source & that's