X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=util%2Fzebramap.c;h=8fe80416df4d7569c04e39f9c568281c73e7952e;hb=988d4b71d4f60465198a51a0f43d166815541040;hp=a925c7909fca2cdd26aea1ceae9ae8bc8000f589;hpb=3d01abbe1238c82d62e4c01eb7cac760d3d53377;p=idzebra-moved-to-github.git diff --git a/util/zebramap.c b/util/zebramap.c index a925c79..8fe8041 100644 --- a/util/zebramap.c +++ b/util/zebramap.c @@ -4,7 +4,13 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: zebramap.c,v $ - * Revision 1.1 1997-10-27 14:33:06 adam + * Revision 1.3 1997-11-17 15:35:26 adam + * Bug fix. Relation=relevance wasn't observed. + * + * Revision 1.2 1997/10/31 12:39:30 adam + * Changed log message. + * + * Revision 1.1 1997/10/27 14:33:06 adam * Moved towards generic character mapping depending on "structure" * field in abstract syntax file. Fixed a few memory leaks. Fixed * bug with negative integers when doing searches with relational @@ -91,7 +97,7 @@ chrmaptab zebra_map_get (ZebraMaps zms, int reg_type) if (!(zm->maptab = chrmaptab_create (zms->tabpath, name, 0))) logf(LOG_WARN, "Failed to read character table %s", name); else - logf(LOG_LOG, "Read table %s", name); + logf(LOG_DEBUG, "Read character table %s", name); return zm->maptab; } @@ -220,6 +226,7 @@ int zebra_maps_attr (ZebraMaps zms, Z_AttributesPlusTerm *zapt, completeness_value = attr_find (&completeness, NULL); structure_value = attr_find (&structure, NULL); + relation_value = attr_find (&relation, NULL); if (completeness_value == 2 || completeness_value == 3) *complete_flag = 1;