From: Mike Taylor Date: Mon, 14 Jun 2004 10:31:56 +0000 (+0000) Subject: Comment only, on possible widening of relevance plugin API. X-Git-Tag: ZEBRA.1.3.16~53 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=4445a9553c08f5b37b613bb4e074f8427fb44064 Comment only, on possible widening of relevance plugin API. --- diff --git a/index/index.h b/index/index.h index 149c57d..afb416e 100644 --- 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 @@ -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); + /* ### 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);