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
Fixed bug #454: Indexing with grs.regx much slower than version 1.3.32.
[idzebra-moved-to-github.git]
/
recctrl
/
xslt.c
diff --git
a/recctrl/xslt.c
b/recctrl/xslt.c
index
2b88110
..
cced009
100644
(file)
--- a/
recctrl/xslt.c
+++ b/
recctrl/xslt.c
@@
-1,4
+1,4
@@
-/* $Id: xslt.c,v 1.19 2006-04-26 13:27:16 marc Exp $
+/* $Id: xslt.c,v 1.21 2006-05-10 08:13:31 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-628,13
+628,15
@@
static int filter_retrieve (void *clientData, struct recRetrieveCtrl *p)
window_size = atoi(schema->include_snippet);
params[0] = 0;
window_size = atoi(schema->include_snippet);
params[0] = 0;
- set_param_str(params, "schema", esn, p->odr);
+ set_param_int(params, "id", p->localno, p->odr);
if (p->fname)
set_param_str(params, "filename", p->fname, p->odr);
if (p->fname)
set_param_str(params, "filename", p->fname, p->odr);
+ if (p->staticrank >= 0)
+ set_param_int(params, "rank", p->staticrank, p->odr);
+ set_param_str(params, "schema", esn, p->odr);
if (p->score >= 0)
set_param_int(params, "score", p->score, p->odr);
set_param_int(params, "size", p->recordSize, p->odr);
if (p->score >= 0)
set_param_int(params, "score", p->score, p->odr);
set_param_int(params, "size", p->recordSize, p->odr);
- set_param_int(params, "id", p->localno, p->odr);
if (window_size >= 0)
set_param_xml(params, "snippet", snippet_doc(p, 1, window_size),
if (window_size >= 0)
set_param_xml(params, "snippet", snippet_doc(p, 1, window_size),
@@
-723,3
+725,11
@@
idzebra_filter
&filter_type,
0,
};
&filter_type,
0,
};
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+