X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fextract.c;h=89f072a41d556b2d31331acae269ee4869c0bf40;hb=ce556bc293c5eed60090acaf82cc668d333abd7b;hp=9ba1f0b3917c56f705166095bad9c9647bfe483b;hpb=cec0b36de7a46e326939482e51c65090d77d4faf;p=idzebra-moved-to-github.git diff --git a/index/extract.c b/index/extract.c index 9ba1f0b..89f072a 100644 --- a/index/extract.c +++ b/index/extract.c @@ -1,8 +1,5 @@ -/* $Id: extract.c,v 1.277 2008-01-24 16:15:35 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1995-2008 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -1615,7 +1612,15 @@ static void extract_add_string(RecWord *p, zebra_map_t zm, if (!p->index_name) return; + if (log_level_details) + { + WRBUF w = wrbuf_alloc(); + + wrbuf_write_escaped(w, string, length); + yaz_log(log_level_details, "extract_add_string: %s", wrbuf_cstr(w)); + wrbuf_destroy(w); + } if (zebra_maps_is_index(zm)) { extract_add_index_string(p, zinfo_index_category_index,