projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05f87dc
)
Dont index attributes. Bug #460
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 6 Feb 2006 13:34:13 +0000
(13:34 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 6 Feb 2006 13:34:13 +0000
(13:34 +0000)
recctrl/recgrs.c
patch
|
blob
|
history
diff --git
a/recctrl/recgrs.c
b/recctrl/recgrs.c
index
5cf015b
..
274c130
100644
(file)
--- a/
recctrl/recgrs.c
+++ b/
recctrl/recgrs.c
@@
-1,4
+1,4
@@
-/* $Id: recgrs.c,v 1.105 2005-08-22 08:19:51 adam Exp $
+/* $Id: recgrs.c,v 1.106 2006-02-06 13:34:13 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
@@
-813,8
+813,9
@@
static void index_xpath(struct source_parser *sp, data1_node *n,
p, wrd);
xpdone = 1;
} 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)
{
#if NATTR
wrd->index_name = tl->index_name;