X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Frpn2solr.c;h=5047d4b1545016970360078abd08595e9e7093f1;hp=c72b11a467b6aba148be15e5baecbe4dc1bea7a3;hb=3ae80066499b6ec541c8f474654668f65f0f1c3c;hpb=30257fdfae108b95848ef0ccbc4cac09466a60d8 diff --git a/src/rpn2solr.c b/src/rpn2solr.c index c72b11a..5047d4b 100644 --- a/src/rpn2solr.c +++ b/src/rpn2solr.c @@ -69,15 +69,15 @@ static const char *lookup_relation_index_from_attr(Z_AttributeList *attributes) { /* Unsure on whether this is the relation attribute constants? */ case Z_ProximityOperator_Prox_lessThan: - return 0; + return "<"; case Z_ProximityOperator_Prox_lessThanOrEqual: - return 0; + return "le"; case Z_ProximityOperator_Prox_equal: return ":"; case Z_ProximityOperator_Prox_greaterThanOrEqual: - return 0; + return "ge"; case Z_ProximityOperator_Prox_greaterThan: - return 0; + return ">"; case Z_ProximityOperator_Prox_notEqual: return 0; case 100: