X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzebraapi.c;h=48755857c0dbc7151e316063766da3374c8f0a3e;hb=f1a944fbdac20e88bf55918f2a4f66c301d684e2;hp=c2ae1d2498f2ad2c08cc0452e48c40bc6c65b784;hpb=399876019df22a56614e9fda05552574939ccc0d;p=idzebra-moved-to-github.git diff --git a/index/zebraapi.c b/index/zebraapi.c index c2ae1d2..4875585 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2002, Index Data * All rights reserved. * - * $Id: zebraapi.c,v 1.46 2002-02-20 23:07:54 adam Exp $ + * $Id: zebraapi.c,v 1.48 2002-03-20 20:24:29 adam Exp $ */ #include @@ -181,9 +181,9 @@ static int zebra_register_activate (ZebraHandle zh, int rw, int useshadow) } if (rw) { - zs->matchDict = dict_open (zs->bfs, GMATCH_DICT, 50, 1, 0); + zs->matchDict = dict_open (zs->bfs, GMATCH_DICT, 20, 1, 0); } - if (!(zs->dict = dict_open (zs->bfs, FNAME_DICT, 80, rw, 0))) + if (!(zs->dict = dict_open (zs->bfs, FNAME_DICT, 40, rw, 0))) { logf (LOG_WARN, "dict_open"); return -1; @@ -459,6 +459,8 @@ void zebra_search_rpn (ZebraHandle zh, ODR stream, ODR decode, logf(LOG_APP,"SEARCH:%d:",zh->hits); } + + void zebra_records_retrieve (ZebraHandle zh, ODR stream, const char *setname, Z_RecordComposition *comp, oid_value input_format, int num_recs,