X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzebraapi.c;h=709e291c696549801c373e084dfbb3381f02acbe;hb=1d1da372c86b3070920f6f38bde4ea38a54e2a87;hp=d8857c1a6af731f0a83eb4ecbf8b2a5803655ad6;hpb=b3af54f7bf58db2a5d85b6a54b720bf6c5359c1f;p=idzebra-moved-to-github.git diff --git a/index/zebraapi.c b/index/zebraapi.c index d8857c1..709e291 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -1,4 +1,4 @@ -/* $Id: zebraapi.c,v 1.234 2006-11-21 22:17:49 adam Exp $ +/* $Id: zebraapi.c,v 1.235 2006-11-27 09:17:01 adam Exp $ Copyright (C) 1995-2006 Index Data ApS @@ -1066,9 +1066,12 @@ ZEBRA_RES zebra_records_retrieve(ZebraHandle zh, ODR stream, int len = 0; zebra_snippets *hit_snippet = zebra_snippets_create(); + /* we disable hit snippets for now. It does not work well + and it slows retrieval down a lot */ +#if 0 zebra_snippets_hit_vector(zh, setname, poset[i].sysno, hit_snippet); - +#endif recs[i].errCode = zebra_record_fetch(zh, poset[i].sysno, poset[i].score, hit_snippet,