I guess no. There was 20 - 50 - 1000 unique tags Tags were added using random algorythm. Some tags were more popular then other. We used Normal distrubution. The most popular tag was added to 10-50% of entities. (We had several tests) Every object had 10 tags.
Thanks On Feb 17, 12:48 am, "Ikai L (Google)" <[email protected]> wrote: > How many different kinds of tags are there? Is this an "exploding indexes" > situation? > > http://code.google.com/appengine/docs/python/datastore/queriesandinde... > > > > > > On Tue, Feb 16, 2010 at 12:34 PM, Max <[email protected]> wrote: > > I am sorry but it does not work. With 10000 objects and searching for > > 2 tags we got following error. > > > 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.. Unable to > > determine what index is missing. This is probably a bug in the App > > Engine SDK. > > > Solution I have proposed is not effecient enough when inserting data. > > It may take ~5 seconds per object. > > > May be we have to host tag search server outside of google app engine. > > > :( > > > or decrease number of tags to minimum > > > On Feb 12, 2:22 pm, Max <[email protected]> wrote: > > > Thank You very much it works! > > > > correct code is:- > > > query.setFilter("tags == 'hello' && > > > tags == 'world'"); > > > > I hope it will work with thousands and millions of records as well. I > > > have not tested with large number of data yet. > > > > Thanks again! > > > > On Feb 12, 2:46 am, John Patterson <[email protected]> wrote: > > > > > On 12 Feb 2010, at 06:53, Max wrote: > > > > > > I have not coded much in native API but I think it will search first > > > > > for hello and then for world then mix results. > > > > > No, it does a "merge join" - only returning entities that match all > > > > filters - not separate queries like the JDO contains() creates. > > > -- > > 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]<google-appengine-java%2B > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. > > -- > Ikai Lan > Developer Programs Engineer, Google App > Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine -- 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.
