From ed65d51dc1257ac4bc41d4d72d9695ee489014d0 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 6 Jun 2006 13:07:54 +0000 Subject: [PATCH] Fixed bug #602: Any extra terms appended to a wordlist with a hitcount of 0, gets incorrect term count. Fixed by using rset_kind_and rather than rset_kind_and_forward. --- index/zrpn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index/zrpn.c b/index/zrpn.c index 799ae96..124c9d0 100644 --- a/index/zrpn.c +++ b/index/zrpn.c @@ -1,4 +1,4 @@ -/* $Id: zrpn.c,v 1.141.2.13 2005-05-04 10:41:37 adam Exp $ +/* $Id: zrpn.c,v 1.141.2.14 2006-06-06 13:07:54 adam Exp $ Copyright (C) 1995-2005 Index Data Aps @@ -1615,7 +1615,7 @@ static RSET rpn_search_APT_and_list (ZebraHandle zh, bool_parms.key_size = sizeof(struct it_key); bool_parms.cmp = key_compare_it; bool_parms.log_item = key_logdump_txt; - result = rset_create (rset_kind_and_forward, &bool_parms); + result = rset_create (rset_kind_and, &bool_parms); } return result; } @@ -1858,7 +1858,7 @@ static RSET rpn_search_APT_numeric (ZebraHandle zh, bool_parms.key_size = sizeof(struct it_key); bool_parms.cmp = key_compare_it; bool_parms.log_item = key_logdump_txt; - result = rset_create (rset_kind_and_forward, &bool_parms); + result = rset_create (rset_kind_and, &bool_parms); } return result; } -- 1.7.10.4