Re: 2 simple questions (?)

> Date: Tue, 19 Feb 2002 11:35:42 +0100
> From: Pieter Van Lierop <pvanlierop@geac.fr>
> 
> 2. what is correct server behavior in a boolean operation when one
> part of the operation results in a diagnostic?
> Example:
> search 1003 jones = 40 hits
> OR
> search 1004 jones = Unsupported Use attribute.

The operation has failed, then: the server couldn't execute the
search.

> Should the server reply with a non-surrogate diagnostic saying
> Unsupported Use Attribute or should it say: 40 records found.

Absolutely the former!  Consider this example

	search 1003 veryUnusualWord = 0 hits
	OR
	search 1004 veryCommonWord = Unsupported Use attribute

You wouldn't want your server to tell the user that there are no hits
on either term, would you?  Probably there are loads of veryCommonWord
hits, but you need to sort your attribute out.

 _/|_	 _______________________________________________________________
/o ) \/  Mike Taylor   <mike@miketaylor.org.uk>   www.miketaylor.org.uk
)_v__/\  "They paved paradise and put up a parking lot" -- Joni
	 Mitchell, "Big Yellow Taxi"

Received on Tuesday, 19 February 2002 09:36:02 UTC