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
added initial DOM XML filter documentation. Much is missing yet ...
[idzebra-moved-to-github.git]
/
index
/
zebraapi.c
diff --git
a/index/zebraapi.c
b/index/zebraapi.c
index
9f907d0
..
7e7bb79
100644
(file)
--- a/
index/zebraapi.c
+++ b/
index/zebraapi.c
@@
-1,4
+1,4
@@
-/* $Id: zebraapi.c,v 1.246 2007-01-17 13:51:36 adam Exp $
+/* $Id: zebraapi.c,v 1.248 2007-02-06 09:34:56 adam Exp $
Copyright (C) 1995-2007
Index Data ApS
Copyright (C) 1995-2007
Index Data ApS
@@
-143,8
+143,8
@@
ZebraHandle zebra_open(ZebraService zs, Res res)
zh->m_staticrank = 0;
zh->m_segment_indexing = 0;
zh->m_staticrank = 0;
zh->m_segment_indexing = 0;
- zh->busy_handler_func = 0;
- zh->busy_handler_data = 0;
+ zh->break_handler_func = 0;
+ zh->break_handler_data = 0;
default_encoding = res_get_def(zh->session_res, "encoding", "ISO-8859-1");
default_encoding = res_get_def(zh->session_res, "encoding", "ISO-8859-1");
@@
-1024,12
+1024,12
@@
void zebra_set_partial_result(ZebraHandle zh)
}
}
-ZEBRA_RES zebra_set_busy_handler(ZebraHandle zh,
- int (*f)(void *client_data),
- void *client_data)
+ZEBRA_RES zebra_set_break_handler(ZebraHandle zh,
+ int (*f)(void *client_data),
+ void *client_data)
{
{
- zh->busy_handler_func = f;
- zh->busy_handler_data = client_data;
+ zh->break_handler_func = f;
+ zh->break_handler_data = client_data;
return ZEBRA_OK;
}
return ZEBRA_OK;
}
@@
-1716,7
+1716,7
@@
static void read_res_for_transaction(ZebraHandle zh)
v = res_get_prefix(zh->res, "openRW", group, "1");
zh->m_flag_rw = atoi(v);
v = res_get_prefix(zh->res, "openRW", group, "1");
zh->m_flag_rw = atoi(v);
- v = res_get_prefix(zh->res, "fileVerboseLimit", group, "100000");
+ v = res_get_prefix(zh->res, "fileVerboseLimit", group, "1000");
zh->m_file_verbose_limit = atoi(v);
}
zh->m_file_verbose_limit = atoi(v);
}
@@
-1775,6
+1775,7
@@
ZEBRA_RES zebra_begin_trans(ZebraHandle zh, int rw)
zh->records_updated = 0;
zh->records_deleted = 0;
zh->records_processed = 0;
zh->records_updated = 0;
zh->records_deleted = 0;
zh->records_processed = 0;
+ zh->records_skipped = 0;
#if HAVE_SYS_TIMES_H
times (&zh->tms1);
#if HAVE_SYS_TIMES_H
times (&zh->tms1);