projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Several updates for the changes of hit count datatype from int
[idzebra-moved-to-github.git]
/
recctrl
/
rectext.c
diff --git
a/recctrl/rectext.c
b/recctrl/rectext.c
index
aac5eec
..
3b14203
100644
(file)
--- a/
recctrl/rectext.c
+++ b/
recctrl/rectext.c
@@
-1,6
+1,6
@@
-/* $Id: rectext.c,v 1.21 2004-09-28 10:15:03 adam Exp $
- Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
- Index Data Aps
+/* $Id: rectext.c,v 1.24 2005-03-05 09:19:16 adam Exp $
+ Copyright (C) 1995-2005
+ Index Data ApS
This file is part of the Zebra server.
This file is part of the Zebra server.
@@
-105,7
+105,7
@@
static int text_extract (void *clientData, struct recExtractCtrl *p)
struct buf_info *fi = buf_open (p);
#if 0
struct buf_info *fi = buf_open (p);
#if 0
- yaz_log(LOG_LOG, "text_extract off=%ld",
+ yaz_log(YLOG_LOG, "text_extract off=%ld",
(long) (*fi->p->tellf)(fi->p->fh));
#endif
xfree(tinfo->sep);
(long) (*fi->p->tellf)(fi->p->fh));
#endif
xfree(tinfo->sep);
@@
-124,8
+124,8
@@
static int text_extract (void *clientData, struct recExtractCtrl *p)
}
if (i)
{
}
if (i)
{
- recWord.string = w;
- recWord.length = i;
+ recWord.term_buf = w;
+ recWord.term_len = i;
(*p->tokenAdd)(&recWord);
}
} while (r > 0);
(*p->tokenAdd)(&recWord);
}
} while (r > 0);