Negative Result Count in Search Response


Issue raised by: Ralph Orlik, Library of Congress (rorl@loc.gov) Thu, 10 Feb 2000 15:48:14 -0500
Synopsis:
Is a negative value valid for resultCount in a Search Response? If so, what would it mean? What is the proper client behavior when a negative value is received?

Response:
A negative value for resultCount in a Search Response is invalid and constitutes a protocol violation. A client who receives a negative value of resultCount may issue a Close Request with Close-reason 'protocol error'.

Status: Approved (7/2000)
Library of Congress