>> 1: A way to match every single record
> I suggest cql.alwaysMatches="*" as one simple implementation will cause
> the creation of a real index with some canned value and we can't predict
> what that value might be. So, a wildcard is the best way to find it.
Actually, do we even need the alwaysMatches index? We can do this with:
cql.anyField = "*"
Of course, an implementation that didn't know that people might send this
to match everything could throw a fit.
>> 2: A way to match every record that has a value for a given index
> I definitely prefer cql.<whateverIndex>="*"
> But, it strikes me that that solution assumes I've extracted keywords
> from that index. What if it is a string index? Will we require that
> they use cql.<whateverIndex> exact "*"?
> I'm not offended by this, I'm just looking for clarification. It is
> definitely the case that I will fail the equals query if I only support
> exact searches for that index.
You could of course put in a specific check for "*" terms, but otherwise I
don't see any significant problem as this is hardly a query that's going
to be used frequently, and you'll see straight away that the query failed
,'/:. Dr Robert Sanderson ([log in to unmask])
,'--/::(@)::. Dept. of Computer Science, Room 805
,'---/::::::::::. University of Liverpool
____/:::::::::::::. L5R Shop: http://www.cardsnotwords.com/
I L L U M I N A T I