I can live with this suggestion.
Ralph
> -----Original Message-----
> From: Mike Taylor [mailto:[log in to unmask]]
> Sent: Wednesday, October 16, 2002 9:41 AM
> To: [log in to unmask]
> Subject: Qualifiers at higher level
>
>
> Thanks again for everyone's patience. Here, then, is what I think is
> my last significant beef with CQL as it has been defined over the last
> few weeks.
>
> A user who can search for:
>
> dc.title="unix" or dc.title="windows"
>
> will expect to be able to abbreviate that to:
>
> dc.title=("unix" or "windows")
>
> I think that's a perfectly legitimate and reasonable expectation; and
> that it in no way compromises the unambiguity of the query language if
> we allow it.
>
> I suggest, then, that we further change the grammar from:
>
> search-clause ::= [index-name relation] term
>
> to something like:
>
> search-clause ::= [index-name relation] operand
> operand ::= term | "(" query ")"
>
> And in the case that the user provides a search of the form
>
> index-name relation "(" query ")"
>
> then the specified <index-name> and <relation> are understood to apply
> to all the terms inside <query> except where overridden.
>
> Thanks for listening.
>
> _/|_
> _______________________________________________________________
> /o ) \/ Mike Taylor <[log in to unmask]>
> www.miketaylor.org.uk
> )_v__/\ I don't know the answer to your question, but I would like
> to point out that The Marsupial Bolide Homing Devices would
> be a great name for a rock band.
>
|