X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=index%2Fretrieve.c;h=08257c4632e7917b0307cd60a6e6a026ef375e89;hb=11de0965b256736f01e55b17a603eb9ebad5ec12;hp=5cd2ec56dc074c02f42e3b6b22d0eb705b287c7d;hpb=47eeb5384a8fae8bcac8afb8a84782ca094683f9;p=idzebra-moved-to-github.git diff --git a/index/retrieve.c b/index/retrieve.c index 5cd2ec5..08257c4 100644 --- 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.35 2005-08-26 10:13:31 adam Exp $ 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); - +#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); - +#endif 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); - +#endif (*rt->retrieve)(clientData, &retrieveCtrl); zebra_snippets_destroy(snippet);