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
/
alvis.c
diff --git
a/recctrl/alvis.c
b/recctrl/alvis.c
index
b898277
..
1a28b76
100644
(file)
--- a/
recctrl/alvis.c
+++ b/
recctrl/alvis.c
@@
-1,4
+1,4
@@
-/* $Id: alvis.c,v 1.9 2006-04-26 11:12:31 adam Exp $
+/* $Id: alvis.c,v 1.11 2006-05-10 08:13:28 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-582,13
+582,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),
@@
-677,3
+679,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
+ */
+