Hello Geoffrey, you mentioned "2 indexes (one in each direction) will
be created for each property for each entity. "

What are the 2 indexes and why? what are the 2 indexes names?

Bruce

On Jun 30, 7:51 pm, Geoffrey Spear <[email protected]> wrote:
> On Jun 30, 9:34 am,BruceAloe<[email protected]> wrote:
>
> > Hello,
>
> > I have read the online documentation about GAE data store index, but
> > don't get it well.
>
> > Suppose i have a kind (table) Employee, with columns (attributes)
> > (EmployeeId, Age, Position, Salary, StartingDate), and 10000 employees
> > are stored in the data store.
>
> > Does it mean all the attributes (EmployeeId, Age, Position, Salary,
> > StartingDate) get indexed automatically when the Employee kind is
> > created?
>
> > What is your opinion?
>
> "Employee kind is created" is kind of meaningless. The datastore is
> schemaless, and only cares about entities you actually put(). Assuming
> you put() all of the entities with those attributes, yes, 2 indexes
> (one in each direction) will be created for each property for each
> entity. There are no "columns"; you can happily create Employee
> entities with any of those properties or completely different
> properties (although this isn't necessarily a good idea). The
> datastore layer doesn't know or care what the kind definition says, it
> only care what properties actual saved entities have.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to