X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Frecord.h;h=f2761f5cb8b9c085a740843549b9ae80059f6125;hb=52aadcb28792d5d0e199520b2ca40ac0d910925f;hp=5ac558e9d1671d173304b09979236f1774744f05;hpb=b837cdc3148bb4282cd1a5b874e9839ef44d71c0;p=pazpar2-moved-to-github.git diff --git a/src/record.h b/src/record.h index 5ac558e..f2761f5 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; @@ -84,10 +85,11 @@ struct record_cluster char *merge_key; int relevance_score; int *term_frequency_vec; - int *term_frequency_vec_tmp; float *term_frequency_vecf; // Set-specific ID for this record char *recid; + WRBUF relevance_explain1; + WRBUF relevance_explain2; struct record *records; };