Show command output pasrsing: keeping location nodes in an array rather than hash.
[pazpar2-moved-to-github.git] / src / record.h
index c915442..2071621 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: record.h,v 1.10 2007-06-13 21:29:04 adam Exp $
+/* $Id: record.h,v 1.12 2007-09-10 16:25:50 adam Exp $
    Copyright (c) 2006-2007, Index Data.
 
 This file is part of Pazpar2.
@@ -28,7 +28,10 @@ struct client;
 struct conf_service;
 
 union data_types {
-    char *text;
+    struct {
+        const char *disp;
+        const char *sort;
+    } text;
     struct {
         int min;
         int max;
@@ -108,7 +111,7 @@ struct record_cluster
     int relevance;
     int *term_frequency_vec;
     // Set-specific ID for this record
-    int recid; 
+    char *recid;
     struct record *records;
 };