On Tue, May 21, 2002 at 10:00:06AM +0200, Theo van Veen wrote:
> Wasn't it the idea in CQL to specify completeness and structure in
> CQL (like truncation) instead of using predefined index names? For
> example, putting phrases between quotes to distinguish them from
> words. Maybe I have missed something.
This was an early proposal, but I remember discussion moving away
from it because of problems quotes might be required for other reasons,
so why does it change the meaning of the value. Then there is the
issue of 'what is a word'? A CQL parser should not be responsible
for working out what words are (because it wont know the punctuation
rules a server knows).
For example, how do I search for the word 'and'? I have to quote it.
So having quotes change completeness means that I no longer have
full control on completeness if I want to search for something
with the word 'and' in it.
So yes, it was an early proposal, but I recall moving away from it.
It *might* have also been part of the 'why make things different to
CCL unless there is a good reason to do so'. CCL does not treat it
differently - quotes are just used to escape characters and words
with special meaning.