X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzebraapi.c;h=631aaff1eea77bbb642a93e27d19ffd6616c1304;hb=3f2d76448b61a6ee23a7079ef5274fcae73e7237;hp=28886ff99e95d4c332613d0967e0db302010702d;hpb=b5f030af4f75ee89f6199999132b371a87a29c98;p=idzebra-moved-to-github.git diff --git a/index/zebraapi.c b/index/zebraapi.c index 28886ff..631aaff 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1995-2008 Index Data + Copyright (C) 1994-2009 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -407,6 +407,7 @@ struct zebra_register *zebra_register_open(ZebraService zs, const char *name, /* installing rank classes */ zebraRankInstall(reg, rank_1_class); + zebraRankInstall(reg, rank_2_class); zebraRankInstall(reg, rank_similarity_class); zebraRankInstall(reg, rank_static_class); @@ -1453,7 +1454,6 @@ int delete_w_all_handle(const char *info, void *handle) while (isamb_pp_read(pt, &key)) { Record rec; - yaz_log(YLOG_LOG, "SYSNO=" ZINT_FORMAT, key.mem[0]); rec = rec_get(zh->reg->records, key.mem[0]); rec_del(zh->reg->records, &rec); } @@ -2302,7 +2302,6 @@ ZEBRA_RES zebra_update_record(ZebraHandle zh, return ZEBRA_FAIL; res = zebra_buffer_extract_record(zh, buf, buf_size, action, - 0, /* test_mode */ recordType, sysno, match, @@ -2454,6 +2453,7 @@ void zebra_lock_prefix(Res res, char *path) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab