X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Frecord.h;h=cb8df1ea85ca9db9dd310a83aec170753d7cae0e;hb=817e3ec506c4095bc4fcc1923cee36153ef4ee43;hp=b06ad1438e0cff73d9cada3ecafbfc092f8a4d9e;hpb=807477557512b665bac79fdc8491454bae16faa2;p=pazpar2-moved-to-github.git diff --git a/src/record.h b/src/record.h index b06ad14..cb8df1e 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 @@ -34,6 +34,7 @@ union data_types { int min; int max; } number; + double fnumber; }; @@ -65,6 +66,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; };