Allow record retrieval for record types using custom record IDs.
[idzebra-moved-to-github.git] / include / idzebra / recctrl.h
index c7c92cc..b74e831 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: recctrl.h,v 1.35 2007-05-08 12:50:04 adam Exp $
+/* $Id: recctrl.h,v 1.39 2007-11-30 12:19:08 adam Exp $
    Copyright (C) 1995-2007
    Index Data ApS
 
@@ -49,8 +49,8 @@ YAZ_BEGIN_CDECL
 
 /** Indexing token */
 typedef struct {
-    /** index type ('w', 'p', .. */
-    unsigned index_type;
+    /** index type, e.g. "w", "p", .. */
+    const char *index_type;
     /** index name, e.g. "title" */
     const char *index_name;
     /** token char data */
@@ -100,7 +100,6 @@ struct recExtractCtrl {
     void      (*setStoreData)(struct recExtractCtrl *p, void *buf, size_t size);
     int       first_record;
     int       flagShowRecords;
-    int       seqno[256];
     char      match_criteria[256];
     zint      staticrank;
     void      (*schemaAdd)(struct recExtractCtrl *p, Odr_oid *oid);
@@ -124,8 +123,6 @@ struct recRetrieveCtrl {
     int       recordSize;             /* size of record in bytes */
     char      *fname;                 /* name of file (or NULL if internal) */
     data1_handle dh;
-    zebra_snippets *hit_snippet;
-    zebra_snippets *doc_snippet;
     
     /* response */
     const Odr_oid * output_format;    /* output format OID */