projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
605079d
)
Comment only, on possible widening of relevance plugin API.
author
Mike Taylor
<mike@indexdata.com>
Mon, 14 Jun 2004 10:31:56 +0000
(10:31 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Mon, 14 Jun 2004 10:31:56 +0000
(10:31 +0000)
index/index.h
patch
|
blob
|
history
diff --git
a/index/index.h
b/index/index.h
index
149c57d
..
afb416e
100644
(file)
--- a/
index/index.h
+++ b/
index/index.h
@@
-1,4
+1,4
@@
-/* $Id: index.h,v 1.108 2004-06-09 13:11:49 adam Exp $
+/* $Id: index.h,v 1.109 2004-06-14 10:31:56 mike Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003
Index Data Aps
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003
Index Data Aps
@@
-337,6
+337,11
@@
struct rank_control {
void *(*create)(ZebraHandle zh);
void (*destroy)(struct zebra_register *reg, void *class_handle);
void *(*begin)(struct zebra_register *reg, void *class_handle, RSET rset);
void *(*create)(ZebraHandle zh);
void (*destroy)(struct zebra_register *reg, void *class_handle);
void *(*begin)(struct zebra_register *reg, void *class_handle, RSET rset);
+ /* ### Could add parameters to begin:
+ * char *index; // author, title, etc.
+ * int dbsize; // number of records in database
+ * int rssize; // number of records in result set (estimate?)
+ */
void (*end)(struct zebra_register *reg, void *set_handle);
int (*calc)(void *set_handle, int sysno);
void (*add)(void *set_handle, int seqno, int term_index);
void (*end)(struct zebra_register *reg, void *set_handle);
int (*calc)(void *set_handle, int sysno);
void (*add)(void *set_handle, int seqno, int term_index);