Changed behavior of dict_lookup_grep so that it returns value of function
[idzebra-moved-to-github.git] / util / zebramap.c
index fa1d499..7dc5d0f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: zebramap.c,v 1.50 2006-06-22 09:48:09 adam Exp $
+/* $Id: zebramap.c,v 1.52 2006-08-15 14:28:35 adam Exp $
    Copyright (C) 1995-2006
    Index Data ApS
 
@@ -28,7 +28,7 @@
 #include <attrfind.h>
 #include <yaz/yaz-util.h>
 
-#include <idzebra/zebramap.h>
+#include <zebramap.h>
 
 #define ZEBRA_MAP_TYPE_SORT  1
 #define ZEBRA_MAP_TYPE_INDEX 2
@@ -408,12 +408,6 @@ int zebra_maps_attr(ZebraMaps zms, Z_AttributesPlusTerm *zapt,
             weight_value = 34;
         sprintf(rank_type, "rank,w=%d,u=%d", weight_value, use_value);
     }
-    if (relation_value == 103)
-    {
-        *search_type = "always";
-       *reg_id = 'w';
-        return 0;
-    }
     if (*complete_flag)
        *reg_id = 'p';
     else