> Suppose I send a query "title = frogs" and in the
> response there's result set id RS, with idle time
> 10 minutes.
> Then I send another query, let's say it's the
> same, "title = frogs", and I get back the same
> result set name, RS, perhaps with idle time 15
> minutes.
My understanding:
Using the same authenticationToken, this would be the server misbehaving
(it shouldn't ever reuse result sets, with the exception of 'present')
and if it doesn't support result sets it needs to say so by never giving
you a resultset id.
If there's no authenticationToken:
If this is before the idle time out of the original result set, this is
maybe misbehaving as it probably shouldn't reuse the resultset while the
previous one is /possibly/ still around.
If this is after the idle time out, then it's okay.
> I don't think we nailed this down at the meeting.
> Is this a new result set, though with the same
> name, perhaps because the server only supports one
> result set?
It's a new resultset.
> server doesn't put a result set id in the response
> unless it's new. Of course this means the server
> can't update the idle time.
Resultset ids can be returned in the 'present' special case.
So the NOOP is resultsetid="RS", without sorting and requesting 0 records.
This allows the resultset to have a new idle timeout.
My notes have:
resultsetid=foo AND resultsetid=bar (query, new result set created)
resultsetid=foo AND title=bar (query, new result set created)
resultsetid=foo (with a sort spec) (sort request, new result set created)
resultsetid=foo (Special Case of Present, no new
result set)
(Server will only reuse a resultSetId within a single session in the
special case of the query 'resultsetid=STRING')
Resultsets are ALWAYS static -- even in the special case of present the
result set does not change, only the same records exist in the same order.
Resultsetid in response is optional. If the server returns a resultsetid,
then it guarantees that it is static.
Rob
--
,'/:. Rob Sanderson ([log in to unmask])
,'-/::::. http://www.o-r-g.org/~azaroth/
,'--/::(@)::. Special Collections and Archives, extension 3142
,'---/::::::::::. Twin Cathedrals: telnet: liverpool.o-r-g.org 7777
____/:::::::::::::. WWW: http://liverpool.o-r-g.org:8000/
I L L U M I N A T I
|