From: Adam Dickmeiss Date: Mon, 6 Feb 2006 13:34:00 +0000 (+0000) Subject: Dont index attributes. Bug #460 X-Git-Tag: ZEBRA.1.3.34~12 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=f6c05cf476d9cef2c45af327da02c31f09863d70;p=idzebra-moved-to-github.git Dont index attributes. Bug #460 --- 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;