Changed cql2pqf transformation to use a different evaluation order.
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 5 Jul 2006 14:50:16 +0000 (14:50 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 5 Jul 2006 14:50:16 +0000 (14:50 +0000)
commit8396cd72b6ca7b7154c1df50492fc0dfd004aad5
tree5964632392df5252c5bfdd7f1f9994430622daf6
parent18f92d330bb581f4d216346dbb73e2b642e720f9
Changed cql2pqf transformation to use a different evaluation order.
The new order is: always, relation, structure, position, truncation,
index and relationModifier.
Old order was: always, relation, relationModifier, structure, index,
position, truncation. Note that the the latter ones override
former ones for identical attributes.. The new scheme means that
it is possible to override any existing attribute with a relationModifier.
And also that it is possible to override everything for the index
rule (except the ones listed in relationModifier). No order is perfect
but this one, we believe, covers more real cases.. The "always" should
have been called "default", since the attributes there can be overridden
with all the rest.
src/cqltransform.c