2 * Copyright (C) 1994-1995, Index Data I/S
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.5 1995-09-27 16:17:32 adam
8 * More work on retrieve.
10 * Revision 1.4 1995/09/14 11:53:28 adam
11 * First work on regular expressions/truncations.
13 * Revision 1.3 1995/09/08 08:53:23 adam
14 * Record buffer maintained in server_info.
16 * Revision 1.2 1995/09/06 16:11:19 adam
17 * Option: only one word key per file.
19 * Revision 1.1 1995/09/05 15:28:40 adam
20 * More work on search engine.
37 typedef struct ZServerSet_ {
41 struct ZServerSet_ *next;
55 int rpn_search (ZServerInfo *zi,
56 Z_RPNQuery *rpn, int num_bases, char **basenames,
57 const char *setname, int *hits);
59 ZServerSet *resultSetAdd (ZServerInfo *zi, const char *name,
61 ZServerSet *resultSetGet (ZServerInfo *zi, const char *name);
62 ZServerRecord *resultSetRecordGet (ZServerInfo *zi, const char *name,
63 int num, int *positions);
64 void resultSetRecordDel (ZServerInfo *zi, ZServerRecord *records, int num);