[appengine-java] Re: Index over a list property on GAE not working as expected

2010-07-27 Thread Stephen Johnson
Hi Miroslav, Yes, I would say it is working on your local dev. because you have automatic indexes enabled and so is automatically creating the necessary index for you but then you are not deploying this automatically generated index. It looks like your code splits search phrases into individual wor

[appengine-java] Re: Index over a list property on GAE not working as expected

2010-07-28 Thread l.denardo
> Yes, I would say it is working on your local dev. because you have > automatic indexes enabled and so is automatically creating the > necessary index for you but then you are not deploying this I can tell for sure, using Java, that there's a different behavior for composite queries in the DevSe

[appengine-java] Re: Index over a list property on GAE not working as expected

2010-07-28 Thread l.denardo
Getting back to the original question, since the error appears to be for the second query and it's only a get (no composite index), probably it's only a matter of automatic indexing being disabled. Just as a pointer on text search, there's a post here: http://googleappengine.blogspot.com/2010/04/m

[appengine-java] Re: Index over a list property on GAE not working as expected

2010-07-28 Thread l.denardo
Glad to hear it! Anyway more information about automatic generation is available here http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Defining_Indexes_With_Configuration BTW there's the answer to everything in that: "Other forms of queries require their indexes to be

Re: [appengine-java] Re: Index over a list property on GAE not working as expected

2010-07-28 Thread Miroslav Genov
First I wanna thank you all for the feedback. Now I had looked into guestbook example at http://code.google.com/p/guestbook-example-appengine-full-text-search/source/browse/trunk/guestbook/src/guestbook/SearchJanitor.java and I had modified my code to use the same query generation. Here is a

Re: [appengine-java] Re: Index over a list property on GAE not working as expected

2010-07-28 Thread Miroslav Genov
It seems that the issue is with the sorting order. Now sorting order has been removed and works like a charm. On 28.7.2010 ?. 13:22 ?., Miroslav Genov wrote: First I wanna thank you all for the feedback. Now I had looked into guestbook example at http://code.google.com/p/guestbook-example-ap