From 7b61a146be4cb5a371d87cfab5c24fc87082b7cd Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 21 Sep 2012 15:00:04 +0200 Subject: [PATCH] relevance_info printed only if in service --- src/http_command.c | 11 ++- src/pazpar2_config.c | 36 ++++++-- src/pazpar2_config.h | 1 + test/gils_service.xml | 1 + test/marc_service.xml | 1 + test/test_facets_13.res | 7 -- test/test_facets_16.res | 7 -- test/test_facets_24.res | 48 ---------- test/test_facets_4.res | 36 -------- test/test_facets_9.res | 7 -- test/test_filter_12.res | 73 --------------- test/test_filter_3.res | 73 --------------- test/test_filter_6.res | 35 ------- test/test_filter_9.res | 35 ------- test/test_http.cfg | 2 +- test/test_icu.cfg | 1 + test/test_limit_limitmap_15.res | 7 -- test/test_limit_limitmap_18.res | 7 -- test/test_limit_limitmap_21.res | 7 -- test/test_limit_limitmap_24.res | 6 -- test/test_limit_limitmap_26.res | 23 ----- test/test_limit_limitmap_28.res | 6 -- test/test_limit_limitmap_30.res | 23 ----- test/test_limit_limitmap_36.res | 23 ----- test/test_limit_limitmap_4.res | 54 ----------- test/test_limit_limitmap_42.res | 23 ----- test/test_limit_limitmap_9.res | 162 --------------------------------- test/test_solr_13.res | 186 -------------------------------------- test/test_solr_18.res | 191 --------------------------------------- test/test_solr_22.res | 13 --- test/test_solr_25.res | 186 -------------------------------------- test/test_solr_29.res | 13 --- test/test_solr_4.res | 186 -------------------------------------- test/test_solr_9.res | 186 -------------------------------------- test/test_termlist_block_9.res | 162 --------------------------------- test/test_turbomarcxml_4.res | 16 ---- test/test_turbomarcxml_7.res | 16 ---- test/test_url_3.res | 54 ----------- test/test_url_6.res | 17 ---- 39 files changed, 39 insertions(+), 1902 deletions(-) diff --git a/src/http_command.c b/src/http_command.c index 2aca50e..c752b53 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -1142,10 +1142,13 @@ static void show_records(struct http_channel *c, struct http_session *s, int act { wrbuf_printf(c->wrbuf, " %d\n", rec->relevance_score); - wrbuf_printf(c->wrbuf, " \n"); - wrbuf_xmlputs(c->wrbuf, wrbuf_cstr(rec->relevance_explain1)); - wrbuf_xmlputs(c->wrbuf, wrbuf_cstr(rec->relevance_explain2)); - wrbuf_printf(c->wrbuf, " \n"); + if (service->rank_debug) + { + wrbuf_printf(c->wrbuf, " \n"); + wrbuf_xmlputs(c->wrbuf, wrbuf_cstr(rec->relevance_explain1)); + wrbuf_xmlputs(c->wrbuf, wrbuf_cstr(rec->relevance_explain2)); + wrbuf_printf(c->wrbuf, " \n"); + } } wrbuf_puts(c->wrbuf, " "); wrbuf_xmlputs(c->wrbuf, rec->recid); diff --git a/src/pazpar2_config.c b/src/pazpar2_config.c index ca16ea5..57809b1 100644 --- a/src/pazpar2_config.c +++ b/src/pazpar2_config.c @@ -133,6 +133,7 @@ struct conf_service *service_init(struct conf_server *server, service->z3950_session_timeout = 180; service->z3950_operation_timeout = 30; service->rank_cluster = 1; + service->rank_debug = 0; service->charsets = 0; @@ -620,17 +621,33 @@ static struct conf_service *service_create_static(struct conf_server *server, else if (!strcmp((const char *) n->name, "rank")) { char *rank_cluster = (char *) xmlGetProp(n, (xmlChar *) "cluster"); - - if (rank_cluster && !strcmp(rank_cluster, "yes")) - service->rank_cluster = 1; - else if (rank_cluster && !strcmp(rank_cluster, "no")) - service->rank_cluster = 0; - else + char *rank_debug = (char *) xmlGetProp(n, (xmlChar *) "debug"); + if (rank_cluster) { - yaz_log(YLOG_FATAL, "service: rank@cluster boolean"); - return 0; + if (!strcmp(rank_cluster, "yes")) + service->rank_cluster = 1; + else if (!strcmp(rank_cluster, "no")) + service->rank_cluster = 0; + else + { + yaz_log(YLOG_FATAL, "service: rank@cluster boolean"); + return 0; + } + } + if (rank_debug) + { + if (!strcmp(rank_debug, "yes")) + service->rank_debug = 1; + else if (!strcmp(rank_debug, "no")) + service->rank_debug = 0; + else + { + yaz_log(YLOG_FATAL, "service: rank@debug boolean"); + return 0; + } } xmlFree(rank_cluster); + xmlFree(rank_debug); } else if (!strcmp((const char *) n->name, "sort-default")) { @@ -638,7 +655,8 @@ static struct conf_service *service_create_static(struct conf_server *server, if (default_sort && strcmp(default_sort, "")) { service->default_sort = nmem_strdup(service->nmem, default_sort); - yaz_log(YLOG_LOG, "service %d: default sort order configured to: %s", service_id, default_sort); + yaz_log(YLOG_LOG, "service %s: default sort order configured to: %s", + service_id, default_sort); } else { diff --git a/src/pazpar2_config.h b/src/pazpar2_config.h index 1cad37a..8f80f39 100644 --- a/src/pazpar2_config.h +++ b/src/pazpar2_config.h @@ -117,6 +117,7 @@ struct conf_service int z3950_session_timeout; int z3950_operation_timeout; int rank_cluster; + int rank_debug; char *default_sort; int ref_count; diff --git a/test/gils_service.xml b/test/gils_service.xml index f115422..daecf4d 100644 --- a/test/gils_service.xml +++ b/test/gils_service.xml @@ -1,5 +1,6 @@ + diff --git a/test/marc_service.xml b/test/marc_service.xml index d0e9266..ed93a62 100644 --- a/test/marc_service.xml +++ b/test/marc_service.xml @@ -1,5 +1,6 @@ + diff --git a/test/test_facets_13.res b/test/test_facets_13.res index 86782cf..e0c22e6 100644 --- a/test/test_facets_13.res +++ b/test/test_facets_13.res @@ -20,13 +20,6 @@ 2 97311 - -computer: field=title vecf[1] += mult(6) / length(5); -computer: field=title vecf[1] += mult(6) / length(5); -idf[1] = log(((1 + total(2))/termoccur(2)); -computer: relevance += 100000 * vecf[1](2.400000) * idf[1](0.405465) (97311); -score = relevance(97311); - content: title how to program a computer author jack collins \ No newline at end of file diff --git a/test/test_facets_16.res b/test/test_facets_16.res index 0736579..30fc531 100644 --- a/test/test_facets_16.res +++ b/test/test_facets_16.res @@ -20,13 +20,6 @@ 2 97311 - -computer: field=title vecf[1] += mult(6) / length(5); -computer: field=title vecf[1] += mult(6) / length(5); -idf[1] = log(((1 + total(2))/termoccur(2)); -computer: relevance += 100000 * vecf[1](2.400000) * idf[1](0.405465) (97311); -score = relevance(97311); - content: title how to program a computer author jack collins \ No newline at end of file diff --git a/test/test_facets_24.res b/test/test_facets_24.res index 8ff935d..8983946 100644 --- a/test/test_facets_24.res +++ b/test/test_facets_24.res @@ -20,13 +20,6 @@ 2 53554 - -computer: field=title vecf[1] += mult(6) / length(5); -computer: field=title vecf[1] += mult(6) / length(5); -idf[1] = log(((1 + total(9))/termoccur(8)); -computer: relevance += 100000 * vecf[1](2.400000) * idf[1](0.223144) (53554); -score = relevance(53554); - content: title how to program a computer author jack collins @@ -41,12 +34,6 @@ score = relevance(53554); 1 44628 - -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(9))/termoccur(8)); -computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.223144) (44628); -score = relevance(44628); - content: title computer science technology @@ -62,12 +49,6 @@ score = relevance(44628); 1 44628 - -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(9))/termoccur(8)); -computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.223144) (44628); -score = relevance(44628); - content: title the computer bible @@ -86,12 +67,6 @@ score = relevance(44628); 1 19126 - -computer: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(9))/termoccur(8)); -computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.223144) (19126); -score = relevance(19126); - content: title washington metropolitan area rail computer feasibility study author englund carl r @@ -110,12 +85,6 @@ score = relevance(19126); 1 18595 - -computer: field=title-remainder vecf[1] += mult(5) / length(6); -idf[1] = log(((1 + total(9))/termoccur(8)); -computer: relevance += 100000 * vecf[1](0.833333) * idf[1](0.223144) (18595); -score = relevance(18595); - content: title the puget sound region author mairs john w @@ -130,12 +99,6 @@ score = relevance(18595); 1 13388 - -computer: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(9))/termoccur(8)); -computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.223144) (13388); -score = relevance(13388); - content: title computer processing of dynamic images from an anger scintillation camera @@ -150,12 +113,6 @@ score = relevance(13388); 1 13388 - -computer: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(9))/termoccur(8)); -computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.223144) (13388); -score = relevance(13388); - content: title the use of passwords for controlled access to computer resources author wood helen m @@ -170,11 +127,6 @@ score = relevance(13388); 1 0 - -idf[1] = log(((1 + total(9))/termoccur(8)); -computer: relevance += 100000 * vecf[1](0.000000) * idf[1](0.223144) (0); -score = relevance(0); - content: title reconstruction tomography in diagnostic radiology and nuclear medicine \ No newline at end of file diff --git a/test/test_facets_4.res b/test/test_facets_4.res index 099cb79..b1c2baa 100644 --- a/test/test_facets_4.res +++ b/test/test_facets_4.res @@ -20,13 +20,6 @@ 2 69043 - -computer: field=title vecf[1] += mult(6) / length(5); -computer: field=title vecf[1] += mult(6) / length(5); -idf[1] = log(((1 + total(7))/termoccur(6)); -computer: relevance += 100000 * vecf[1](2.400000) * idf[1](0.287682) (69043); -score = relevance(69043); - content: title how to program a computer author jack collins @@ -41,12 +34,6 @@ score = relevance(69043); 1 57536 - -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(7))/termoccur(6)); -computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.287682) (57536); -score = relevance(57536); - content: title computer science technology @@ -62,12 +49,6 @@ score = relevance(57536); 1 57536 - -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(7))/termoccur(6)); -computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.287682) (57536); -score = relevance(57536); - content: title the computer bible @@ -86,12 +67,6 @@ score = relevance(57536); 1 23973 - -computer: field=title-remainder vecf[1] += mult(5) / length(6); -idf[1] = log(((1 + total(7))/termoccur(6)); -computer: relevance += 100000 * vecf[1](0.833333) * idf[1](0.287682) (23973); -score = relevance(23973); - content: title the puget sound region author mairs john w @@ -106,12 +81,6 @@ score = relevance(23973); 1 17260 - -computer: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(7))/termoccur(6)); -computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.287682) (17260); -score = relevance(17260); - content: title computer processing of dynamic images from an anger scintillation camera @@ -126,11 +95,6 @@ score = relevance(17260); 1 0 - -idf[1] = log(((1 + total(7))/termoccur(6)); -computer: relevance += 100000 * vecf[1](0.000000) * idf[1](0.287682) (0); -score = relevance(0); - content: title reconstruction tomography in diagnostic radiology and nuclear medicine \ No newline at end of file diff --git a/test/test_facets_9.res b/test/test_facets_9.res index 3006355..b498c15 100644 --- a/test/test_facets_9.res +++ b/test/test_facets_9.res @@ -20,13 +20,6 @@ 2 97311 - -computer: field=title vecf[1] += mult(6) / length(5); -computer: field=title vecf[1] += mult(6) / length(5); -idf[1] = log(((1 + total(2))/termoccur(2)); -computer: relevance += 100000 * vecf[1](2.400000) * idf[1](0.405465) (97311); -score = relevance(97311); - content: title how to program a computer author jack collins \ No newline at end of file diff --git a/test/test_filter_12.res b/test/test_filter_12.res index dfb7f93..c24b060 100644 --- a/test/test_filter_12.res +++ b/test/test_filter_12.res @@ -29,13 +29,6 @@ 1 51972 - -the: field=title vecf[1] += mult(6) / length(3); -the: field=title-remainder vecf[1] += mult(10) / length(9); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](3.111111) * idf[1](0.167054) (51972); -score = relevance(51972); - content: title the late shift author carter bill medium book @@ -55,12 +48,6 @@ score = relevance(51972); 1 33410 - -the: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](2.000000) * idf[1](0.167054) (33410); -score = relevance(33410); - content: title the computer bible author medium book @@ -84,13 +71,6 @@ score = relevance(33410); 1 29158 - -the: field=title vecf[1] += mult(6) / length(5); -the: field=description vecf[1] += mult(6) / length(11); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](1.745455) * idf[1](0.167054) (29158); -score = relevance(29158); - content: title the religious teachers of greece author adam james medium book @@ -114,12 +94,6 @@ score = relevance(29158); 1 25058 - -the: field=title vecf[1] += mult(6) / length(4); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](1.500000) * idf[1](0.167054) (25058); -score = relevance(25058); - content: title the puget sound region author mairs john w medium book @@ -138,12 +112,6 @@ score = relevance(25058); 1 20881 - -the: field=title-remainder vecf[1] += mult(5) / length(4); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](1.250000) * idf[1](0.167054) (20881); -score = relevance(20881); - content: title reconstruction tomography in diagnostic radiology and nuclear medicine author medium book @@ -166,12 +134,6 @@ score = relevance(20881); 1 16705 - -the: field=title-remainder vecf[1] += mult(5) / length(5); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](1.000000) * idf[1](0.167054) (16705); -score = relevance(16705); - content: title computer processing of dynamic images from an anger scintillation camera author medium book @@ -193,12 +155,6 @@ score = relevance(16705); 1 13921 - -the: field=title-remainder vecf[1] += mult(5) / length(6); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](0.833333) * idf[1](0.167054) (13921); -score = relevance(13921); - content: title dealing with dropouts author paulu nancy medium @@ -220,12 +176,6 @@ score = relevance(13921); 1 13364 - -the: field=title vecf[1] += mult(12) / length(15); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](0.800000) * idf[1](0.167054) (13364); -score = relevance(13364); - content: title national dissemination model for the i m special program of physical education for the handicapped author medium @@ -242,12 +192,6 @@ score = relevance(13364); 1 10023 - -the: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](0.600000) * idf[1](0.167054) (10023); -score = relevance(10023); - content: title the use of passwords for controlled access to computer resources author wood helen m medium book @@ -264,12 +208,6 @@ score = relevance(10023); 1 5966 - -the: field=title-remainder vecf[1] += mult(5) / length(14); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](0.357143) * idf[1](0.167054) (5966); -score = relevance(5966); - content: title computer science technology author medium book @@ -294,12 +232,6 @@ score = relevance(5966); 1 3341 - -the: field=description vecf[1] += mult(6) / length(30); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](0.200000) * idf[1](0.167054) (3341); -score = relevance(3341); - content: title technology programs that work author medium book @@ -331,11 +263,6 @@ score = relevance(3341); 1 0 - -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](0.000000) * idf[1](0.167054) (0); -score = relevance(0); - content: title check this out author seager andrew j medium book \ No newline at end of file diff --git a/test/test_filter_3.res b/test/test_filter_3.res index d105c2d..e693c44 100644 --- a/test/test_filter_3.res +++ b/test/test_filter_3.res @@ -29,13 +29,6 @@ 1 51972 - -the: field=title vecf[1] += mult(6) / length(3); -the: field=title-remainder vecf[1] += mult(10) / length(9); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](3.111111) * idf[1](0.167054) (51972); -score = relevance(51972); - content: title the late shift author carter bill medium book @@ -55,12 +48,6 @@ score = relevance(51972); 1 33410 - -the: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](2.000000) * idf[1](0.167054) (33410); -score = relevance(33410); - content: title the computer bible author medium book @@ -84,13 +71,6 @@ score = relevance(33410); 1 29158 - -the: field=title vecf[1] += mult(6) / length(5); -the: field=description vecf[1] += mult(6) / length(11); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](1.745455) * idf[1](0.167054) (29158); -score = relevance(29158); - content: title the religious teachers of greece author adam james medium book @@ -114,12 +94,6 @@ score = relevance(29158); 1 25058 - -the: field=title vecf[1] += mult(6) / length(4); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](1.500000) * idf[1](0.167054) (25058); -score = relevance(25058); - content: title the puget sound region author mairs john w medium book @@ -138,12 +112,6 @@ score = relevance(25058); 1 20881 - -the: field=title-remainder vecf[1] += mult(5) / length(4); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](1.250000) * idf[1](0.167054) (20881); -score = relevance(20881); - content: title reconstruction tomography in diagnostic radiology and nuclear medicine author medium book @@ -166,12 +134,6 @@ score = relevance(20881); 1 16705 - -the: field=title-remainder vecf[1] += mult(5) / length(5); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](1.000000) * idf[1](0.167054) (16705); -score = relevance(16705); - content: title computer processing of dynamic images from an anger scintillation camera author medium book @@ -193,12 +155,6 @@ score = relevance(16705); 1 13921 - -the: field=title-remainder vecf[1] += mult(5) / length(6); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](0.833333) * idf[1](0.167054) (13921); -score = relevance(13921); - content: title dealing with dropouts author paulu nancy medium @@ -220,12 +176,6 @@ score = relevance(13921); 1 13364 - -the: field=title vecf[1] += mult(12) / length(15); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](0.800000) * idf[1](0.167054) (13364); -score = relevance(13364); - content: title national dissemination model for the i m special program of physical education for the handicapped author medium @@ -242,12 +192,6 @@ score = relevance(13364); 1 10023 - -the: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](0.600000) * idf[1](0.167054) (10023); -score = relevance(10023); - content: title the use of passwords for controlled access to computer resources author wood helen m medium book @@ -264,12 +208,6 @@ score = relevance(10023); 1 5966 - -the: field=title-remainder vecf[1] += mult(5) / length(14); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](0.357143) * idf[1](0.167054) (5966); -score = relevance(5966); - content: title computer science technology author medium book @@ -294,12 +232,6 @@ score = relevance(5966); 1 3341 - -the: field=description vecf[1] += mult(6) / length(30); -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](0.200000) * idf[1](0.167054) (3341); -score = relevance(3341); - content: title technology programs that work author medium book @@ -331,11 +263,6 @@ score = relevance(3341); 1 0 - -idf[1] = log(((1 + total(12))/termoccur(11)); -the: relevance += 100000 * vecf[1](0.000000) * idf[1](0.167054) (0); -score = relevance(0); - content: title check this out author seager andrew j medium book \ No newline at end of file diff --git a/test/test_filter_6.res b/test/test_filter_6.res index 4f2fae9..e63ac01 100644 --- a/test/test_filter_6.res +++ b/test/test_filter_6.res @@ -22,12 +22,6 @@ 1 94000 - -the: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(7))/termoccur(5)); -the: relevance += 100000 * vecf[1](2.000000) * idf[1](0.470004) (94000); -score = relevance(94000); - content: title the computer bible author medium book @@ -51,12 +45,6 @@ score = relevance(94000); 1 70500 - -the: field=title vecf[1] += mult(6) / length(4); -idf[1] = log(((1 + total(7))/termoccur(5)); -the: relevance += 100000 * vecf[1](1.500000) * idf[1](0.470004) (70500); -score = relevance(70500); - content: title the puget sound region author mairs john w medium book @@ -75,12 +63,6 @@ score = relevance(70500); 1 58750 - -the: field=title-remainder vecf[1] += mult(5) / length(4); -idf[1] = log(((1 + total(7))/termoccur(5)); -the: relevance += 100000 * vecf[1](1.250000) * idf[1](0.470004) (58750); -score = relevance(58750); - content: title reconstruction tomography in diagnostic radiology and nuclear medicine author medium book @@ -103,12 +85,6 @@ score = relevance(58750); 1 47000 - -the: field=title-remainder vecf[1] += mult(5) / length(5); -idf[1] = log(((1 + total(7))/termoccur(5)); -the: relevance += 100000 * vecf[1](1.000000) * idf[1](0.470004) (47000); -score = relevance(47000); - content: title computer processing of dynamic images from an anger scintillation camera author medium book @@ -125,12 +101,6 @@ score = relevance(47000); 1 16785 - -the: field=title-remainder vecf[1] += mult(5) / length(14); -idf[1] = log(((1 + total(7))/termoccur(5)); -the: relevance += 100000 * vecf[1](0.357143) * idf[1](0.470004) (16785); -score = relevance(16785); - content: title computer science technology author medium book @@ -148,11 +118,6 @@ score = relevance(16785); 2 0 - -idf[1] = log(((1 + total(7))/termoccur(5)); -the: relevance += 100000 * vecf[1](0.000000) * idf[1](0.470004) (0); -score = relevance(0); - content: title how to program a computer author jack collins medium book \ No newline at end of file diff --git a/test/test_filter_9.res b/test/test_filter_9.res index 4f2fae9..e63ac01 100644 --- a/test/test_filter_9.res +++ b/test/test_filter_9.res @@ -22,12 +22,6 @@ 1 94000 - -the: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(7))/termoccur(5)); -the: relevance += 100000 * vecf[1](2.000000) * idf[1](0.470004) (94000); -score = relevance(94000); - content: title the computer bible author medium book @@ -51,12 +45,6 @@ score = relevance(94000); 1 70500 - -the: field=title vecf[1] += mult(6) / length(4); -idf[1] = log(((1 + total(7))/termoccur(5)); -the: relevance += 100000 * vecf[1](1.500000) * idf[1](0.470004) (70500); -score = relevance(70500); - content: title the puget sound region author mairs john w medium book @@ -75,12 +63,6 @@ score = relevance(70500); 1 58750 - -the: field=title-remainder vecf[1] += mult(5) / length(4); -idf[1] = log(((1 + total(7))/termoccur(5)); -the: relevance += 100000 * vecf[1](1.250000) * idf[1](0.470004) (58750); -score = relevance(58750); - content: title reconstruction tomography in diagnostic radiology and nuclear medicine author medium book @@ -103,12 +85,6 @@ score = relevance(58750); 1 47000 - -the: field=title-remainder vecf[1] += mult(5) / length(5); -idf[1] = log(((1 + total(7))/termoccur(5)); -the: relevance += 100000 * vecf[1](1.000000) * idf[1](0.470004) (47000); -score = relevance(47000); - content: title computer processing of dynamic images from an anger scintillation camera author medium book @@ -125,12 +101,6 @@ score = relevance(47000); 1 16785 - -the: field=title-remainder vecf[1] += mult(5) / length(14); -idf[1] = log(((1 + total(7))/termoccur(5)); -the: relevance += 100000 * vecf[1](0.357143) * idf[1](0.470004) (16785); -score = relevance(16785); - content: title computer science technology author medium book @@ -148,11 +118,6 @@ score = relevance(16785); 2 0 - -idf[1] = log(((1 + total(7))/termoccur(5)); -the: relevance += 100000 * vecf[1](0.000000) * idf[1](0.470004) (0); -score = relevance(0); - content: title how to program a computer author jack collins medium book \ No newline at end of file diff --git a/test/test_http.cfg b/test/test_http.cfg index df09619..2ff1540 100644 --- a/test/test_http.cfg +++ b/test/test_http.cfg @@ -9,7 +9,7 @@ - + diff --git a/test/test_icu.cfg b/test/test_icu.cfg index d3d451e..85a1b1c 100644 --- a/test/test_icu.cfg +++ b/test/test_icu.cfg @@ -46,6 +46,7 @@ + diff --git a/test/test_limit_limitmap_15.res b/test/test_limit_limitmap_15.res index d048c37..a38115c 100644 --- a/test/test_limit_limitmap_15.res +++ b/test/test_limit_limitmap_15.res @@ -20,13 +20,6 @@ 1 291121 - -greece: field=title vecf[1] += mult(6) / length(5); -greece: field=subject vecf[1] += mult(3) / length(1); -idf[1] = log(((1 + total(1))/termoccur(1)); -greece: relevance += 100000 * vecf[1](4.200000) * idf[1](0.693147) (291121); -score = relevance(291121); - content: title the religious teachers of greece author adam james \ No newline at end of file diff --git a/test/test_limit_limitmap_18.res b/test/test_limit_limitmap_18.res index d048c37..a38115c 100644 --- a/test/test_limit_limitmap_18.res +++ b/test/test_limit_limitmap_18.res @@ -20,13 +20,6 @@ 1 291121 - -greece: field=title vecf[1] += mult(6) / length(5); -greece: field=subject vecf[1] += mult(3) / length(1); -idf[1] = log(((1 + total(1))/termoccur(1)); -greece: relevance += 100000 * vecf[1](4.200000) * idf[1](0.693147) (291121); -score = relevance(291121); - content: title the religious teachers of greece author adam james \ No newline at end of file diff --git a/test/test_limit_limitmap_21.res b/test/test_limit_limitmap_21.res index d048c37..a38115c 100644 --- a/test/test_limit_limitmap_21.res +++ b/test/test_limit_limitmap_21.res @@ -20,13 +20,6 @@ 1 291121 - -greece: field=title vecf[1] += mult(6) / length(5); -greece: field=subject vecf[1] += mult(3) / length(1); -idf[1] = log(((1 + total(1))/termoccur(1)); -greece: relevance += 100000 * vecf[1](4.200000) * idf[1](0.693147) (291121); -score = relevance(291121); - content: title the religious teachers of greece author adam james \ No newline at end of file diff --git a/test/test_limit_limitmap_24.res b/test/test_limit_limitmap_24.res index 23651d5..3542249 100644 --- a/test/test_limit_limitmap_24.res +++ b/test/test_limit_limitmap_24.res @@ -22,12 +22,6 @@ 1 59412 - -computer: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(1))/termoccur(1)); -computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.693147) (59412); -score = relevance(59412); - content: title washington metropolitan area rail computer feasibility study author englund carl r \ No newline at end of file diff --git a/test/test_limit_limitmap_26.res b/test/test_limit_limitmap_26.res index 4a3e3ce..a97fcf5 100644 --- a/test/test_limit_limitmap_26.res +++ b/test/test_limit_limitmap_26.res @@ -18,12 +18,6 @@ 1 102165 - -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.510826) (102165); -score = relevance(102165); - content: title computer science technology @@ -40,12 +34,6 @@ score = relevance(102165); 1 102165 - -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.510826) (102165); -score = relevance(102165); - content: title the computer bible @@ -61,12 +49,6 @@ score = relevance(102165); 1 30649 - -computer: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.510826) (30649); -score = relevance(30649); - content: title the use of passwords for controlled access to computer resources author wood helen m @@ -82,11 +64,6 @@ score = relevance(30649); 1 0 - -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](0.000000) * idf[1](0.510826) (0); -score = relevance(0); - content: title reconstruction tomography in diagnostic radiology and nuclear medicine \ No newline at end of file diff --git a/test/test_limit_limitmap_28.res b/test/test_limit_limitmap_28.res index c85fa42..fe8fde5 100644 --- a/test/test_limit_limitmap_28.res +++ b/test/test_limit_limitmap_28.res @@ -23,12 +23,6 @@ 1 59412 - -computer: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(1))/termoccur(1)); -computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.693147) (59412); -score = relevance(59412); - content: title washington metropolitan area rail computer feasibility study author englund carl r \ No newline at end of file diff --git a/test/test_limit_limitmap_30.res b/test/test_limit_limitmap_30.res index 1a093fc..a62fc41 100644 --- a/test/test_limit_limitmap_30.res +++ b/test/test_limit_limitmap_30.res @@ -19,12 +19,6 @@ 1 102165 - -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.510826) (102165); -score = relevance(102165); - content: title computer science technology @@ -41,12 +35,6 @@ score = relevance(102165); 1 102165 - -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.510826) (102165); -score = relevance(102165); - content: title the computer bible @@ -62,12 +50,6 @@ score = relevance(102165); 1 30649 - -computer: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.510826) (30649); -score = relevance(30649); - content: title the use of passwords for controlled access to computer resources author wood helen m @@ -83,11 +65,6 @@ score = relevance(30649); 1 0 - -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](0.000000) * idf[1](0.510826) (0); -score = relevance(0); - content: title reconstruction tomography in diagnostic radiology and nuclear medicine \ No newline at end of file diff --git a/test/test_limit_limitmap_36.res b/test/test_limit_limitmap_36.res index 1a093fc..a62fc41 100644 --- a/test/test_limit_limitmap_36.res +++ b/test/test_limit_limitmap_36.res @@ -19,12 +19,6 @@ 1 102165 - -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.510826) (102165); -score = relevance(102165); - content: title computer science technology @@ -41,12 +35,6 @@ score = relevance(102165); 1 102165 - -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.510826) (102165); -score = relevance(102165); - content: title the computer bible @@ -62,12 +50,6 @@ score = relevance(102165); 1 30649 - -computer: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.510826) (30649); -score = relevance(30649); - content: title the use of passwords for controlled access to computer resources author wood helen m @@ -83,11 +65,6 @@ score = relevance(30649); 1 0 - -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](0.000000) * idf[1](0.510826) (0); -score = relevance(0); - content: title reconstruction tomography in diagnostic radiology and nuclear medicine \ No newline at end of file diff --git a/test/test_limit_limitmap_4.res b/test/test_limit_limitmap_4.res index 8ea99ae..053919b 100644 --- a/test/test_limit_limitmap_4.res +++ b/test/test_limit_limitmap_4.res @@ -22,13 +22,6 @@ 2 48160 - -computer: field=title vecf[1] += mult(6) / length(5); -computer: field=title vecf[1] += mult(6) / length(5); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](2.400000) * idf[1](0.200671) (48160); -score = relevance(48160); - content: title how to program a computer author jack collins @@ -44,12 +37,6 @@ score = relevance(48160); 1 40134 - -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.200671) (40134); -score = relevance(40134); - content: title computer science technology @@ -66,12 +53,6 @@ score = relevance(40134); 1 40134 - -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.200671) (40134); -score = relevance(40134); - content: title the computer bible @@ -87,12 +68,6 @@ score = relevance(40134); 1 17200 - -computer: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.200671) (17200); -score = relevance(17200); - content: title a plan for community college computer development @@ -112,12 +87,6 @@ score = relevance(17200); 1 17200 - -computer: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.200671) (17200); -score = relevance(17200); - content: title washington metropolitan area rail computer feasibility study author englund carl r @@ -137,12 +106,6 @@ score = relevance(17200); 1 16722 - -computer: field=title-remainder vecf[1] += mult(5) / length(6); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](0.833333) * idf[1](0.200671) (16722); -score = relevance(16722); - content: title the puget sound region author mairs john w @@ -158,12 +121,6 @@ score = relevance(16722); 1 12040 - -computer: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.200671) (12040); -score = relevance(12040); - content: title computer processing of dynamic images from an anger scintillation camera @@ -179,12 +136,6 @@ score = relevance(12040); 1 12040 - -computer: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.200671) (12040); -score = relevance(12040); - content: title the use of passwords for controlled access to computer resources author wood helen m @@ -200,11 +151,6 @@ score = relevance(12040); 1 0 - -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](0.000000) * idf[1](0.200671) (0); -score = relevance(0); - content: title reconstruction tomography in diagnostic radiology and nuclear medicine \ No newline at end of file diff --git a/test/test_limit_limitmap_42.res b/test/test_limit_limitmap_42.res index 1a093fc..a62fc41 100644 --- a/test/test_limit_limitmap_42.res +++ b/test/test_limit_limitmap_42.res @@ -19,12 +19,6 @@ 1 102165 - -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.510826) (102165); -score = relevance(102165); - content: title computer science technology @@ -41,12 +35,6 @@ score = relevance(102165); 1 102165 - -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.510826) (102165); -score = relevance(102165); - content: title the computer bible @@ -62,12 +50,6 @@ score = relevance(102165); 1 30649 - -computer: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.510826) (30649); -score = relevance(30649); - content: title the use of passwords for controlled access to computer resources author wood helen m @@ -83,11 +65,6 @@ score = relevance(30649); 1 0 - -idf[1] = log(((1 + total(4))/termoccur(3)); -computer: relevance += 100000 * vecf[1](0.000000) * idf[1](0.510826) (0); -score = relevance(0); - content: title reconstruction tomography in diagnostic radiology and nuclear medicine \ No newline at end of file diff --git a/test/test_limit_limitmap_9.res b/test/test_limit_limitmap_9.res index daca1d6..b848964 100644 --- a/test/test_limit_limitmap_9.res +++ b/test/test_limit_limitmap_9.res @@ -19,14 +19,6 @@ 1 50734 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(1); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](6.000000) * idf[1](0.084557) (50734); -score = relevance(50734); - content: title adobe illustrator for the mac author woodward c michael @@ -39,16 +31,6 @@ score = relevance(50734); 1 50734 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=title vecf[1] += mult(6) / length(6); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](6.000000) * idf[1](0.084557) (50734); -score = relevance(50734); - content: title advanced computer performance modeling and simulation @@ -67,15 +49,6 @@ score = relevance(50734); 1 50734 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=title vecf[1] += mult(6) / length(4); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](6.000000) * idf[1](0.084557) (50734); -score = relevance(50734); - content: title cyberterrorism and computer crimes author aldrich richard w @@ -92,15 +65,6 @@ score = relevance(50734); 1 46506 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=subject vecf[1] += mult(3) / length(2); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](5.500000) * idf[1](0.084557) (46506); -score = relevance(46506); - content: title software design and usability author kaasgaard klaus @@ -117,16 +81,6 @@ score = relevance(46506); 1 44474 - -computer: field=description vecf[1] += mult(3) / length(14); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=title vecf[1] += mult(6) / length(11); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](5.259740) * idf[1](0.084557) (44474); -score = relevance(44474); - content: title everything you need to know about the dangers of computer hacking author knittel john @@ -141,14 +95,6 @@ score = relevance(44474); 1 44392 - -computer: field=subject vecf[1] += mult(3) / length(4); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](5.250000) * idf[1](0.084557) (44392); -score = relevance(44392); - content: title computer peripherals author cook barry m @@ -164,15 +110,6 @@ score = relevance(44392); 1 38990 - -computer: field=description vecf[1] += mult(3) / length(27); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](4.611111) * idf[1](0.084557) (38990); -score = relevance(38990); - content: title kids computer book @@ -187,13 +124,6 @@ score = relevance(38990); 1 38050 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](4.500000) * idf[1](0.084557) (38050); -score = relevance(38050); - content: title computer friendly author steinbacher raymond @@ -210,13 +140,6 @@ score = relevance(38050); 1 38050 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](4.500000) * idf[1](0.084557) (38050); -score = relevance(38050); - content: title computer misuse @@ -233,13 +156,6 @@ score = relevance(38050); 1 38050 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](4.500000) * idf[1](0.084557) (38050); -score = relevance(38050); - content: title computer networking author ross keith w @@ -256,14 +172,6 @@ score = relevance(38050); 1 38050 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](4.500000) * idf[1](0.084557) (38050); -score = relevance(38050); - content: title coreldraw for windows author davis phyllis @@ -283,13 +191,6 @@ score = relevance(38050); 1 38050 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(1); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](4.500000) * idf[1](0.084557) (38050); -score = relevance(38050); - content: title quicken for the mac author langer maria @@ -302,14 +203,6 @@ score = relevance(38050); 1 38050 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](4.500000) * idf[1](0.084557) (38050); -score = relevance(38050); - content: title sicherheit und schutz im netz @@ -326,14 +219,6 @@ score = relevance(38050); 1 38050 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](4.500000) * idf[1](0.084557) (38050); -score = relevance(38050); - content: title unix secure shell author carasik anne h @@ -350,15 +235,6 @@ score = relevance(38050); 1 35936 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=title vecf[1] += mult(6) / length(8); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](4.250000) * idf[1](0.084557) (35936); -score = relevance(35936); - content: title eight international conference on computer communications and networks @@ -375,14 +251,6 @@ score = relevance(35936); 1 33822 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(3); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](4.000000) * idf[1](0.084557) (33822); -score = relevance(33822); - content: title building storage networks author farley marc @@ -401,13 +269,6 @@ score = relevance(33822); 1 33822 - -computer: field=subject vecf[1] += mult(3) / length(1); -computer: field=subject vecf[1] += mult(3) / length(3); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](4.000000) * idf[1](0.084557) (33822); -score = relevance(33822); - content: title complete cl author malaga ernie @@ -424,14 +285,6 @@ score = relevance(33822); 1 33822 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(3); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](4.000000) * idf[1](0.084557) (33822); -score = relevance(33822); - content: title d games author watt alan h @@ -446,13 +299,6 @@ score = relevance(33822); 1 33822 - -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=subject vecf[1] += mult(3) / length(1); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](4.000000) * idf[1](0.084557) (33822); -score = relevance(33822); - content: title java applications strategies for the as author denoncourt don @@ -470,14 +316,6 @@ score = relevance(33822); 1 33822 - -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -idf[1] = log(((1 + total(110))/termoccur(102)); -computer: relevance += 100000 * vecf[1](4.000000) * idf[1](0.084557) (33822); -score = relevance(33822); - content: title mastering algorithms with c author loudon kyle \ No newline at end of file diff --git a/test/test_solr_13.res b/test/test_solr_13.res index 6749c16..f44540c 100644 --- a/test/test_solr_13.res +++ b/test/test_solr_13.res @@ -19,15 +19,6 @@ 1 34675 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](11.500000) * idf[1](0.030153) (34675); -score = relevance(34675); - content: title water author de villiers marq medium book @@ -51,17 +42,6 @@ score = relevance(34675); 2 32306 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(7); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](10.714286) * idf[1](0.030153) (32306); -score = relevance(32306); - content: title potable water and methods of detecting impurities author baker m n medium book @@ -80,15 +60,6 @@ score = relevance(32306); 1 30153 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](10.000000) * idf[1](0.030153) (30153); -score = relevance(30153); - content: title water author majeed abdul medium book @@ -108,14 +79,6 @@ score = relevance(30153); 1 27613 - -water: field=description vecf[1] += mult(3) / length(19); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](9.157894) * idf[1](0.030153) (27613); -score = relevance(27613); - content: title water author grant pamela medium book @@ -134,15 +97,6 @@ score = relevance(27613); 1 27137 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](9.000000) * idf[1](0.030153) (27137); -score = relevance(27137); - content: title water law author fisher d e medium book @@ -162,16 +116,6 @@ score = relevance(27137); 1 26233 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(5); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](8.700000) * idf[1](0.030153) (26233); -score = relevance(26233); - content: title a primer on fresh water medium book @@ -188,14 +132,6 @@ score = relevance(26233); 1 22614 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(12) / length(4); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.500000) * idf[1](0.030153) (22614); -score = relevance(22614); - content: title water and water supplies author thresh john clough medium book @@ -221,17 +157,6 @@ score = relevance(22614); 2 22614 - -water: field=subject vecf[1] += mult(3) / length(4); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(12) / length(8); -water: field=subject vecf[1] += mult(3) / length(4); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(12) / length(8); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.500000) * idf[1](0.030153) (22614); -score = relevance(22614); - content: title water quality assessment of the state water project medium book @@ -250,14 +175,6 @@ score = relevance(22614); 1 22614 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.500000) * idf[1](0.030153) (22614); -score = relevance(22614); - content: title water supply author mason william pitt medium book @@ -276,16 +193,6 @@ score = relevance(22614); 1 21836 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(7); -water: field=title-remainder vecf[1] += mult(5) / length(13); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.241758) * idf[1](0.030153) (21836); -score = relevance(21836); - content: title the law of waters and water rights author farnham henry p medium book @@ -313,17 +220,6 @@ score = relevance(21836); 2 20411 - -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(3); -water: field=title-remainder vecf[1] += mult(5) / length(13); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(3); -water: field=title-remainder vecf[1] += mult(5) / length(13); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.769231) * idf[1](0.030153) (20411); -score = relevance(20411); - content: title water in press medium book @@ -342,16 +238,6 @@ score = relevance(20411); 1 20353 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(4); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(12); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.750000) * idf[1](0.030153) (20353); -score = relevance(20353); - content: title regulations on the disposal of arsenic residuals from drinking water treatment plants medium book @@ -370,16 +256,6 @@ score = relevance(20353); 1 19700 - -water: field=description vecf[1] += mult(3) / length(17); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.533614) * idf[1](0.030153) (19700); -score = relevance(19700); - content: title a guide to montana water quality regulation author bryan michelle medium book @@ -396,15 +272,6 @@ score = relevance(19700); 1 19599 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.500000) * idf[1](0.030153) (19599); -score = relevance(19599); - content: title water technology management medium book @@ -423,16 +290,6 @@ score = relevance(19599); 1 19427 - -water: field=description vecf[1] += mult(3) / length(21); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(12) / length(15); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.442857) * idf[1](0.030153) (19427); -score = relevance(19427); - content: title aquatic habitat indicators and their application to water quality objectives within the clean water act author bauer steve medium book @@ -451,15 +308,6 @@ score = relevance(19427); 1 19297 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(15); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.400000) * idf[1](0.030153) (19297); -score = relevance(19297); - content: title an empirical analysis of water temperature and dissolved oxygen conditions in the red deer river author saffran karen anita medium book @@ -477,15 +325,6 @@ score = relevance(19297); 1 18845 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(4); -water: field=title vecf[1] += mult(6) / length(6); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.250000) * idf[1](0.030153) (18845); -score = relevance(18845); - content: title surface water quality monitoring procedures manual medium book @@ -502,16 +341,6 @@ score = relevance(18845); 1 18393 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.100000) * idf[1](0.030153) (18393); -score = relevance(18393); - content: title international conference on management of drinking water resources chennai december medium book @@ -526,14 +355,6 @@ score = relevance(18393); 1 18091 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.000000) * idf[1](0.030153) (18091); -score = relevance(18091); - content: title mercados e instituciones de aguas en bolivia medium book @@ -548,13 +369,6 @@ score = relevance(18091); 1 18091 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.000000) * idf[1](0.030153) (18091); -score = relevance(18091); - content: title water law medium book \ No newline at end of file diff --git a/test/test_solr_18.res b/test/test_solr_18.res index 2c6aec3..472432a 100644 --- a/test/test_solr_18.res +++ b/test/test_solr_18.res @@ -19,15 +19,6 @@ 1 34851 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(1); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](11.500000) * idf[1](0.030305) (34851); -score = relevance(34851); - content: title water author de villiers marq medium book @@ -51,17 +42,6 @@ score = relevance(34851); 2 32470 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(7); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](10.714286) * idf[1](0.030305) (32470); -score = relevance(32470); - content: title potable water and methods of detecting impurities author baker m n medium book @@ -80,15 +60,6 @@ score = relevance(32470); 1 30305 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(1); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](10.000000) * idf[1](0.030305) (30305); -score = relevance(30305); - content: title water author majeed abdul medium book @@ -108,14 +79,6 @@ score = relevance(30305); 1 27753 - -water: field=description vecf[1] += mult(3) / length(19); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(1); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](9.157894) * idf[1](0.030305) (27753); -score = relevance(27753); - content: title water author grant pamela medium book @@ -134,15 +97,6 @@ score = relevance(27753); 1 27274 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](9.000000) * idf[1](0.030305) (27274); -score = relevance(27274); - content: title water law author fisher d e medium book @@ -162,16 +116,6 @@ score = relevance(27274); 1 26365 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(5); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](8.700000) * idf[1](0.030305) (26365); -score = relevance(26365); - content: title a primer on fresh water medium book @@ -188,14 +132,6 @@ score = relevance(26365); 1 22729 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(12) / length(4); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](7.500000) * idf[1](0.030305) (22729); -score = relevance(22729); - content: title water and water supplies author thresh john clough medium book @@ -221,17 +157,6 @@ score = relevance(22729); 2 22729 - -water: field=subject vecf[1] += mult(3) / length(4); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(12) / length(8); -water: field=subject vecf[1] += mult(3) / length(4); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(12) / length(8); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](7.500000) * idf[1](0.030305) (22729); -score = relevance(22729); - content: title water quality assessment of the state water project medium book @@ -250,14 +175,6 @@ score = relevance(22729); 1 22729 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](7.500000) * idf[1](0.030305) (22729); -score = relevance(22729); - content: title water supply author mason william pitt medium book @@ -276,16 +193,6 @@ score = relevance(22729); 1 21946 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(7); -water: field=title-remainder vecf[1] += mult(5) / length(13); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](7.241758) * idf[1](0.030305) (21946); -score = relevance(21946); - content: title the law of waters and water rights author farnham henry p medium book @@ -313,17 +220,6 @@ score = relevance(21946); 2 20514 - -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(3); -water: field=title-remainder vecf[1] += mult(5) / length(13); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(3); -water: field=title-remainder vecf[1] += mult(5) / length(13); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](6.769231) * idf[1](0.030305) (20514); -score = relevance(20514); - content: title water in press medium book @@ -352,15 +248,6 @@ score = relevance(20514); 2 20514 - -water: field=title vecf[1] += mult(6) / length(2); -water: field=title-remainder vecf[1] += mult(5) / length(13); -water: field=title vecf[1] += mult(6) / length(2); -water: field=title-remainder vecf[1] += mult(5) / length(13); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](6.769231) * idf[1](0.030305) (20514); -score = relevance(20514); - content: title water power author frizell joseph p medium book @@ -387,17 +274,6 @@ score = relevance(20514); 2 20514 - -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(3); -water: field=title-remainder vecf[1] += mult(5) / length(13); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(3); -water: field=title-remainder vecf[1] += mult(5) / length(13); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](6.769231) * idf[1](0.030305) (20514); -score = relevance(20514); - content: title water supply engineering author folwell amory prescott medium book @@ -416,16 +292,6 @@ score = relevance(20514); 1 20456 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(4); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(12); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](6.750000) * idf[1](0.030305) (20456); -score = relevance(20456); - content: title regulations on the disposal of arsenic residuals from drinking water treatment plants medium book @@ -444,16 +310,6 @@ score = relevance(20456); 1 19800 - -water: field=description vecf[1] += mult(3) / length(17); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](6.533614) * idf[1](0.030305) (19800); -score = relevance(19800); - content: title a guide to montana water quality regulation author bryan michelle medium book @@ -470,15 +326,6 @@ score = relevance(19800); 1 19698 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](6.500000) * idf[1](0.030305) (19698); -score = relevance(19698); - content: title water technology management medium book @@ -497,16 +344,6 @@ score = relevance(19698); 1 19525 - -water: field=description vecf[1] += mult(3) / length(21); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(12) / length(15); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](6.442857) * idf[1](0.030305) (19525); -score = relevance(19525); - content: title aquatic habitat indicators and their application to water quality objectives within the clean water act author bauer steve medium book @@ -525,15 +362,6 @@ score = relevance(19525); 1 19395 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(15); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](6.400000) * idf[1](0.030305) (19395); -score = relevance(19395); - content: title an empirical analysis of water temperature and dissolved oxygen conditions in the red deer river author saffran karen anita medium book @@ -551,15 +379,6 @@ score = relevance(19395); 1 18940 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(4); -water: field=title vecf[1] += mult(6) / length(6); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](6.250000) * idf[1](0.030305) (18940); -score = relevance(18940); - content: title surface water quality monitoring procedures manual medium book @@ -576,16 +395,6 @@ score = relevance(18940); 1 18486 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(200))/termoccur(195)); -water: relevance += 100000 * vecf[1](6.100000) * idf[1](0.030305) (18486); -score = relevance(18486); - content: title international conference on management of drinking water resources chennai december medium book \ No newline at end of file diff --git a/test/test_solr_22.res b/test/test_solr_22.res index 50639e8..d225760 100644 --- a/test/test_solr_22.res +++ b/test/test_solr_22.res @@ -21,12 +21,6 @@ 1 121639 - -water: field=subject vecf[1] += mult(3) / length(1); -idf[1] = log(((1 + total(2))/termoccur(2)); -water: relevance += 100000 * vecf[1](3.000000) * idf[1](0.405465) (121639); -score = relevance(121639); - content: title the nitrogen permitting and trading plan for long island sound medium book @@ -41,13 +35,6 @@ score = relevance(121639); 1 78196 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(14); -idf[1] = log(((1 + total(2))/termoccur(2)); -water: relevance += 100000 * vecf[1](1.928571) * idf[1](0.405465) (78196); -score = relevance(78196); - content: title report of the water commissioners to the common council of the city of albany medium book \ No newline at end of file diff --git a/test/test_solr_25.res b/test/test_solr_25.res index 6749c16..f44540c 100644 --- a/test/test_solr_25.res +++ b/test/test_solr_25.res @@ -19,15 +19,6 @@ 1 34675 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](11.500000) * idf[1](0.030153) (34675); -score = relevance(34675); - content: title water author de villiers marq medium book @@ -51,17 +42,6 @@ score = relevance(34675); 2 32306 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(7); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](10.714286) * idf[1](0.030153) (32306); -score = relevance(32306); - content: title potable water and methods of detecting impurities author baker m n medium book @@ -80,15 +60,6 @@ score = relevance(32306); 1 30153 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](10.000000) * idf[1](0.030153) (30153); -score = relevance(30153); - content: title water author majeed abdul medium book @@ -108,14 +79,6 @@ score = relevance(30153); 1 27613 - -water: field=description vecf[1] += mult(3) / length(19); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](9.157894) * idf[1](0.030153) (27613); -score = relevance(27613); - content: title water author grant pamela medium book @@ -134,15 +97,6 @@ score = relevance(27613); 1 27137 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](9.000000) * idf[1](0.030153) (27137); -score = relevance(27137); - content: title water law author fisher d e medium book @@ -162,16 +116,6 @@ score = relevance(27137); 1 26233 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(5); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](8.700000) * idf[1](0.030153) (26233); -score = relevance(26233); - content: title a primer on fresh water medium book @@ -188,14 +132,6 @@ score = relevance(26233); 1 22614 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(12) / length(4); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.500000) * idf[1](0.030153) (22614); -score = relevance(22614); - content: title water and water supplies author thresh john clough medium book @@ -221,17 +157,6 @@ score = relevance(22614); 2 22614 - -water: field=subject vecf[1] += mult(3) / length(4); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(12) / length(8); -water: field=subject vecf[1] += mult(3) / length(4); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(12) / length(8); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.500000) * idf[1](0.030153) (22614); -score = relevance(22614); - content: title water quality assessment of the state water project medium book @@ -250,14 +175,6 @@ score = relevance(22614); 1 22614 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.500000) * idf[1](0.030153) (22614); -score = relevance(22614); - content: title water supply author mason william pitt medium book @@ -276,16 +193,6 @@ score = relevance(22614); 1 21836 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(7); -water: field=title-remainder vecf[1] += mult(5) / length(13); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.241758) * idf[1](0.030153) (21836); -score = relevance(21836); - content: title the law of waters and water rights author farnham henry p medium book @@ -313,17 +220,6 @@ score = relevance(21836); 2 20411 - -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(3); -water: field=title-remainder vecf[1] += mult(5) / length(13); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(3); -water: field=title-remainder vecf[1] += mult(5) / length(13); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.769231) * idf[1](0.030153) (20411); -score = relevance(20411); - content: title water in press medium book @@ -342,16 +238,6 @@ score = relevance(20411); 1 20353 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(4); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(12); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.750000) * idf[1](0.030153) (20353); -score = relevance(20353); - content: title regulations on the disposal of arsenic residuals from drinking water treatment plants medium book @@ -370,16 +256,6 @@ score = relevance(20353); 1 19700 - -water: field=description vecf[1] += mult(3) / length(17); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.533614) * idf[1](0.030153) (19700); -score = relevance(19700); - content: title a guide to montana water quality regulation author bryan michelle medium book @@ -396,15 +272,6 @@ score = relevance(19700); 1 19599 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.500000) * idf[1](0.030153) (19599); -score = relevance(19599); - content: title water technology management medium book @@ -423,16 +290,6 @@ score = relevance(19599); 1 19427 - -water: field=description vecf[1] += mult(3) / length(21); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(12) / length(15); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.442857) * idf[1](0.030153) (19427); -score = relevance(19427); - content: title aquatic habitat indicators and their application to water quality objectives within the clean water act author bauer steve medium book @@ -451,15 +308,6 @@ score = relevance(19427); 1 19297 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(15); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.400000) * idf[1](0.030153) (19297); -score = relevance(19297); - content: title an empirical analysis of water temperature and dissolved oxygen conditions in the red deer river author saffran karen anita medium book @@ -477,15 +325,6 @@ score = relevance(19297); 1 18845 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(4); -water: field=title vecf[1] += mult(6) / length(6); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.250000) * idf[1](0.030153) (18845); -score = relevance(18845); - content: title surface water quality monitoring procedures manual medium book @@ -502,16 +341,6 @@ score = relevance(18845); 1 18393 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.100000) * idf[1](0.030153) (18393); -score = relevance(18393); - content: title international conference on management of drinking water resources chennai december medium book @@ -526,14 +355,6 @@ score = relevance(18393); 1 18091 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.000000) * idf[1](0.030153) (18091); -score = relevance(18091); - content: title mercados e instituciones de aguas en bolivia medium book @@ -548,13 +369,6 @@ score = relevance(18091); 1 18091 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.000000) * idf[1](0.030153) (18091); -score = relevance(18091); - content: title water law medium book \ No newline at end of file diff --git a/test/test_solr_29.res b/test/test_solr_29.res index 50639e8..d225760 100644 --- a/test/test_solr_29.res +++ b/test/test_solr_29.res @@ -21,12 +21,6 @@ 1 121639 - -water: field=subject vecf[1] += mult(3) / length(1); -idf[1] = log(((1 + total(2))/termoccur(2)); -water: relevance += 100000 * vecf[1](3.000000) * idf[1](0.405465) (121639); -score = relevance(121639); - content: title the nitrogen permitting and trading plan for long island sound medium book @@ -41,13 +35,6 @@ score = relevance(121639); 1 78196 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(14); -idf[1] = log(((1 + total(2))/termoccur(2)); -water: relevance += 100000 * vecf[1](1.928571) * idf[1](0.405465) (78196); -score = relevance(78196); - content: title report of the water commissioners to the common council of the city of albany medium book \ No newline at end of file diff --git a/test/test_solr_4.res b/test/test_solr_4.res index 6749c16..f44540c 100644 --- a/test/test_solr_4.res +++ b/test/test_solr_4.res @@ -19,15 +19,6 @@ 1 34675 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](11.500000) * idf[1](0.030153) (34675); -score = relevance(34675); - content: title water author de villiers marq medium book @@ -51,17 +42,6 @@ score = relevance(34675); 2 32306 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(7); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](10.714286) * idf[1](0.030153) (32306); -score = relevance(32306); - content: title potable water and methods of detecting impurities author baker m n medium book @@ -80,15 +60,6 @@ score = relevance(32306); 1 30153 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](10.000000) * idf[1](0.030153) (30153); -score = relevance(30153); - content: title water author majeed abdul medium book @@ -108,14 +79,6 @@ score = relevance(30153); 1 27613 - -water: field=description vecf[1] += mult(3) / length(19); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](9.157894) * idf[1](0.030153) (27613); -score = relevance(27613); - content: title water author grant pamela medium book @@ -134,15 +97,6 @@ score = relevance(27613); 1 27137 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](9.000000) * idf[1](0.030153) (27137); -score = relevance(27137); - content: title water law author fisher d e medium book @@ -162,16 +116,6 @@ score = relevance(27137); 1 26233 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(5); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](8.700000) * idf[1](0.030153) (26233); -score = relevance(26233); - content: title a primer on fresh water medium book @@ -188,14 +132,6 @@ score = relevance(26233); 1 22614 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(12) / length(4); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.500000) * idf[1](0.030153) (22614); -score = relevance(22614); - content: title water and water supplies author thresh john clough medium book @@ -221,17 +157,6 @@ score = relevance(22614); 2 22614 - -water: field=subject vecf[1] += mult(3) / length(4); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(12) / length(8); -water: field=subject vecf[1] += mult(3) / length(4); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(12) / length(8); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.500000) * idf[1](0.030153) (22614); -score = relevance(22614); - content: title water quality assessment of the state water project medium book @@ -250,14 +175,6 @@ score = relevance(22614); 1 22614 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.500000) * idf[1](0.030153) (22614); -score = relevance(22614); - content: title water supply author mason william pitt medium book @@ -276,16 +193,6 @@ score = relevance(22614); 1 21836 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(7); -water: field=title-remainder vecf[1] += mult(5) / length(13); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.241758) * idf[1](0.030153) (21836); -score = relevance(21836); - content: title the law of waters and water rights author farnham henry p medium book @@ -313,17 +220,6 @@ score = relevance(21836); 2 20411 - -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(3); -water: field=title-remainder vecf[1] += mult(5) / length(13); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(3); -water: field=title-remainder vecf[1] += mult(5) / length(13); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.769231) * idf[1](0.030153) (20411); -score = relevance(20411); - content: title water in press medium book @@ -342,16 +238,6 @@ score = relevance(20411); 1 20353 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(4); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(12); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.750000) * idf[1](0.030153) (20353); -score = relevance(20353); - content: title regulations on the disposal of arsenic residuals from drinking water treatment plants medium book @@ -370,16 +256,6 @@ score = relevance(20353); 1 19700 - -water: field=description vecf[1] += mult(3) / length(17); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.533614) * idf[1](0.030153) (19700); -score = relevance(19700); - content: title a guide to montana water quality regulation author bryan michelle medium book @@ -396,15 +272,6 @@ score = relevance(19700); 1 19599 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.500000) * idf[1](0.030153) (19599); -score = relevance(19599); - content: title water technology management medium book @@ -423,16 +290,6 @@ score = relevance(19599); 1 19427 - -water: field=description vecf[1] += mult(3) / length(21); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(12) / length(15); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.442857) * idf[1](0.030153) (19427); -score = relevance(19427); - content: title aquatic habitat indicators and their application to water quality objectives within the clean water act author bauer steve medium book @@ -451,15 +308,6 @@ score = relevance(19427); 1 19297 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(15); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.400000) * idf[1](0.030153) (19297); -score = relevance(19297); - content: title an empirical analysis of water temperature and dissolved oxygen conditions in the red deer river author saffran karen anita medium book @@ -477,15 +325,6 @@ score = relevance(19297); 1 18845 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(4); -water: field=title vecf[1] += mult(6) / length(6); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.250000) * idf[1](0.030153) (18845); -score = relevance(18845); - content: title surface water quality monitoring procedures manual medium book @@ -502,16 +341,6 @@ score = relevance(18845); 1 18393 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.100000) * idf[1](0.030153) (18393); -score = relevance(18393); - content: title international conference on management of drinking water resources chennai december medium book @@ -526,14 +355,6 @@ score = relevance(18393); 1 18091 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.000000) * idf[1](0.030153) (18091); -score = relevance(18091); - content: title mercados e instituciones de aguas en bolivia medium book @@ -548,13 +369,6 @@ score = relevance(18091); 1 18091 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.000000) * idf[1](0.030153) (18091); -score = relevance(18091); - content: title water law medium book \ No newline at end of file diff --git a/test/test_solr_9.res b/test/test_solr_9.res index 6749c16..f44540c 100644 --- a/test/test_solr_9.res +++ b/test/test_solr_9.res @@ -19,15 +19,6 @@ 1 34675 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](11.500000) * idf[1](0.030153) (34675); -score = relevance(34675); - content: title water author de villiers marq medium book @@ -51,17 +42,6 @@ score = relevance(34675); 2 32306 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(7); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](10.714286) * idf[1](0.030153) (32306); -score = relevance(32306); - content: title potable water and methods of detecting impurities author baker m n medium book @@ -80,15 +60,6 @@ score = relevance(32306); 1 30153 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](10.000000) * idf[1](0.030153) (30153); -score = relevance(30153); - content: title water author majeed abdul medium book @@ -108,14 +79,6 @@ score = relevance(30153); 1 27613 - -water: field=description vecf[1] += mult(3) / length(19); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](9.157894) * idf[1](0.030153) (27613); -score = relevance(27613); - content: title water author grant pamela medium book @@ -134,15 +97,6 @@ score = relevance(27613); 1 27137 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](9.000000) * idf[1](0.030153) (27137); -score = relevance(27137); - content: title water law author fisher d e medium book @@ -162,16 +116,6 @@ score = relevance(27137); 1 26233 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(5); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](8.700000) * idf[1](0.030153) (26233); -score = relevance(26233); - content: title a primer on fresh water medium book @@ -188,14 +132,6 @@ score = relevance(26233); 1 22614 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(12) / length(4); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.500000) * idf[1](0.030153) (22614); -score = relevance(22614); - content: title water and water supplies author thresh john clough medium book @@ -221,17 +157,6 @@ score = relevance(22614); 2 22614 - -water: field=subject vecf[1] += mult(3) / length(4); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(12) / length(8); -water: field=subject vecf[1] += mult(3) / length(4); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(12) / length(8); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.500000) * idf[1](0.030153) (22614); -score = relevance(22614); - content: title water quality assessment of the state water project medium book @@ -250,14 +175,6 @@ score = relevance(22614); 1 22614 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.500000) * idf[1](0.030153) (22614); -score = relevance(22614); - content: title water supply author mason william pitt medium book @@ -276,16 +193,6 @@ score = relevance(22614); 1 21836 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(7); -water: field=title-remainder vecf[1] += mult(5) / length(13); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](7.241758) * idf[1](0.030153) (21836); -score = relevance(21836); - content: title the law of waters and water rights author farnham henry p medium book @@ -313,17 +220,6 @@ score = relevance(21836); 2 20411 - -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(3); -water: field=title-remainder vecf[1] += mult(5) / length(13); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=title vecf[1] += mult(6) / length(3); -water: field=title-remainder vecf[1] += mult(5) / length(13); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.769231) * idf[1](0.030153) (20411); -score = relevance(20411); - content: title water in press medium book @@ -342,16 +238,6 @@ score = relevance(20411); 1 20353 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(4); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(12); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.750000) * idf[1](0.030153) (20353); -score = relevance(20353); - content: title regulations on the disposal of arsenic residuals from drinking water treatment plants medium book @@ -370,16 +256,6 @@ score = relevance(20353); 1 19700 - -water: field=description vecf[1] += mult(3) / length(17); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.533614) * idf[1](0.030153) (19700); -score = relevance(19700); - content: title a guide to montana water quality regulation author bryan michelle medium book @@ -396,15 +272,6 @@ score = relevance(19700); 1 19599 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.500000) * idf[1](0.030153) (19599); -score = relevance(19599); - content: title water technology management medium book @@ -423,16 +290,6 @@ score = relevance(19599); 1 19427 - -water: field=description vecf[1] += mult(3) / length(21); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(12) / length(15); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.442857) * idf[1](0.030153) (19427); -score = relevance(19427); - content: title aquatic habitat indicators and their application to water quality objectives within the clean water act author bauer steve medium book @@ -451,15 +308,6 @@ score = relevance(19427); 1 19297 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(15); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.400000) * idf[1](0.030153) (19297); -score = relevance(19297); - content: title an empirical analysis of water temperature and dissolved oxygen conditions in the red deer river author saffran karen anita medium book @@ -477,15 +325,6 @@ score = relevance(19297); 1 18845 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -water: field=subject vecf[1] += mult(3) / length(4); -water: field=title vecf[1] += mult(6) / length(6); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.250000) * idf[1](0.030153) (18845); -score = relevance(18845); - content: title surface water quality monitoring procedures manual medium book @@ -502,16 +341,6 @@ score = relevance(18845); 1 18393 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(3); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.100000) * idf[1](0.030153) (18393); -score = relevance(18393); - content: title international conference on management of drinking water resources chennai december medium book @@ -526,14 +355,6 @@ score = relevance(18393); 1 18091 - -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(2); -water: field=subject vecf[1] += mult(3) / length(1); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.000000) * idf[1](0.030153) (18091); -score = relevance(18091); - content: title mercados e instituciones de aguas en bolivia medium book @@ -548,13 +369,6 @@ score = relevance(18091); 1 18091 - -water: field=subject vecf[1] += mult(3) / length(1); -water: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(98)); -water: relevance += 100000 * vecf[1](6.000000) * idf[1](0.030153) (18091); -score = relevance(18091); - content: title water law medium book \ No newline at end of file diff --git a/test/test_termlist_block_9.res b/test/test_termlist_block_9.res index be9c7de..56b0b3a 100644 --- a/test/test_termlist_block_9.res +++ b/test/test_termlist_block_9.res @@ -19,14 +19,6 @@ 1 49512 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(1); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](6.000000) * idf[1](0.082521) (49512); -score = relevance(49512); - content: title adobe illustrator for the mac author woodward c michael @@ -39,16 +31,6 @@ score = relevance(49512); 1 49512 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=title vecf[1] += mult(6) / length(6); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](6.000000) * idf[1](0.082521) (49512); -score = relevance(49512); - content: title advanced computer performance modeling and simulation @@ -67,15 +49,6 @@ score = relevance(49512); 1 49512 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=title vecf[1] += mult(6) / length(4); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](6.000000) * idf[1](0.082521) (49512); -score = relevance(49512); - content: title cyberterrorism and computer crimes author aldrich richard w @@ -92,15 +65,6 @@ score = relevance(49512); 1 45386 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=subject vecf[1] += mult(3) / length(2); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](5.500000) * idf[1](0.082521) (45386); -score = relevance(45386); - content: title software design and usability author kaasgaard klaus @@ -117,16 +81,6 @@ score = relevance(45386); 1 43403 - -computer: field=description vecf[1] += mult(3) / length(14); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=title vecf[1] += mult(6) / length(11); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](5.259740) * idf[1](0.082521) (43403); -score = relevance(43403); - content: title everything you need to know about the dangers of computer hacking author knittel john @@ -141,14 +95,6 @@ score = relevance(43403); 1 43323 - -computer: field=subject vecf[1] += mult(3) / length(4); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](5.250000) * idf[1](0.082521) (43323); -score = relevance(43323); - content: title computer peripherals author cook barry m @@ -164,15 +110,6 @@ score = relevance(43323); 1 38051 - -computer: field=description vecf[1] += mult(3) / length(27); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](4.611111) * idf[1](0.082521) (38051); -score = relevance(38051); - content: title kids computer book @@ -187,13 +124,6 @@ score = relevance(38051); 1 37134 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](4.500000) * idf[1](0.082521) (37134); -score = relevance(37134); - content: title computer friendly author steinbacher raymond @@ -210,13 +140,6 @@ score = relevance(37134); 1 37134 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](4.500000) * idf[1](0.082521) (37134); -score = relevance(37134); - content: title computer misuse @@ -233,13 +156,6 @@ score = relevance(37134); 1 37134 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=title vecf[1] += mult(6) / length(2); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](4.500000) * idf[1](0.082521) (37134); -score = relevance(37134); - content: title computer networking author ross keith w @@ -256,14 +172,6 @@ score = relevance(37134); 1 37134 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](4.500000) * idf[1](0.082521) (37134); -score = relevance(37134); - content: title coreldraw for windows author davis phyllis @@ -283,13 +191,6 @@ score = relevance(37134); 1 37134 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(1); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](4.500000) * idf[1](0.082521) (37134); -score = relevance(37134); - content: title quicken for the mac author langer maria @@ -302,14 +203,6 @@ score = relevance(37134); 1 37134 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](4.500000) * idf[1](0.082521) (37134); -score = relevance(37134); - content: title sicherheit und schutz im netz @@ -326,14 +219,6 @@ score = relevance(37134); 1 37134 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](4.500000) * idf[1](0.082521) (37134); -score = relevance(37134); - content: title unix secure shell author carasik anne h @@ -350,15 +235,6 @@ score = relevance(37134); 1 35071 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=title vecf[1] += mult(6) / length(8); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](4.250000) * idf[1](0.082521) (35071); -score = relevance(35071); - content: title eight international conference on computer communications and networks @@ -375,14 +251,6 @@ score = relevance(35071); 1 33008 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(3); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](4.000000) * idf[1](0.082521) (33008); -score = relevance(33008); - content: title building storage networks author farley marc @@ -401,13 +269,6 @@ score = relevance(33008); 1 33008 - -computer: field=subject vecf[1] += mult(3) / length(1); -computer: field=subject vecf[1] += mult(3) / length(3); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](4.000000) * idf[1](0.082521) (33008); -score = relevance(33008); - content: title complete cl author malaga ernie @@ -424,14 +285,6 @@ score = relevance(33008); 1 33008 - -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(3); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](4.000000) * idf[1](0.082521) (33008); -score = relevance(33008); - content: title d games author watt alan h @@ -446,13 +299,6 @@ score = relevance(33008); 1 33008 - -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=subject vecf[1] += mult(3) / length(1); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](4.000000) * idf[1](0.082521) (33008); -score = relevance(33008); - content: title java applications strategies for the as author denoncourt don @@ -470,14 +316,6 @@ score = relevance(33008); 1 33008 - -computer: field=subject vecf[1] += mult(3) / length(3); -computer: field=subject vecf[1] += mult(3) / length(2); -computer: field=subject vecf[1] += mult(3) / length(2); -idf[1] = log(((1 + total(100))/termoccur(93)); -computer: relevance += 100000 * vecf[1](4.000000) * idf[1](0.082521) (33008); -score = relevance(33008); - content: title mastering algorithms with c author loudon kyle \ No newline at end of file diff --git a/test/test_turbomarcxml_4.res b/test/test_turbomarcxml_4.res index 78171fa..674964c 100644 --- a/test/test_turbomarcxml_4.res +++ b/test/test_turbomarcxml_4.res @@ -22,12 +22,6 @@ under development to replace the printed Bibliography of Marine Geology 1 11882 - -computer: field=description vecf[1] += mult(3) / length(35); -idf[1] = log(((1 + total(3))/termoccur(1)); -computer: relevance += 100000 * vecf[1](0.085714) * idf[1](1.386294) (11882); -score = relevance(11882); - content: title bibliography of maine geology author medium book @@ -51,11 +45,6 @@ restricted to Southern Maine 1 0 - -idf[1] = log(((1 + total(3))/termoccur(1)); -computer: relevance += 100000 * vecf[1](0.000000) * idf[1](1.386294) (0); -score = relevance(0); - content: title groundwater resource maps county series author medium book @@ -75,11 +64,6 @@ operator, driller, location, depth, copies of logs run, permits, samples 1 0 - -idf[1] = log(((1 + total(3))/termoccur(1)); -computer: relevance += 100000 * vecf[1](0.000000) * idf[1](1.386294) (0); -score = relevance(0); - content: title oil gas drilling author medium book \ No newline at end of file diff --git a/test/test_turbomarcxml_7.res b/test/test_turbomarcxml_7.res index b8939f0..1a40e7f 100644 --- a/test/test_turbomarcxml_7.res +++ b/test/test_turbomarcxml_7.res @@ -15,12 +15,6 @@ 1 11882 - -computer: field=description vecf[1] += mult(3) / length(35); -idf[1] = log(((1 + total(3))/termoccur(1)); -computer: relevance += 100000 * vecf[1](0.085714) * idf[1](1.386294) (11882); -score = relevance(11882); - content: title bibliography of maine geology @@ -33,11 +27,6 @@ score = relevance(11882); 1 0 - -idf[1] = log(((1 + total(3))/termoccur(1)); -computer: relevance += 100000 * vecf[1](0.000000) * idf[1](1.386294) (0); -score = relevance(0); - content: title groundwater resource maps county series @@ -50,11 +39,6 @@ score = relevance(0); 1 0 - -idf[1] = log(((1 + total(3))/termoccur(1)); -computer: relevance += 100000 * vecf[1](0.000000) * idf[1](1.386294) (0); -score = relevance(0); - content: title oil gas drilling \ No newline at end of file diff --git a/test/test_url_3.res b/test/test_url_3.res index d46448f..6dbbbe2 100644 --- a/test/test_url_3.res +++ b/test/test_url_3.res @@ -20,13 +20,6 @@ 2 48160 - -computer: field=title vecf[1] += mult(6) / length(5); -computer: field=title vecf[1] += mult(6) / length(5); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](2.400000) * idf[1](0.200671) (48160); -score = relevance(48160); - content: title how to program a computer author jack collins medium book @@ -42,12 +35,6 @@ score = relevance(48160); 1 40134 - -computer: field=title vecf[1] += mult(6) / length(3); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.200671) (40134); -score = relevance(40134); - content: title the computer bible author medium book @@ -62,12 +49,6 @@ score = relevance(40134); 1 30100 - -computer: field=title vecf[1] += mult(6) / length(4); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](1.500000) * idf[1](0.200671) (30100); -score = relevance(30100); - content: title computer science technology author medium book @@ -82,12 +63,6 @@ score = relevance(30100); 1 17200 - -computer: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.200671) (17200); -score = relevance(17200); - content: title a plan for community college computer development author medium book @@ -106,12 +81,6 @@ score = relevance(17200); 1 17200 - -computer: field=title vecf[1] += mult(6) / length(7); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.200671) (17200); -score = relevance(17200); - content: title washington metropolitan area rail computer feasibility study author englund carl r medium book @@ -131,12 +100,6 @@ score = relevance(17200); 1 16722 - -computer: field=title-remainder vecf[1] += mult(5) / length(6); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](0.833333) * idf[1](0.200671) (16722); -score = relevance(16722); - content: title the puget sound region author mairs john w medium book @@ -153,12 +116,6 @@ score = relevance(16722); 1 12040 - -computer: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.200671) (12040); -score = relevance(12040); - content: title computer processing of dynamic images from an anger scintillation camera author medium book @@ -173,12 +130,6 @@ score = relevance(12040); 1 12040 - -computer: field=title vecf[1] += mult(6) / length(10); -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.200671) (12040); -score = relevance(12040); - content: title the use of passwords for controlled access to computer resources author wood helen m medium book @@ -195,11 +146,6 @@ score = relevance(12040); 1 0 - -idf[1] = log(((1 + total(10))/termoccur(9)); -computer: relevance += 100000 * vecf[1](0.000000) * idf[1](0.200671) (0); -score = relevance(0); - content: title reconstruction tomography in diagnostic radiology and nuclear medicine author medium book \ No newline at end of file diff --git a/test/test_url_6.res b/test/test_url_6.res index 1d54553..3f9a44b 100644 --- a/test/test_url_6.res +++ b/test/test_url_6.res @@ -16,12 +16,6 @@ 1 6707 - -the: field=description vecf[1] += mult(3) / length(31); -idf[1] = log(((1 + total(3))/termoccur(2)); -the: relevance += 100000 * vecf[1](0.096774) * idf[1](0.693147) (6707); -score = relevance(6707); - content: title applied geology file author medium book @@ -35,12 +29,6 @@ score = relevance(6707); 1 4951 - -the: field=description vecf[1] += mult(3) / length(42); -idf[1] = log(((1 + total(3))/termoccur(2)); -the: relevance += 100000 * vecf[1](0.071429) * idf[1](0.693147) (4951); -score = relevance(4951); - content: title utah geological and mineral survey publications author medium book @@ -54,11 +42,6 @@ score = relevance(4951); 1 0 - -idf[1] = log(((1 + total(3))/termoccur(2)); -the: relevance += 100000 * vecf[1](0.000000) * idf[1](0.693147) (0); -score = relevance(0); - content: title utah earthquake epicenters author medium book \ No newline at end of file -- 1.7.10.4