projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3177bd5
)
Fix return correct relation when not using configuration file
author
Dennis Schafroth
<dennis@indexdata.com>
Wed, 11 Sep 2013 12:14:49 +0000
(14:14 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Wed, 11 Sep 2013 12:14:49 +0000
(14:14 +0200)
src/rpn2solr.c
patch
|
blob
|
history
diff --git
a/src/rpn2solr.c
b/src/rpn2solr.c
index
221e64b
..
7fe0797
100644
(file)
--- 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: