X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzebraapi.c;h=b293fc22ee1f775f3b6d3ead5a5cefcb8d8ce158;hb=53f91ef0ea7d588a26e90bf87ad46bdb84938d6f;hp=33980ce9db4c9f4a95b8d4a99249349aaa492f8c;hpb=fc83d98d346711f446d9f9a29cc2ff0eee398053;p=idzebra-moved-to-github.git diff --git a/index/zebraapi.c b/index/zebraapi.c index 33980ce..b293fc2 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -1,4 +1,4 @@ -/* $Id: zebraapi.c,v 1.219 2006-05-30 13:21:16 adam Exp $ +/* $Id: zebraapi.c,v 1.221 2006-06-12 09:39:18 marc Exp $ Copyright (C) 1995-2006 Index Data ApS @@ -383,7 +383,6 @@ struct zebra_register *zebra_register_open(ZebraService zs, const char *name, /* installing rank classes */ zebraRankInstall (reg, rank_1_class); - zebraRankInstall (reg, rank_zv_class); zebraRankInstall (reg, rank_similarity_class); zebraRankInstall (reg, rank_static_class); @@ -1901,10 +1900,10 @@ ZEBRA_RES zebra_end_transaction (ZebraHandle zh, ZebraTransactionStatus *status) zh->records_processed, zh->records_inserted, zh->records_updated, zh->records_deleted); - status->processed = (int) zh->records_processed; - status->inserted = (int) zh->records_inserted; - status->updated = (int) zh->records_updated; - status->deleted = (int) zh->records_deleted; + status->processed = zh->records_processed; + status->inserted = zh->records_inserted; + status->updated = zh->records_updated; + status->deleted = zh->records_deleted; zebra_get_state (zh, &val, &seqno); if (val != 'd')