14 messages in com.googlegroups.google-calendar-help-dataapiRe: Issue about max-results in query
FromSent OnAttachments
Jacky.S02 Jul 2007 19:15 
Jacob Basham02 Jul 2007 19:58 
Ray Baxter03 Jul 2007 00:08 
Ray Baxter03 Jul 2007 00:30 
Jacky.S03 Jul 2007 00:38 
Jacky.S03 Jul 2007 00:46 
Jacob Basham03 Jul 2007 06:49 
Jacky.S03 Jul 2007 18:52 
Jacky.S03 Jul 2007 23:10 
Jacob Basham04 Jul 2007 00:07 
Jacky.S10 Jul 2007 00:45 
Lane LiaBraaten (Google)10 Jul 2007 06:48 
Jacky.S16 Jul 2007 23:18 
Lane LiaBraaten (Google)24 Jul 2007 13:40 
Subject:Re: Issue about max-results in query
From:Jacky.S (Jack@gmail.com)
Date:07/03/2007 12:38:21 AM
List:com.googlegroups.google-calendar-help-dataapi

Hi Jacob,

If the recurring event contains no until information, how to calculate the amount of MAX result ? And I've already set the MAX value to be 1000, which took time while querying from Google server via network. However, to do the synchronization, I've to have my app done this query times by times, which would be a very time issue.

Thanks,

Jacky.S

On 7月3日, 上午10时59分, Jacob Basham <jaco@gmail.com> wrote:

Use the recurring event data to calculate how many times the event happens between the curent date and the date the event occurs until. If the number is over 1000, add the max query amount to that number.

On Jul 2, 2007, at 9:16 PM, "Jacky.S" <Jack@gmail.com> wrote:

Hi,

May I have a question?

How to query schedule when schedule's count is more than the MAX of max-result?

To synchronized schedule with Google Calendar, I tried to query some updated recurrent entities by setting "singleevents=true" and I set "max-result" is 1000. But because of "single recurrent event", the count of entities may be easily exceed 1000. So there would always be some updated events that can't be queried.

However, I can temporarily sovle this problem by resetting "max- result" value to a larger one. But I can't guarantee that if the count of schedule that is going to be queried would still be more than the value of max-result or even more than the MAX value of max-result.

Anyone can help me?

Thanks,

Jacky.S- 隐藏被引用文字 -

- 显示引用的文字 -