I uploaded about 100.000 entities into datastore and I need to execute
a type of query that shouldn't require composite indexes.
But i get this:

The built-in indices are not efficient enough for this query and your
data. Please add a composite index for this query..  An index is
missing but we are unable to tell you which one due to a bug in the
App Engine SDK

My entity has three fields (String): type, value, parent so i created
an index like this:

<datastore-indexes autoGenerate="true">
   <datastore-index kind="DbAddressEntry" ancestor="false"
source="auto">
        <property name="value" direction="asc" />
        <property name="parent" direction="asc" />
        <property name="type" direction="asc" />
    </datastore-index>
</datastore-indexes>

The query uses only equality filters but sometimes only 2 params are
used (type and value, let's say)

Does that meen that i have to create another index ?
Or can something else help ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-java?hl=en.

Reply via email to