X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=recctrl%2Frecgrs.c;h=d71664a9c2bebe376e4a9688b3b2eed475e54683;hb=f6c05cf476d9cef2c45af327da02c31f09863d70;hp=fff54b8955f2dc26aff8b7f154b56cdb133ef4f4;hpb=56d7f1d51637c9340ae8a14d8b721d4411a6c96a;p=idzebra-moved-to-github.git 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;