2 messages in com.googlegroups.google-base-data-apiRe: Query on expiry?
FromSent OnAttachments
Ian mu22 May 2007 05:20 
Jeff S24 May 2007 18:14 
Subject:Re: Query on expiry?
From:Jeff S (j.@google.com)
Date:05/24/2007 06:14:29 PM
List:com.googlegroups.google-base-data-api

Hello Ian,

I don't think that you will be able to query by g:expiration date because it is not indexed. This information can be found here: http://base.google.com/base/api/universalAttributes?verticalLocale=en_US in the list of universal attributes. Since the expiration date attribute is not indexed, it can't be used in queries. Publish date is not a "universal attribute" and it happens to be indexed (I think most attributes are), so you are able to query on that.

Happy coding,

Jeff

On May 22, 5:21 am, "Ian mu" <mu.l@gmail.com> wrote:

Hiya, having similar problem to the published query which now works as "publish date". I'm now trying "expiration date" as
perhttp://base.google.com/base/api/itemTypeDocs?verticalName=jobs&vertic...

So for example...

http://www.google.com/base/feeds/snippets/-/jobs?q=uk&max-results=250...[expirationdate: 2007Z]

(shows in response as 'content' => 'Items matching query: (uk) ([expiration date: 2007Z]) [item type:jobs]')

However whatever I try, I seem to get 0 responses, have also tried with the << comparison, various longer versions of the date like 2007-05-25Z, without the Z etc and nothing.

Is this because its not daterange type and is datetime type ? If so, is there any way to say "all those that expire today", or just not possible ?

Thanks in advance,