-/* $Id: extract.c,v 1.167 2004-11-29 21:55:25 adam Exp $
+/* $Id: extract.c,v 1.170 2004-12-21 21:55:58 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
key.mem[2] = p->section_id;
key.mem[3] = p->seqno;
-#if 1
+#if 0
/* just for debugging .. */
yaz_log(YLOG_LOG, "add: set=%d use=%d "
"record_id=%lld section_id=%lld seqno=%lld",
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);
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);
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,