-/* $Id: index.h,v 1.178 2006-09-21 20:22:34 adam Exp $
+/* $Id: index.h,v 1.179 2006-10-12 12:28:42 adam Exp $
Copyright (C) 1995-2006
Index Data ApS
#define FIRST_IN_FIELD_STR "\001^"
+#define FIRST_IN_FIELD_CHAR 1
#define FIRST_IN_FIELD_LEN 2
YAZ_END_CDECL
-/* $Id: rpnsearch.c,v 1.1 2006-09-21 08:56:52 adam Exp $
+/* $Id: rpnsearch.c,v 1.2 2006-10-12 12:28:42 adam Exp $
Copyright (C) 1995-2006
Index Data ApS
*term_tmp++ = '[';
*term_tmp++ = '^';
+
+ *term_tmp++ = 1;
+ *term_tmp++ = FIRST_IN_FIELD_CHAR;
+
string_rel_add_char(&term_tmp, term_component, &i);
*term_tmp++ = '-';
}
*term_tmp++ = ')';
*term_tmp = '\0';
+ yaz_log(YLOG_LOG, "term_dict=%s", term_dict);
break;
case 2:
if (!term_100(zh->reg->zebra_maps, reg_type,
*term_tmp++ = '[';
*term_tmp++ = '^';
+
+ *term_tmp++ = 1;
+ *term_tmp++ = FIRST_IN_FIELD_CHAR;
+
string_rel_add_char(&term_tmp, term_component, &i);
*term_tmp++ = '-';