X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Frecord.h;h=fc01b5c07e0d5b1242e64d6ad8d0000e3ebeef52;hb=7db45d2bc967511916800d163b2c3e290c62da40;hp=fb6f8e121e07d6894d9f14972f85120048221abf;hpb=446f32183265d59ee79e2859376c598fa24408e0;p=pazpar2-moved-to-github.git diff --git a/src/record.h b/src/record.h index fb6f8e1..fc01b5c 100644 --- a/src/record.h +++ b/src/record.h @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2012 Index Data + Copyright (C) 2006-2013 Index Data 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 @@ -28,6 +28,7 @@ union data_types { struct { const char *disp; const char *sort; + const char *snippet; } text; struct { int min; @@ -81,7 +82,9 @@ struct record_cluster // Array mirrors list of metadata fields in config struct record_metadata **metadata; union data_types **sortkeys; - char *merge_key; + // char *merge_key; + struct record_metadata_attr *merge_keys; + int relevance_score; int *term_frequency_vec; float *term_frequency_vecf;