X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=index%2Fextract.c;h=094764b1e4479dba4d989980d0efc7191c07eb6b;hb=a34c87ac6c08ec62534e4068a5bd1fac93df8abe;hp=36c3eb968bcea65131766f0802e2e1169c295c8f;hpb=39cb125e7755c6058a93dada8d5172804213cf8e;p=idzebra-moved-to-github.git diff --git a/index/extract.c b/index/extract.c index 36c3eb9..094764b 100644 --- a/index/extract.c +++ b/index/extract.c @@ -1,4 +1,4 @@ -/* $Id: extract.c,v 1.167 2004-11-29 21:55:25 adam Exp $ +/* $Id: extract.c,v 1.169 2004-12-02 14:05:03 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -1516,6 +1516,8 @@ static void extract_add_incomplete_field (RecWord *p) const char *b = p->string; int remain = p->length; const char **map = 0; + + yaz_log(YLOG_DEBUG, "Incomplete field, w='%.*s'", p->length, p->string); if (remain > 0) map = zebra_maps_input(p->zebra_maps, p->reg_type, &b, remain, 0); @@ -1564,7 +1566,7 @@ static void extract_add_complete_field (RecWord *p) int i = 0, remain = p->length; int first; /* first position */ -yaz_log(YLOG_DEBUG, "Complete field, w='%.*s'", p->length, p->string); + yaz_log(YLOG_DEBUG, "Complete field, w='%.*s'", p->length, p->string); if (remain > 0) map = zebra_maps_input (p->zebra_maps, p->reg_type, &b, remain, 1); @@ -1622,7 +1624,7 @@ yaz_log(YLOG_DEBUG, "Complete field, w='%.*s'", p->length, p->string); void extract_token_add (RecWord *p) { WRBUF wrbuf; -#if 1 +#if 0 yaz_log (YLOG_LOG, "token_add " "reg_type=%c attrSet=%d attrUse=%d seqno=%d s=%.*s", p->reg_type, p->attrSet, p->attrUse, p->seqno, p->length,