[appengine-java] Re: Displaying 1000 tweets eats up datastore quotas in minutes

2012-01-10 Thread jacek.ambroziak
The only issue is with indexing and access patterns. When tweets are stored individually they can be retrieved by queries referring to individual metadata. This unfortunately is costly. So the question remains, is it OK to retrieve whole sets of tweets compressed together into a Blob in Entity?

[appengine-java] Full-text search engine and its indexes

2011-10-05 Thread jacek.ambroziak
I have full-text indexed all of O'Reilly eBooks (1,600 of them) using my own search engine. You can see how the search works if you have an Android tablet and install (free app) eCarrel (O'Reilly bookstore). To make searching manageable in the context of GAE I have originally partitioned all the

[appengine-java] Re: How to use XSLT in JAVA

2011-02-19 Thread jacek.ambroziak
XSLT is not a parser, but a language to express XML transformations. 2 questions: 1) why do you need XSLT in your app? 2) do you need high performance? Here I can help w/ software. As to StreamSource, you have other constructors for it, not necessarily using Files! On Feb 18, 2:56 am, Rick

[appengine-java] Re: how to access all values a property has?

2010-12-22 Thread jacek.ambroziak
). -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Tue, Dec 21, 2010 at 9:22 AM, jacek.ambroziak jacek.ambroz...@gmail.comwrote: Say, I have a set

[appengine-java] how to access all values a property has?

2010-12-21 Thread jacek.ambroziak
Say, I have a set of Person Entities with ListString favoriteColor property. People can specify their own sets of colors for that property. Can I access the union of these color sets, ie. all the values they have entered for this property? The values should sit in the DataStore index, ordered,

[appengine-java] Re: data in xml format from data store

2010-12-03 Thread jacek.ambroziak
Also minify and/or compress your XML! On Dec 2, 5:06 am, pac parvez.chau...@gmail.com wrote: That’s great then Stephen, appreciated the feedback. Thanks. On Dec 2, 1:44 am, Stephen Johnson onepagewo...@gmail.com wrote: I believe Ikai's statement The 30 second limit is imposed on the time it

[appengine-java] Re: Why can't i persist a BitSet

2010-11-11 Thread jacek.ambroziak
You can serialize the BitSet into a ByteArrayOutputStream, then persist a Blob wrapper around resulting byte array On Nov 11, 11:21 am, WillSpecht willspe...@gmail.com wrote: I am trying to store a BitSet to my data store but when I try to use it I get the following error:

[appengine-java] Re: GAE or EC2

2010-11-10 Thread jacek.ambroziak
Ikai, I do not think you really addressed JY's pain, which I also share. Some of us have invested a lot of time and energy into building GAE-based services. We would like to move to production stage but frequent denials of service make our applications look bad to customers. Also, for what I am

[appengine-java] Re: Error code 203

2010-10-22 Thread jacek.ambroziak
team. On Oct 22, 10:17 am, jacek.ambroziak jacek.ambroz...@gmail.com wrote: If you see this message frequently, you should contact the App Engine team. (Error code 203) Well, I actually *do* see this message frequently :-( so who do I contact, and what can we do about it? -- You received

[appengine-java] mapreduce cron

2010-10-22 Thread jacek.ambroziak
How to start a MapReduce job as a cron scheduled task? -- 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to

[appengine-java] Re: Query on Many to Many Relation

2010-08-25 Thread jacek.ambroziak
Doesn't your 1st table list all the items tagged with a particular tag? On Aug 22, 3:44 am, Raghu visuma...@gmail.com wrote: Hi All, I just want to reopen the existing challenge. I'm trying hard to think query on 2 tables with m-m relation. Tags{ List Key items;} Item{ List Key tags;

[appengine-java] Re: Reading blobs larger an 1MB

2010-07-26 Thread jacek.ambroziak
You need to read your Blob's content in several chunks that are no larger than the limit. Combining this with XML file compression can also make sense. On Jul 25, 9:07 pm, korey_sed kouro...@gmail.com wrote: I am stumped.  No matter what API call I try to read a large blob, I get the following:

[appengine-java] Re: rename a app-id

2010-07-18 Thread jacek.ambroziak
Not really, but you can delete the app and after it is gone create a new one with the (available) name you want On Jul 18, 12:02 am, aswath satrasala aswath.satras...@gmail.com wrote: Hello, Is there any way I can rename my app-id. -Aswath -- You received this message because you are

[appengine-java] BlobstoreInputStream

2010-05-23 Thread jacek.ambroziak
BlobstoreInputStream is documented in the API but I can't find it in the jars... -- 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 google-appengine-j...@googlegroups.com. To unsubscribe from this

[appengine-java] Re: App Engine SDK 1.3.2 is out!

2010-03-31 Thread jacek.ambroziak
, Ikai Lan i...@google.com wrote: I've reproduced the off-by-one error. Thanks for bringing this up. On Mar 27, 8:32 am, jacek.ambroziak jacek.ambroz...@gmail.com wrote: fetchData is very useful. At the moment its implementation seems to suffer from an off-by-one bug. For instance

[appengine-java] Re: blobstore lucene search index

2009-12-25 Thread jacek.ambroziak
:18 pm, jacek.ambroziak jacek.ambroz...@gmail.com wrote: I have been using a search engine of my own design. I had first to adapt it to GAE by generalizing the index storage mechanism so that it can be *implemented* using files (originally the only way) or with Datastore. It was a good

[appengine-java] Re: blobstore lucene search index

2009-12-25 Thread jacek.ambroziak
:18 pm, jacek.ambroziak jacek.ambroz...@gmail.com wrote: I have been using a search engine of my own design. I had first to adapt it to GAE by generalizing the index storage mechanism so that it can be *implemented* using files (originally the only way) or with Datastore. It was a good

[appengine-java] Re: Cache stops returning results under heavy load

2009-12-24 Thread jacek.ambroziak
I believe I am experiencing a similar issue. I am using two applications with identical (search engine) code servicing searches against indexes stored in Datastore. To speed up access to index blobs I am using memcache. Experimentally, I enabled billing for one of these apps to check if I would

[appengine-java] unable to deploy new versions after upgrade to 1.2.8

2009-12-04 Thread jacek.ambroziak
I am going through all the usual motions and yet the deployment of a new version never finishes successfully; instead I am getting java.lang.RuntimeException: Version not ready. in the /tmp log -- You received this message because you are subscribed to the Google Groups Google App Engine for

[appengine-java] Java heap size

2009-12-02 Thread jacek.ambroziak
My application, an XML search engine, likes to manipulate its index data structures in memory during indexing. Searches are naturally much faster too when index data structures are in the heap. Unfortunately, I started running into OutOfMemory errors while indexing larger numbers of publications,

[appengine-java] image resize transform

2009-11-12 Thread jacek.ambroziak
I am trying to resize JPEG images from 100x100 original to smaller 85x85 size. The transformation apparently works, but the smaller image is LARGER bytes-wise?! An important reason for my making the images smaller is to reduce their data size. The same transformation using ImageMagick's 'convert'