From f6c05cf476d9cef2c45af327da02c31f09863d70 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 6 Feb 2006 13:34:00 +0000 Subject: [PATCH] Dont index attributes. Bug #460 --- recctrl/recgrs.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/recctrl/recgrs.c b/recctrl/recgrs.c index fff54b8..d71664a 100644 --- a/recctrl/recgrs.c +++ b/recctrl/recgrs.c @@ -1,4 +1,4 @@ -/* $Id: recgrs.c,v 1.86.2.6 2005-11-23 14:26:05 adam Exp $ +/* $Id: recgrs.c,v 1.86.2.7 2006-02-06 13:34:00 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003 Index Data Aps @@ -806,8 +806,9 @@ static void index_xpath (data1_node *n, struct recExtractCtrl *p, } else { - /* add attribute based index for the attribute */ - if (xp->value) { + /* if this fragment is enabled, we index + attribute values as well. See bug #460 */ + if (0 && xp->value) { wrd->attrSet = (int) (tl->att->parent->reference); wrd->attrUse = tl->att->locals->local; -- 1.7.10.4