X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Frelevance.c;h=e484ca9b2ebf7120b4893ceba6116886f52f50e5;hb=69726762604ca262c12041b34564b9a74833d3dd;hp=d0329156db4487577116a88e520ee0eac718391a;hpb=76ba75c70a6065728e5c8963e4f4c7853aaf1301;p=pazpar2-moved-to-github.git diff --git a/src/relevance.c b/src/relevance.c index d032915..e484ca9 100644 --- a/src/relevance.c +++ b/src/relevance.c @@ -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 @@ -77,6 +77,7 @@ const int scorefield_none = -1; // Do not normalize anything, use tf/idf as is // This is the old behavior, and the default const int scorefield_internal = -2; // use our tf/idf, but normalize it const int scorefield_position = -3; // fake a score based on the position +// Positive numbers indicate the field to be used for scoring. // A structure for each (sub)record. There is one list for each client struct norm_record