On Dec 22, 2004, at 2:29 PM, Summers, Ed wrote:
> I've noticed that the cql-java implementation tosses an exception if I
> to parse:
> foo bar
> Exception in thread "main" org.z3950.zing.cql.CQLParseException:
> first-class relation: bar
> I just wanted to confirm that an unquoted sequence of terms is indeed
> invalid CQL.
Yep, but I'm not really sure the query, foo bar, really is invalid.
According to the Gentle Introduction to CQL:
In general, multi-word terms are interpreted as requesting
records in which a single field contains all the specified
words, in the specified order, with no other words in
between. This is a proximity search. But see the section
below on relations for exceptions.
I posted a (long) message to the list for verification.