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:
9f16968
)
For phonetic, stem and relevance return no operator
author
Dennis Schafroth
<dennis@indexdata.com>
Wed, 4 Nov 2009 14:42:50 +0000
(15:42 +0100)
committer
Dennis Schafroth
<dennis@indexdata.com>
Wed, 4 Nov 2009 14:42:50 +0000
(15:42 +0100)
Was returning questionmarks
src/rpn2cql.c
patch
|
blob
|
history
diff --git
a/src/rpn2cql.c
b/src/rpn2cql.c
index
1fa9aa3
..
2187838
100644
(file)
--- 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;