-/* $Id: trunc.c,v 1.59 2005-06-06 21:31:08 adam Exp $
+/* $Id: trunc.c,v 1.61 2005-06-22 19:42:38 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
const char *term, int length, const char *flags,
int preserve_position, int term_type, NMEM rset_nmem,
struct rset_key_control *kctrl, int scope,
- struct ord_list *ol)
+ struct ord_list *ol, int reg_type,
+ zint hits_limit, const char *term_ref_id)
{
TERMID termid;
RSET result;
int trunc_chunk;
- termid = rset_term_create(term, length, flags, term_type, rset_nmem, ol);
+ termid = rset_term_create(term, length, flags, term_type, rset_nmem, ol,
+ reg_type, hits_limit, term_ref_id);
if (no < 1)
return rsnull_create(rset_nmem, kctrl, termid);