From: Dennis Schafroth Date: Wed, 4 Nov 2009 14:42:50 +0000 (+0100) Subject: For phonetic, stem and relevance return no operator X-Git-Tag: v3.0.51~20 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=e5ae7bef1ef7d79a07a89f329e6b603d40a44c7f For phonetic, stem and relevance return no operator Was returning questionmarks --- diff --git a/src/rpn2cql.c b/src/rpn2cql.c index 1fa9aa3..2187838 100644 --- a/src/rpn2cql.c +++ b/src/rpn2cql.c @@ -75,18 +75,18 @@ static const char *lookup_relation_index_from_attr(Z_AttributeList *attributes) return ">"; case Z_ProximityOperator_Prox_notEqual: return "<>"; - - /* phonetic */ + case 100: - return "??"; + /* phonetic is not supported in CQL */ + return 0; - /* stem */ case 101: - return "??"; + /* stem is not supported in CQL */ + return 0; - /* relevance */ case 102: - return "??"; + /* relevance is not supported in CQL ?*/ + return 0; otherwise: /* Invalid relation */ return 0;