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
Allow 'index' setting value 'none' for no index types.
[idzebra-moved-to-github.git]
/
index
/
kinput.c
diff --git
a/index/kinput.c
b/index/kinput.c
index
57dab07
..
9101fa7
100644
(file)
--- a/
index/kinput.c
+++ b/
index/kinput.c
@@
-1,4
+1,4
@@
-/* $Id: kinput.c,v 1.84 2007-10-29 09:25:40 adam Exp $
+/* $Id: kinput.c,v 1.86 2007-10-31 16:56:14 adam Exp $
Copyright (C) 1995-2007
Index Data ApS
Copyright (C) 1995-2007
Index Data ApS
@@
-378,7
+378,7
@@
void zebra_log_dict_entry(ZebraHandle zh, const char *s)
char dst[IT_MAX_WORD+1];
int ord;
int len = key_SU_decode(&ord, (const unsigned char *) s);
char dst[IT_MAX_WORD+1];
int ord;
int len = key_SU_decode(&ord, (const unsigned char *) s);
- int index_type;
+ const char *index_type;
if (!zh)
yaz_log(YLOG_LOG, "ord=%d", ord);
if (!zh)
yaz_log(YLOG_LOG, "ord=%d", ord);
@@
-391,7
+391,7
@@
void zebra_log_dict_entry(ZebraHandle zh, const char *s)
zebra_term_untrans(zh, index_type, dst, s + len);
zebra_term_untrans(zh, index_type, dst, s + len);
- yaz_log(YLOG_LOG, "ord=%d index_type=%c index=%s term=%s",
+ yaz_log(YLOG_LOG, "ord=%d index_type=%s index=%s term=%s",
ord, index_type, string_index, dst);
}
}
ord, index_type, string_index, dst);
}
}