>> I think what you want is:
>> a prox/unit=element/distace=0 b
>> for WHEN
> Hmm, I guess you're right. I knew I was abusing the prox boolean
> anyway.. I'll add adlib.when and adlib.whennot modifiers to the 'and'
> boolean, that's a better solution I guess.
It's certainly better than incorrectly implementing prox, yes. However
what would be best is if we could decide how best to make CQL provide a
sensible mapping for your operator.
>> So adlib.allIndexes will search all indexes in the adlib context-set,
> yes?
> Yep, the adlib context set being all indexes defined for the configured
> database.
Errr, no. To clarify: The adlib context-set contains only the bits that
you would prefix with adlib. in the CQL.
So for example, adlib.allIndexes would NOT search dc.title or net.host,
but would search adlib.foo and adlib.bar
>>> but then I'd have to throw an error message on every query
>>> that makes me imply cql.string where the index is actually word, and
>> That's exactly what it should do.
> This seems a bit strange from an Adlib standpoint, which has no 'exact'
> operator or word/string modifiers. It interprets search terms based on
> the index type. If CQL works differently, I'll just have to get used to
> that :-)
We did originally debate having magical index names to determine this sort
of thing, eg title (string) vs titleWord (word) but decided (I believe
correctly) that that was simply not the right way to go.
>> You can include a configInfo section within the index, and give the
> relations and/or relation modifiers
> Hey that's new to me! I found one (1) paragraph mentioning this in the
> DTD explanation document after re-reading it. Maybe you could add at
> least an example making this feature a bit more clear?
"Each index can also have its own configInfo section, as described below.
In this case, the information applies only to this index. This would be
used, for example, to say that a particular index supports something which
the rest did not."
That's the paragraph, I assume, and it's not what one might call
comprehensive, is it? :) I'll send Mike a revision.
> Merry Christmas & happy holidays everyone!
And to you :)
Rob
,'/:. Dr Robert Sanderson ([log in to unmask])
,'-/::::. http://www.o-r-g.org/~azaroth/
,'--/::(@)::. 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
|