On Tue, Dec 1, 2009 at 4:50 PM, yejun <yej...@gmail.com> wrote:
> You still need to enable auto index.
> http://code.google.com/appengine/docs/java/config/indexconfig.html

Not at all. "auto index" as you call it, is different from the
implicit indexing feature of datastore that I quoted in a previous
email.

datastore-indexes-auto.xml is just an helper, which concerns solely
the development server. When running on the development server, when
you perform a query for which an explicit index would have to be
built, instead of rejecting the query (which is what the real app
engine does), it accepts the query, and adds to
datastore-indexes-auto.xml the configuration you would have to put in
your datastore-indexes.xml, just to help you figure out what do.

This later file is used by appcfg to demand an explicit index build.
If configured to do so, appcfg can use the content of
datastore-indexes-auto.xml as well, as another configuration file for
demanding an index build.

Besides, I do have this "auto index" enabled, and always had.

Thanks,
Eric.

--

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


Reply via email to