On Wed, 30 Jun 2004, LeVan,Ralph wrote:
>> From: Robert Sanderson [mailto:[log in to unmask]]
>> So, if you request 500 terms and position 501, the server can only return
>> 50, you'll get the 50 immediately before your term, as expected.
> Maybe. Or maybe the server backs up 500 terms from the term you ask for and
> starts loading a buffer and runs out of room after 50. You get terms 450
> away from the one you wanted.
> I think the answer to all this is that error states are implementation
> dependent. Is this a real problem that you've run into?
Not yet, but I was tinkering with my servers' implementations of scan and
wanted to know what the correct response would be. And (if everyone
agrees with Ralph) this should probably be noted in the documentation.
Currently our only scan diagnostic is Reponse position out of range.
Surely we should also have 'Too many terms requested', details: maximum
number of terms.
,'/:. Dr Robert Sanderson ([log in to unmask])
,'--/::(@)::. Special Collections and Archives, extension 3142
,'---/::::::::::. University of Liverpool
I L L U M I N A T I L5R Shop: http://www.cardsnotwords.com/