Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
enum conf_metadata_type {
Metadata_type_generic, // Generic text field
enum conf_metadata_type {
Metadata_type_generic, // Generic text field
Metadata_type_year, // A number
Metadata_type_date // A number
};
Metadata_type_year, // A number
Metadata_type_date // A number
};
// 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
// 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
{
char *name; // The field name. Output by normalization stylesheet
int brief; // Is this element to be returned in the brief format?
int termlist;// Is this field to be treated as a termlist for browsing?
{
char *name; // The field name. Output by normalization stylesheet
int brief; // Is this element to be returned in the brief format?
int termlist;// Is this field to be treated as a termlist for browsing?
int sortkey_offset; // -1 if it's not a sortkey, otherwise index
// into service/record_cluster->sortkey array
enum conf_metadata_type type;
int sortkey_offset; // -1 if it's not a sortkey, otherwise index
// into service/record_cluster->sortkey array
enum conf_metadata_type type;
enum conf_setting_type setting; // Value is to be taken from session/db settings?
enum conf_metadata_mergekey mergekey;
char *facetrule;
enum conf_setting_type setting; // Value is to be taken from session/db settings?
enum conf_metadata_mergekey mergekey;
char *facetrule;
struct conf_service *next;
char *id;
NMEM nmem;
int session_timeout;
int z3950_session_timeout;
int z3950_operation_timeout;
struct conf_service *next;
char *id;
NMEM nmem;
int session_timeout;
int z3950_session_timeout;
int z3950_operation_timeout;