{
/* Only support for numeric relation */
Odr_int *relation = ae->value.numeric;
- /* map this numeric to represetation in cql */
+ /* map this numeric to representation in CQL */
switch (*relation) {
- /* Unsure on whether this is the relation attribute
- const? */
+ /* Unsure on whether this is the relation attribute constants? */
case Z_ProximityOperator_Prox_lessThan:
return "<";
case Z_ProximityOperator_Prox_lessThanOrEqual:
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;
if (!index)
index = lookup_index_from_string_attr(attributes);
- /* Attempt to fix bug #2978): Look for a relation attribute */
+ /* Attempt to fix bug #2978: Look for a relation attribute */
if (!relation)
relation = lookup_relation_index_from_attr(attributes);