Configuration of default sort order. Default to previous hardcoded "relevance"
[pazpar2-moved-to-github.git] / src / pazpar2_config.h
index 5eb9c5e..1cad37a 100644 (file)
@@ -69,7 +69,7 @@ enum conf_metadata_mergekey {
 // An array of these structure provides a 'map' against which
 // discovered metadata elements are matched. It also governs storage,
 // to minimize number of cycles needed at various tages of processing
-struct conf_metadata 
+struct conf_metadata
 {
     char *name;  // The field name. Output by normalization stylesheet
     int brief;   // Is this element to be returned in the brief format?
@@ -116,6 +116,8 @@ struct conf_service
     int session_timeout;
     int z3950_session_timeout;
     int z3950_operation_timeout;
+    int rank_cluster;
+    char *default_sort;
 
     int ref_count;
     /* duplicated from conf_server */