From e5ae7bef1ef7d79a07a89f329e6b603d40a44c7f Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Wed, 4 Nov 2009 15:42:50 +0100 Subject: [PATCH] For phonetic, stem and relevance return no operator Was returning questionmarks --- src/rpn2cql.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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; -- 1.7.10.4