struct record_metadata {
union data_types data;
// next item of this name
- struct record_metadata *next;
+ struct record_metadata *next;
struct record_metadata_attr *attributes;
};
-union data_types * data_types_assign(NMEM nmem,
- union data_types ** data1,
+union data_types * data_types_assign(NMEM nmem,
+ union data_types ** data1,
union data_types data2);
struct record_metadata **metadata;
// Array mirrors list of sortkey fields in config
union data_types **sortkeys;
- // Next in cluster of merged records
- struct record *next;
+ // Next in cluster of merged records
+ struct record *next;
// client result set position;
int position;
// checksum
struct record_cluster
{
// Array mirrors list of metadata fields in config
- struct record_metadata **metadata;
+ struct record_metadata **metadata;
union data_types **sortkeys;
char *merge_key;
int relevance_score;
float *term_frequency_vecf;
// Set-specific ID for this record
char *recid;
+ WRBUF relevance_explain1;
+ WRBUF relevance_explain2;
struct record *records;
};