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:
81dba20
)
Remove snippet log stuff
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 19 Aug 2005 13:11:54 +0000
(13:11 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 19 Aug 2005 13:11:54 +0000
(13:11 +0000)
index/retrieve.c
patch
|
blob
|
history
diff --git
a/index/retrieve.c
b/index/retrieve.c
index
5cd2ec5
..
e7de635
100644
(file)
--- a/
index/retrieve.c
+++ b/
index/retrieve.c
@@
-1,4
+1,4
@@
-/* $Id: retrieve.c,v 1.32 2005-06-14 20:28:54 adam Exp $
+/* $Id: retrieve.c,v 1.33 2005-08-19 13:11:54 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-226,19
+226,21
@@
int zebra_record_fetch (ZebraHandle zh, SYSNO sysno, int score,
zebra_snippets_rec_keys(zh, &reckeys, retrieveCtrl.doc_snippet);
zebra_snippets_rec_keys(zh, &reckeys, retrieveCtrl.doc_snippet);
-
+#if 0
+ /* for debugging purposes */
yaz_log(YLOG_LOG, "DOC SNIPPET:");
zebra_snippets_log(retrieveCtrl.doc_snippet, YLOG_LOG);
yaz_log(YLOG_LOG, "HIT SNIPPET:");
zebra_snippets_log(retrieveCtrl.hit_snippet, YLOG_LOG);
yaz_log(YLOG_LOG, "DOC SNIPPET:");
zebra_snippets_log(retrieveCtrl.doc_snippet, YLOG_LOG);
yaz_log(YLOG_LOG, "HIT SNIPPET:");
zebra_snippets_log(retrieveCtrl.hit_snippet, YLOG_LOG);
-
+#endif
snippet = zebra_snippets_window(retrieveCtrl.doc_snippet,
retrieveCtrl.hit_snippet,
10);
snippet = zebra_snippets_window(retrieveCtrl.doc_snippet,
retrieveCtrl.hit_snippet,
10);
-
+#if 0
+ /* for debugging purposes */
yaz_log(YLOG_LOG, "WINDOW SNIPPET:");
zebra_snippets_log(snippet, YLOG_LOG);
yaz_log(YLOG_LOG, "WINDOW SNIPPET:");
zebra_snippets_log(snippet, YLOG_LOG);
-
+#endif
(*rt->retrieve)(clientData, &retrieveCtrl);
zebra_snippets_destroy(snippet);
(*rt->retrieve)(clientData, &retrieveCtrl);
zebra_snippets_destroy(snippet);