I have the same fear - that cleaning out the index.yaml might break
something.

Which leads to an idea - if the indexes page in the management console
included the latest date that an index was used, it would make it
easier to differentiate between indexes that are relevant, and indexes
that are obsolete.

Dunno the cost of implementing such a system.  Am just throwing the
idea out there to see if it sticks to the wall.

johnP



On Mar 1, 9:55 am, Gijsbert <[email protected]> wrote:
> Ah! Quite possible, I used to do filter('name ==', x) as well.
> I should really remove the index.yaml once in a while, but I'm scared
> I will forget to test something.
>
> Thanks.
>
> On Mar 1, 11:55 am, "Nick Johnson (Google)" <[email protected]>
> wrote:
>
>
>
> > Hi Gijsbert,
>
> > The latter index is for a property called (literally) 'name='. Most likely,
> > at some point you erroneously executed a query along the lines of
> > Item.all().filter('name=', blah)..., which checks for a property called
> > 'name='. The property name and operator need to be separated by a space -
> > eg, 'name ='.
>
> > You can safely delete this index.
>
> > -Nick Johnson
>
> > On Mon, Mar 1, 2010 at 4:51 PM, Gijsbert <[email protected]> wrote:
> > > Hi,
> > > I was having a look at my indexes and I have 2 that are almost
> > > identical, from index.yaml:
>
> > > - kind: Item
> > >  properties:
> > >  - name: name
> > >  - name: last
>
> > > - kind: Item
> > >  properties:
> > >  - name: name=
> > >  - name: last
>
> > > I searched the documentation to find out what the '=' means but it is
> > > not mentioned in
> > >http://code.google.com/appengine/docs/python/config/indexconfig.html
> > > .
>
> > > Anybody know what the difference is?
>
> > > Cheers,
> > > Gijsbert
>
> > > --
> > > 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]<google-appengine%2Bunsubscrib
> > >  [email protected]>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > Nick Johnson, Developer Programs Engineer, App Engine
> > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> > 368047

-- 
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