On Wed, Sep 04, 2002 at 11:09:17AM -0400, Ray Denenberg wrote:
> Ok since I got this before posting, I'll suggest | instead of **.
I like '|' instead of '**' too. But a different question if I may which
more relates to first-in-field vs anywhere-in-field sort of queries.
If I understand things, to find an exact title I would use:
Title="How to make money"
To do first-words-in-field I would say
Title="How to make money|"
To do words-anywhere-in-field I would say
Title="|How to make money|"
But I would assume the following probably would not be supported by
most people (I cannot turn it into an attribute list).
Title="|How to make money"
That is 'last words in field'. So it may be legal in CQL, but an
implementation may choose to say 'sorry, I cannot do that!'.
Also, in the spec you posted, it said '|' was one or more words. Should this
be zero or more words? Otherwise the following means words in title anywhere
EXCEPT the first position or last position.
Title="|How to make money|"
If its zero or more words, it makes more sense doesn't it? Or is the goal
to have a minimum distance between words so that the following query means
"How" and "money" must not be adjacent.
Title="|How|money|"
Thanks!
Alan
|