projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1df86c9
)
Log normalized terms when indexdetails log level is used
author
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 26 Jan 2008 15:32:51 +0000
(15:32 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 26 Jan 2008 15:32:51 +0000
(15:32 +0000)
index/extract.c
patch
|
blob
|
history
diff --git
a/index/extract.c
b/index/extract.c
index
9ba1f0b
..
eaea175
100644
(file)
--- a/
index/extract.c
+++ b/
index/extract.c
@@
-1,4
+1,4
@@
-/* $Id: extract.c,v 1.277 2008-01-24 16:15:35 adam Exp $
+/* $Id: extract.c,v 1.278 2008-01-26 15:32:51 adam Exp $
Copyright (C) 1995-2007
Index Data ApS
Copyright (C) 1995-2007
Index Data ApS
@@
-1615,7
+1615,15
@@
static void extract_add_string(RecWord *p, zebra_map_t zm,
if (!p->index_name)
return;
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,
if (zebra_maps_is_index(zm))
{
extract_add_index_string(p, zinfo_index_category_index,