X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Frecord.h;h=0f1f2496cdb29b4b9d95bfc884e7d4f09e7f78ef;hb=85b1f355522cc620452552d76fd517f089c98ab2;hp=ada04d26e1173c8196fcd4919311ef963bcdc6bf;hpb=fb19bc317370b4f4b508088b034b4c2d19257042;p=pazpar2-moved-to-github.git diff --git a/src/record.h b/src/record.h index ada04d2..0f1f249 100644 --- a/src/record.h +++ b/src/record.h @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2013 Index Data + Copyright (C) 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 @@ -27,6 +27,7 @@ struct conf_service; union data_types { struct { const char *disp; + const char *norm; const char *sort; const char *snippet; } text; @@ -66,6 +67,8 @@ struct record { struct record *next; // client result set position; int position; + // score for ranking, either native or our TF/IDF, or other + double score; // checksum unsigned checksum; };