X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Frpn2solr.c;h=4a2c5e42c4e2286d2d44069e915badd662441105;hp=c7dff4568b717a7456468160d1a4e9104946edf4;hb=9bca108ddbc555efaffb85dda76581eaeed44b4e;hpb=1f5e4f24c6e51d741e15317348bc7aef05fcc7ab diff --git a/src/rpn2solr.c b/src/rpn2solr.c index c7dff45..4a2c5e4 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: