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
Moved file locking utilities from index/lockutil.c to util/flock.c
[idzebra-moved-to-github.git]
/
include
/
rset.h
diff --git
a/include/rset.h
b/include/rset.h
index
b37becc
..
7c33116
100644
(file)
--- a/
include/rset.h
+++ b/
include/rset.h
@@
-1,4
+1,4
@@
-/* $Id: rset.h,v 1.55 2005-06-07 07:41:04 adam Exp $
+/* $Id: rset.h,v 1.57 2005-06-22 19:42:37 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-58,14
+58,18
@@
struct rset_term {
This info is used to return encoded term back for
search-result-1 .
*/
This info is used to return encoded term back for
search-result-1 .
*/
+ int reg_type; /** register type */
RSET rset; /** the rset corresponding to this term */
void *rankpriv;/** private stuff for the ranking algorithm */
RSET rset; /** the rset corresponding to this term */
void *rankpriv;/** private stuff for the ranking algorithm */
+ zint hits_limit;/** limit for hits if > 0 */
+ char *ref_id; /** reference for this term */
struct ord_list *ol;
};
typedef struct rset_term *TERMID;
TERMID rset_term_create (const char *name, int length, const char *flags,
struct ord_list *ol;
};
typedef struct rset_term *TERMID;
TERMID rset_term_create (const char *name, int length, const char *flags,
- int type, NMEM nmem, struct ord_list *ol);
+ int type, NMEM nmem, struct ord_list *ol,
+ int reg_type, zint hits_limit, const char *ref_id);
/** rsfd is a "file descriptor" for reading from a rset */
struct rsfd { /* the stuff common to all rsfd's. */
/** rsfd is a "file descriptor" for reading from a rset */
struct rsfd { /* the stuff common to all rsfd's. */