I have one string list property in an entity. It usually is with more
than 70-80 elements. I compose query as this "SELECT id FROM MyEntity
where long_field == 'something' && long_field == 'other' && long_field
== 'another' && etc...". This is search criteria so the "&&" can be
more than 10 at times. The field I use to select is only one and is
indexable (the default behavior). When the entities in the Data Store
are 3000-4000 it is working fine. But when they became more than about
4500 I've got an exception that I need a complex index... For me that
is strange, because I am querying  by only one field.

The exception exact message is:

" com.google.appengine.api.datastore.DatastoreNeedIndexException: 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.  If your query only contains equality filters you most
likely need a composite index on all the properties referenced in
those filters."

Can you help me by telling me in your view what is my problem?

Greetings,
Nickolay Georgiev (Meddle)

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