From ee40230fd0e997212b707fafcdec0da154fd1b21 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 21 Sep 2012 13:45:10 +0200 Subject: [PATCH] Return info about relevance score A new element, follows the as part of the show response. --- src/http_command.c | 6 ++ src/reclists.c | 11 +++ src/record.h | 2 + src/relevance.c | 38 +++++++- 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_18.res | 16 ++++ test/test_http_28.res | 18 ++++ test/test_http_32.res | 16 ++++ test/test_http_36.res | 47 ++++++++++ test/test_http_41.res | 40 ++++++++ test/test_http_42.res | 31 +++++++ test/test_http_45.res | 5 + test/test_http_49.res | 7 ++ test/test_http_5.res | 54 +++++++++++ test/test_http_50.res | 5 + test/test_http_60.res | 7 ++ test/test_http_63.res | 7 ++ test/test_http_66.res | 7 ++ test/test_http_72.res | 7 ++ test/test_http_74.res | 6 ++ test/test_http_76.res | 23 +++++ test/test_http_79.res | 12 +++ test/test_http_81.res | 10 ++ test/test_icu_9.res | 55 +++++++++++ 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_post_10.res | 54 +++++++++++ test/test_post_8.res | 54 +++++++++++ test/test_post_9.res | 15 +++ 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 ++++ 58 files changed, 2436 insertions(+), 5 deletions(-) diff --git a/src/http_command.c b/src/http_command.c index 2097eee..1cb1ae8 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -1137,8 +1137,14 @@ static void show_records(struct http_channel *c, struct http_session *s, int act if (ccount > 1) wrbuf_printf(c->wrbuf, "%d\n", ccount); if (strstr(sort, "relevance")) + { 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"); + } wrbuf_puts(c->wrbuf, ""); wrbuf_xmlputs(c->wrbuf, rec->recid); wrbuf_puts(c->wrbuf, "\n"); diff --git a/src/reclists.c b/src/reclists.c index 60df921..097b8c7 100644 --- a/src/reclists.c +++ b/src/reclists.c @@ -294,7 +294,16 @@ struct reclist *reclist_create(NMEM nmem) void reclist_destroy(struct reclist *l) { if (l) + { + struct reclist_bucket *rb; + + for (rb = l->sorted_list; rb; rb = rb->snext) + { + wrbuf_destroy(rb->record->relevance_explain1); + wrbuf_destroy(rb->record->relevance_explain2); + } yaz_mutex_destroy(&l->mutex); + } } int reclist_get_num_records(struct reclist *l) @@ -372,6 +381,8 @@ struct record_cluster *reclist_insert(struct reclist *l, memset(cluster->sortkeys, 0, sizeof(union data_types*) * service->num_sortkeys); + cluster->relevance_explain1 = wrbuf_alloc(); + cluster->relevance_explain2 = wrbuf_alloc(); /* attach to hash list */ *p = new; diff --git a/src/record.h b/src/record.h index 5ac558e..a5afde1 100644 --- a/src/record.h +++ b/src/record.h @@ -88,6 +88,8 @@ struct record_cluster float *term_frequency_vecf; // Set-specific ID for this record char *recid; + WRBUF relevance_explain1; + WRBUF relevance_explain2; struct record *records; }; diff --git a/src/relevance.c b/src/relevance.c index 9ad953b..3755b09 100644 --- a/src/relevance.c +++ b/src/relevance.c @@ -40,6 +40,7 @@ struct relevance struct word_entry { const char *norm_str; + const char *display_str; int termno; char *ccl_field; struct word_entry *next; @@ -77,6 +78,9 @@ void relevance_countwords(struct relevance *r, struct record_cluster *cluster, int *mult = cluster->term_frequency_vec_tmp; const char *norm_str; int i, length = 0; + struct word_entry *e = r->entries; + WRBUF w = cluster->relevance_explain1; + pp2_charset_token_first(r->prt, words, 0); for (i = 1; i < r->vec_len; i++) mult[i] = 0; @@ -96,9 +100,14 @@ void relevance_countwords(struct relevance *r, struct record_cluster *cluster, for (i = 1; i < r->vec_len; i++) { - if (length > 0) /* only add if non-empty */ + if (length > 0 && mult[i] > 0) /* only add if non-empty */ + { + wrbuf_printf(w, "%s: field=%s vecf[%d] += mult(%d) / length(%d);\n", + e->display_str, name, i, mult[i], length); cluster->term_frequency_vecf[i] += (double) mult[i] / length; + } cluster->term_frequency_vec[i] += mult[i]; + e = e->next; } cluster->term_frequency_vec[0] += length; @@ -138,6 +147,7 @@ static void pull_terms(struct relevance *res, struct ccl_rpn_node *n) (*e)->norm_str = nmem_strdup(res->nmem, norm_str); (*e)->ccl_field = ccl_field; (*e)->termno = res->vec_len++; + (*e)->display_str = nmem_strdup(res->nmem, words[i]); (*e)->next = 0; } } @@ -239,15 +249,27 @@ void relevance_prepare_read(struct relevance *rel, struct reclist *reclist) // Calculate relevance for each document while (1) { - int t; int relevance = 0; + WRBUF w; + struct word_entry *e = rel->entries; struct record_cluster *rec = reclist_read_record(reclist); if (!rec) break; - for (t = 1; t < rel->vec_len; t++) + w = rec->relevance_explain2; + wrbuf_rewind(w); + for (i = 1; i < rel->vec_len; i++) { - float termfreq = (float) rec->term_frequency_vecf[t]; - relevance += 100000 * termfreq * idfvec[t]; + float termfreq = (float) rec->term_frequency_vecf[i]; + int add = 100000 * termfreq * idfvec[i]; + + wrbuf_printf(w, "idf[%d] = log(((1 + total(%d))/termoccur(%d));\n", + i, rel->doc_frequency_vec[0], + rel->doc_frequency_vec[i]); + wrbuf_printf(w, "%s: relevance += 100000 * vecf[%d](%f) * " + "idf[%d](%f) (%d);\n", + e->display_str, i, termfreq, i, idfvec[i], add); + relevance += add; + e = e->next; } if (!rel->rank_cluster) { @@ -257,8 +279,14 @@ void relevance_prepare_read(struct relevance *rel, struct reclist *reclist) for (record = rec->records; record; record = record->next) cluster_size++; + wrbuf_printf(w, "score = relevance(%d)/cluster_size(%d);\n", + relevance, cluster_size); relevance /= cluster_size; } + else + { + wrbuf_printf(w, "score = relevance(%d);\n", relevance); + } rec->relevance_score = relevance; } reclist_leave(reclist); diff --git a/test/test_facets_13.res b/test/test_facets_13.res index bbb5448..a913096 100644 --- a/test/test_facets_13.res +++ b/test/test_facets_13.res @@ -18,6 +18,13 @@ Jack Collins 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 29137c8..a6107fb 100644 --- a/test/test_facets_16.res +++ b/test/test_facets_16.res @@ -18,6 +18,13 @@ Jack Collins 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 0e3a51d..06a75c5 100644 --- a/test/test_facets_24.res +++ b/test/test_facets_24.res @@ -18,6 +18,13 @@ Jack Collins 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 @@ -30,6 +37,12 @@ proceedings of a workshop held at the National Bureau of Standards, Gaithersburg, MD, June 3-4, 1976 1977 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 @@ -43,6 +56,12 @@ Hebrew and Greek; introductions in English Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates 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 @@ -59,6 +78,12 @@ Englund, Carl R "Contract DOT-UT-10003." 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 @@ -75,6 +100,12 @@ Mairs, John W Scale of maps ca. 1:1,000,000 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 @@ -87,6 +118,12 @@ the proceedings of a workshop 1974 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 @@ -99,6 +136,12 @@ 1977 Wood, Helen M 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 @@ -111,6 +154,11 @@ proceedings of the workshop 1977 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 c3bcbb2..ccff2df 100644 --- a/test/test_facets_4.res +++ b/test/test_facets_4.res @@ -18,6 +18,13 @@ Jack Collins 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 @@ -30,6 +37,12 @@ proceedings of a workshop held at the National Bureau of Standards, Gaithersburg, MD, June 3-4, 1976 1977 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 @@ -43,6 +56,12 @@ Hebrew and Greek; introductions in English Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates 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 @@ -59,6 +78,12 @@ Mairs, John W Scale of maps ca. 1:1,000,000 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 @@ -71,6 +96,12 @@ the proceedings of a workshop 1974 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 @@ -83,6 +114,11 @@ proceedings of the workshop 1977 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 24568bc..35ea9f9 100644 --- a/test/test_facets_9.res +++ b/test/test_facets_9.res @@ -18,6 +18,13 @@ Jack Collins 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 9d1eadd..b39072b 100644 --- a/test/test_filter_12.res +++ b/test/test_filter_12.res @@ -27,6 +27,13 @@ Talk shows Includes index 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 @@ -44,6 +51,12 @@ Hebrew and Greek; introductions in English Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates 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 @@ -65,6 +78,13 @@ Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures Includes bibliographical references 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 @@ -86,6 +106,12 @@ Scale of maps ca. 1:1,000,000 Bibliography: p. 4 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 @@ -102,6 +128,12 @@ Tomography Includes bibliographical references and index 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 @@ -122,6 +154,12 @@ Imaging systems in medicine Includes bibliographical references and index 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 @@ -141,6 +179,12 @@ Microfiche Distributed to depository libraries in microfiche 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 @@ -160,6 +204,12 @@ Microfiche Distributed to depository libraries in microfiche 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 @@ -174,6 +224,12 @@ Wood, Helen M Computers 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 @@ -188,6 +244,12 @@ 1977 Optical pattern recognition 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 @@ -210,6 +272,12 @@ "December 1984." Includes indexes 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 @@ -239,6 +307,11 @@ Includes bibliographical references "LP 87-403c." 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 2b390e9..5868483 100644 --- a/test/test_filter_3.res +++ b/test/test_filter_3.res @@ -27,6 +27,13 @@ Talk shows Includes index 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 @@ -44,6 +51,12 @@ Hebrew and Greek; introductions in English Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates 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 @@ -65,6 +78,13 @@ Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures Includes bibliographical references 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 @@ -86,6 +106,12 @@ Scale of maps ca. 1:1,000,000 Bibliography: p. 4 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 @@ -102,6 +128,12 @@ Tomography Includes bibliographical references and index 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 @@ -122,6 +154,12 @@ Imaging systems in medicine Includes bibliographical references and index 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 @@ -141,6 +179,12 @@ Microfiche Distributed to depository libraries in microfiche 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 @@ -160,6 +204,12 @@ Microfiche Distributed to depository libraries in microfiche 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 @@ -174,6 +224,12 @@ Wood, Helen M Computers 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 @@ -188,6 +244,12 @@ 1977 Optical pattern recognition 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 @@ -210,6 +272,12 @@ "December 1984." Includes indexes 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 @@ -239,6 +307,11 @@ Includes bibliographical references "LP 87-403c." 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 8aa054d..2de0a16 100644 --- a/test/test_filter_6.res +++ b/test/test_filter_6.res @@ -20,6 +20,12 @@ Hebrew and Greek; introductions in English Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates 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 @@ -41,6 +47,12 @@ Scale of maps ca. 1:1,000,000 Bibliography: p. 4 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 @@ -57,6 +69,12 @@ Tomography Includes bibliographical references and index 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 @@ -77,6 +95,12 @@ Imaging systems in medicine Includes bibliographical references and index 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 @@ -91,6 +115,12 @@ 1977 Optical pattern recognition 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 @@ -106,6 +136,11 @@ Jack Collins 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 8aa054d..2de0a16 100644 --- a/test/test_filter_9.res +++ b/test/test_filter_9.res @@ -20,6 +20,12 @@ Hebrew and Greek; introductions in English Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates 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 @@ -41,6 +47,12 @@ Scale of maps ca. 1:1,000,000 Bibliography: p. 4 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 @@ -57,6 +69,12 @@ Tomography Includes bibliographical references and index 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 @@ -77,6 +95,12 @@ Imaging systems in medicine Includes bibliographical references and index 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 @@ -91,6 +115,12 @@ 1977 Optical pattern recognition 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 @@ -106,6 +136,11 @@ Jack Collins 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_18.res b/test/test_http_18.res index 7bf8d1f..a4cb46e 100644 --- a/test/test_http_18.res +++ b/test/test_http_18.res @@ -16,6 +16,12 @@ test-usersetting-2 data: 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 @@ -29,6 +35,11 @@ test-usersetting-2 data: 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 @@ -42,6 +53,11 @@ test-usersetting-2 data: 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_http_28.res b/test/test_http_28.res index 77035ab..4d93455 100644 --- a/test/test_http_28.res +++ b/test/test_http_28.res @@ -11,6 +11,12 @@ name="Index Data GILS test server" checksum="2074161109"> UTAH GEOCHROMOMETRY 86304 + +utah: field=title vecf[1] += mult(6) / length(2); +idf[1] = log(((1 + total(3))/termoccur(3)); +utah: relevance += 100000 * vecf[1](3.000000) * idf[1](0.287682) (86304); +score = relevance(86304); + content: title utah geochromometry author medium book @@ -19,6 +25,12 @@ name="Index Data GILS test server" checksum="1725776531"> UTAH EARTHQUAKE EPICENTERS 57536 + +utah: field=title vecf[1] += mult(6) / length(3); +idf[1] = log(((1 + total(3))/termoccur(3)); +utah: relevance += 100000 * vecf[1](2.000000) * idf[1](0.287682) (57536); +score = relevance(57536); + content: title utah earthquake epicenters author medium book @@ -27,6 +39,12 @@ name="Index Data GILS test server" checksum="1899968820"> UTAH GEOLOGICAL AND MINERAL SURVEY PUBLICATIONS 28768 + +utah: field=title vecf[1] += mult(6) / length(6); +idf[1] = log(((1 + total(3))/termoccur(3)); +utah: relevance += 100000 * vecf[1](1.000000) * idf[1](0.287682) (28768); +score = relevance(28768); + content: title utah geological and mineral survey publications author medium book \ No newline at end of file diff --git a/test/test_http_32.res b/test/test_http_32.res index 5268bf3..d8ce812 100644 --- a/test/test_http_32.res +++ b/test/test_http_32.res @@ -13,6 +13,12 @@ BIBLIOGRAPHY OF MAINE GEOLOGY This data base is a computer based bibliography of marine geology. It allows searching by topic and geographic location, similar to GEOREF. It is currently under development to replace the printed Bibliography of Marine Geology 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 @@ -23,6 +29,11 @@ GROUNDWATER RESOURCE MAPS - COUNTY SERIES A series of 1:250,000 scale maps showing well yield, well depth, and depth to bedrock for a large number of bedrock wells inventoried by the Maine Geological Survey in the mid-to late 1970's comprises this data set. Some series also show bedrock topography and potentiometric surface. Geographic coverage is restricted to Southern Maine 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 @@ -33,6 +44,11 @@ OIL/GAS DRILLING This database contains information on oil and gas drilling such as well name, operator, driller, location, depth, copies of logs run, permits, samples (cuttings, core), completion records 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_http_36.res b/test/test_http_36.res index 011d4fc..4275ecc 100644 --- a/test/test_http_36.res +++ b/test/test_http_36.res @@ -20,6 +20,12 @@ test-usersetting-2 data: YYYYYYYYY 50262 + +computer: field=title vecf[1] += mult(6) / length(3); +idf[1] = log(((1 + total(8))/termoccur(7)); +computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.251314) (50262); +score = relevance(50262); + content: title computer science technology author medium book @@ -40,6 +46,12 @@ test-usersetting-2 data: YYYYYYYYY 50262 + +computer: field=title vecf[1] += mult(6) / length(3); +idf[1] = log(((1 + total(8))/termoccur(7)); +computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.251314) (50262); +score = relevance(50262); + content: title the computer bible author medium book @@ -59,6 +71,12 @@ test-usersetting-2 data: YYYYYYYYY 21541 + +computer: field=title vecf[1] += mult(6) / length(7); +idf[1] = log(((1 + total(8))/termoccur(7)); +computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.251314) (21541); +score = relevance(21541); + content: title a plan for community college computer development author medium book @@ -80,6 +98,12 @@ test-usersetting-2 data: YYYYYYYYY 21541 + +computer: field=title vecf[1] += mult(6) / length(7); +idf[1] = log(((1 + total(8))/termoccur(7)); +computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.251314) (21541); +score = relevance(21541); + content: title washington metropolitan area rail computer feasibility study author englund carl r medium book @@ -104,6 +128,12 @@ test-usersetting-2 data: YYYYYYYYY 20942 + +computer: field=title-remainder vecf[1] += mult(5) / length(6); +idf[1] = log(((1 + total(8))/termoccur(7)); +computer: relevance += 100000 * vecf[1](0.833333) * idf[1](0.251314) (20942); +score = relevance(20942); + content: title the puget sound region author mairs john w medium book @@ -127,6 +157,12 @@ test-usersetting-2 data: YYYYYYYYY 15078 + +computer: field=title vecf[1] += mult(6) / length(10); +idf[1] = log(((1 + total(8))/termoccur(7)); +computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.251314) (15078); +score = relevance(15078); + content: title computer processing of dynamic images from an anger scintillation camera author medium book @@ -144,6 +180,12 @@ test-usersetting-2 data: YYYYYYYYY 15078 + +computer: field=title vecf[1] += mult(6) / length(10); +idf[1] = log(((1 + total(8))/termoccur(7)); +computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.251314) (15078); +score = relevance(15078); + content: title the use of passwords for controlled access to computer resources author wood helen m medium book @@ -163,6 +205,11 @@ test-usersetting-2 data: YYYYYYYYY 0 + +idf[1] = log(((1 + total(8))/termoccur(7)); +computer: relevance += 100000 * vecf[1](0.000000) * idf[1](0.251314) (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_http_41.res b/test/test_http_41.res index ae79c68..97953a4 100644 --- a/test/test_http_41.res +++ b/test/test_http_41.res @@ -11,6 +11,11 @@ name="Index Data GILS test server" checksum="2074161109"> APPLIED GEOLOGY FILE 0 + +idf[1] = log(((1 + total(8))/termoccur(0)); +the: relevance += 100000 * vecf[1](0.000000) * idf[1](0.000000) (0); +score = relevance(0); + content: title applied geology file author medium book @@ -19,6 +24,11 @@ name="Index Data GILS test server" checksum="2770930265"> ELECTRIC LOG LIBRARY 0 + +idf[1] = log(((1 + total(8))/termoccur(0)); +the: relevance += 100000 * vecf[1](0.000000) * idf[1](0.000000) (0); +score = relevance(0); + content: title electric log library author medium book @@ -27,6 +37,11 @@ name="Index Data GILS test server" checksum="2945122554"> ISOTOPIC DATES OF ROCKS AND MINERALS 0 + +idf[1] = log(((1 + total(8))/termoccur(0)); +the: relevance += 100000 * vecf[1](0.000000) * idf[1](0.000000) (0); +score = relevance(0); + content: title isotopic dates of rocks and minerals author medium book @@ -35,6 +50,11 @@ name="Index Data GILS test server" checksum="2422545687"> MINE MAP INDEX 0 + +idf[1] = log(((1 + total(8))/termoccur(0)); +the: relevance += 100000 * vecf[1](0.000000) * idf[1](0.000000) (0); +score = relevance(0); + content: title mine map index author medium book @@ -43,6 +63,11 @@ name="Index Data GILS test server" checksum="2248353398"> UTAH CRIB FILE 0 + +idf[1] = log(((1 + total(8))/termoccur(0)); +the: relevance += 100000 * vecf[1](0.000000) * idf[1](0.000000) (0); +score = relevance(0); + content: title utah crib file author medium book @@ -51,6 +76,11 @@ name="Index Data GILS test server" checksum="1725776531"> UTAH EARTHQUAKE EPICENTERS 0 + +idf[1] = log(((1 + total(8))/termoccur(0)); +the: relevance += 100000 * vecf[1](0.000000) * idf[1](0.000000) (0); +score = relevance(0); + content: title utah earthquake epicenters author medium book @@ -59,6 +89,11 @@ name="Index Data GILS test server" checksum="2596737976"> UTAH GEOLOGIC MAP BIBLIOGRAPHY 0 + +idf[1] = log(((1 + total(8))/termoccur(0)); +the: relevance += 100000 * vecf[1](0.000000) * idf[1](0.000000) (0); +score = relevance(0); + content: title utah geologic map bibliography author medium book @@ -67,6 +102,11 @@ name="Index Data GILS test server" checksum="1899968820"> UTAH GEOLOGICAL AND MINERAL SURVEY PUBLICATIONS 0 + +idf[1] = log(((1 + total(8))/termoccur(0)); +the: relevance += 100000 * vecf[1](0.000000) * idf[1](0.000000) (0); +score = relevance(0); + content: title utah geological and mineral survey publications author medium book \ No newline at end of file diff --git a/test/test_http_42.res b/test/test_http_42.res index f0001db..4e1e409 100644 --- a/test/test_http_42.res +++ b/test/test_http_42.res @@ -27,6 +27,13 @@ test-usersetting-2 data: YYYYYYYYY 31823 + +the: field=title vecf[1] += mult(6) / length(5); +the: field=description vecf[1] += mult(6) / length(11); +idf[1] = log(((1 + total(5))/termoccur(5)); +the: relevance += 100000 * vecf[1](1.745455) * idf[1](0.182322) (31823); +score = relevance(31823); + content: title the religious teachers of greece author adam james medium book @@ -51,6 +58,12 @@ test-usersetting-2 data: YYYYYYYYY 27348 + +the: field=title vecf[1] += mult(6) / length(4); +idf[1] = log(((1 + total(5))/termoccur(5)); +the: relevance += 100000 * vecf[1](1.500000) * idf[1](0.182322) (27348); +score = relevance(27348); + content: title the puget sound region author mairs john w medium book @@ -70,6 +83,12 @@ test-usersetting-2 data: YYYYYYYYY 22790 + +the: field=title-remainder vecf[1] += mult(5) / length(4); +idf[1] = log(((1 + total(5))/termoccur(5)); +the: relevance += 100000 * vecf[1](1.250000) * idf[1](0.182322) (22790); +score = relevance(22790); + content: title reconstruction tomography in diagnostic radiology and nuclear medicine author medium book @@ -87,6 +106,12 @@ test-usersetting-2 data: YYYYYYYYY 10939 + +the: field=title vecf[1] += mult(6) / length(10); +idf[1] = log(((1 + total(5))/termoccur(5)); +the: relevance += 100000 * vecf[1](0.600000) * idf[1](0.182322) (10939); +score = relevance(10939); + content: title the use of passwords for controlled access to computer resources author wood helen m medium book @@ -104,6 +129,12 @@ test-usersetting-2 data: YYYYYYYYY 6511 + +the: field=title-remainder vecf[1] += mult(5) / length(14); +idf[1] = log(((1 + total(5))/termoccur(5)); +the: relevance += 100000 * vecf[1](0.357143) * idf[1](0.182322) (6511); +score = relevance(6511); + content: title computer science technology author medium book \ No newline at end of file diff --git a/test/test_http_45.res b/test/test_http_45.res index 590ad27..1239939 100644 --- a/test/test_http_45.res +++ b/test/test_http_45.res @@ -26,6 +26,11 @@ test-usersetting-2 data: YYYYYYYYY 0 + +idf[1] = log(((1 + total(1))/termoccur(0)); +louis: relevance += 100000 * vecf[1](0.000000) * idf[1](0.000000) (0); +score = relevance(0); + content: title computer processing of dynamic images from an anger scintillation camera author medium book \ No newline at end of file diff --git a/test/test_http_49.res b/test/test_http_49.res index a0046a5..32d5a8a 100644 --- a/test/test_http_49.res +++ b/test/test_http_49.res @@ -27,6 +27,13 @@ test-usersetting-2 data: YYYYYYYYY 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 medium book \ No newline at end of file diff --git a/test/test_http_5.res b/test/test_http_5.res index f994402..8adc900 100644 --- a/test/test_http_5.res +++ b/test/test_http_5.res @@ -24,6 +24,13 @@ YYYYYYYYY 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 @@ -41,6 +48,12 @@ test-usersetting-2 data: YYYYYYYYY 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 author medium book @@ -61,6 +74,12 @@ test-usersetting-2 data: YYYYYYYYY 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 @@ -80,6 +99,12 @@ test-usersetting-2 data: YYYYYYYYY 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 @@ -101,6 +126,12 @@ test-usersetting-2 data: YYYYYYYYY 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 @@ -125,6 +156,12 @@ test-usersetting-2 data: YYYYYYYYY 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 @@ -148,6 +185,12 @@ test-usersetting-2 data: YYYYYYYYY 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 @@ -165,6 +208,12 @@ test-usersetting-2 data: YYYYYYYYY 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 @@ -184,6 +233,11 @@ test-usersetting-2 data: YYYYYYYYY 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_http_50.res b/test/test_http_50.res index 590ad27..1239939 100644 --- a/test/test_http_50.res +++ b/test/test_http_50.res @@ -26,6 +26,11 @@ test-usersetting-2 data: YYYYYYYYY 0 + +idf[1] = log(((1 + total(1))/termoccur(0)); +louis: relevance += 100000 * vecf[1](0.000000) * idf[1](0.000000) (0); +score = relevance(0); + content: title computer processing of dynamic images from an anger scintillation camera author medium book \ No newline at end of file diff --git a/test/test_http_60.res b/test/test_http_60.res index a0046a5..32d5a8a 100644 --- a/test/test_http_60.res +++ b/test/test_http_60.res @@ -27,6 +27,13 @@ test-usersetting-2 data: YYYYYYYYY 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 medium book \ No newline at end of file diff --git a/test/test_http_63.res b/test/test_http_63.res index a0046a5..32d5a8a 100644 --- a/test/test_http_63.res +++ b/test/test_http_63.res @@ -27,6 +27,13 @@ test-usersetting-2 data: YYYYYYYYY 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 medium book \ No newline at end of file diff --git a/test/test_http_66.res b/test/test_http_66.res index a0046a5..32d5a8a 100644 --- a/test/test_http_66.res +++ b/test/test_http_66.res @@ -27,6 +27,13 @@ test-usersetting-2 data: YYYYYYYYY 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 medium book \ No newline at end of file diff --git a/test/test_http_72.res b/test/test_http_72.res index a0046a5..32d5a8a 100644 --- a/test/test_http_72.res +++ b/test/test_http_72.res @@ -27,6 +27,13 @@ test-usersetting-2 data: YYYYYYYYY 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 medium book \ No newline at end of file diff --git a/test/test_http_74.res b/test/test_http_74.res index 9820ddf..64bda48 100644 --- a/test/test_http_74.res +++ b/test/test_http_74.res @@ -24,6 +24,12 @@ test-usersetting-2 data: YYYYYYYYY 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 medium book \ No newline at end of file diff --git a/test/test_http_76.res b/test/test_http_76.res index 59c4719..154ce24 100644 --- a/test/test_http_76.res +++ b/test/test_http_76.res @@ -20,6 +20,12 @@ test-usersetting-2 data: YYYYYYYYY 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 author medium book @@ -40,6 +46,12 @@ test-usersetting-2 data: YYYYYYYYY 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 author medium book @@ -57,6 +69,12 @@ test-usersetting-2 data: YYYYYYYYY 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 medium book @@ -76,6 +94,11 @@ test-usersetting-2 data: YYYYYYYYY 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 author medium book \ No newline at end of file diff --git a/test/test_http_79.res b/test/test_http_79.res index 0f44b56..60ab8a7 100644 --- a/test/test_http_79.res +++ b/test/test_http_79.res @@ -27,6 +27,12 @@ test-usersetting-2 data: YYYYYYYYY 60819 + +adam: field=author vecf[1] += mult(3) / length(2); +idf[1] = log(((1 + total(2))/termoccur(2)); +adam: relevance += 100000 * vecf[1](1.500000) * idf[1](0.405465) (60819); +score = relevance(60819); + content: title the religious teachers of greece author adam james medium book @@ -49,6 +55,12 @@ test-usersetting-2 data: YYYYYYYYY 40546 + +adam: field=author vecf[1] += mult(3) / length(3); +idf[1] = log(((1 + total(2))/termoccur(2)); +adam: relevance += 100000 * vecf[1](1.000000) * idf[1](0.405465) (40546); +score = relevance(40546); + content: title four psalms author smith george adam medium book \ No newline at end of file diff --git a/test/test_http_81.res b/test/test_http_81.res index ffaa7f0..8d50bf8 100644 --- a/test/test_http_81.res +++ b/test/test_http_81.res @@ -27,6 +27,16 @@ test-usersetting-2 data: YYYYYYYYY 374298 + +teachers: field=title vecf[1] += mult(6) / length(5); +greece: field=title vecf[2] += mult(6) / length(5); +greece: field=subject vecf[2] += mult(3) / length(1); +idf[1] = log(((1 + total(1))/termoccur(1)); +teachers: relevance += 100000 * vecf[1](1.200000) * idf[1](0.693147) (83177); +idf[2] = log(((1 + total(1))/termoccur(1)); +greece: relevance += 100000 * vecf[2](4.200000) * idf[2](0.693147) (291121); +score = relevance(374298); + content: title the religious teachers of greece author adam james medium book \ No newline at end of file diff --git a/test/test_icu_9.res b/test/test_icu_9.res index 2f16bf0..409dc0f 100644 --- a/test/test_icu_9.res +++ b/test/test_icu_9.res @@ -18,6 +18,13 @@ test-usersetting-2 data: YYYYYYYYY 72241 + +computer: field=title vecf[1] += mult(6) / length(10); +computer: field=subject vecf[1] += mult(3) / length(1); +idf[1] = log(((1 + total(10))/termoccur(9)); +computer: relevance += 100000 * vecf[1](3.600000) * idf[1](0.200671) (72241); +score = relevance(72241); + content: title the use of passwords for controlled access to computer resources author wood helen m medium book @@ -39,6 +46,13 @@ YYYYYYYYY 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 @@ -55,6 +69,12 @@ test-usersetting-2 data: YYYYYYYYY 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 @@ -70,6 +90,12 @@ test-usersetting-2 data: YYYYYYYYY 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 @@ -85,6 +111,12 @@ test-usersetting-2 data: YYYYYYYYY 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 @@ -104,6 +136,12 @@ test-usersetting-2 data: YYYYYYYYY 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 @@ -124,6 +162,12 @@ test-usersetting-2 data: YYYYYYYYY 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 @@ -141,6 +185,12 @@ test-usersetting-2 data: YYYYYYYYY 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 @@ -158,6 +208,11 @@ test-usersetting-2 data: YYYYYYYYY 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_limit_limitmap_15.res b/test/test_limit_limitmap_15.res index 0c2b760..c36ef7a 100644 --- a/test/test_limit_limitmap_15.res +++ b/test/test_limit_limitmap_15.res @@ -18,6 +18,13 @@ Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures XXXXXXXXXX 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 0c2b760..c36ef7a 100644 --- a/test/test_limit_limitmap_18.res +++ b/test/test_limit_limitmap_18.res @@ -18,6 +18,13 @@ Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures XXXXXXXXXX 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 0c2b760..c36ef7a 100644 --- a/test/test_limit_limitmap_21.res +++ b/test/test_limit_limitmap_21.res @@ -18,6 +18,13 @@ Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures XXXXXXXXXX 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 69e0dfa..1ca64b1 100644 --- a/test/test_limit_limitmap_24.res +++ b/test/test_limit_limitmap_24.res @@ -20,6 +20,12 @@ "Contract DOT-UT-10003." XXXXXXXXXX 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 e69d6ea..70dbd80 100644 --- a/test/test_limit_limitmap_26.res +++ b/test/test_limit_limitmap_26.res @@ -16,6 +16,12 @@ 1977 XXXXXXXXXX 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 @@ -30,6 +36,12 @@ Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates XXXXXXXXXX 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 @@ -43,6 +55,12 @@ Wood, Helen M XXXXXXXXXX 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 @@ -56,6 +74,11 @@ 1977 XXXXXXXXXX 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 2d2dd41..1a12e85 100644 --- a/test/test_limit_limitmap_28.res +++ b/test/test_limit_limitmap_28.res @@ -21,6 +21,12 @@ "Contract DOT-UT-10003." XXXXXXXXXX 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 fd0bdb2..4604b8b 100644 --- a/test/test_limit_limitmap_30.res +++ b/test/test_limit_limitmap_30.res @@ -17,6 +17,12 @@ 1977 XXXXXXXXXX 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 @@ -31,6 +37,12 @@ Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates XXXXXXXXXX 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 @@ -44,6 +56,12 @@ Wood, Helen M XXXXXXXXXX 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 @@ -57,6 +75,11 @@ 1977 XXXXXXXXXX 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 fd0bdb2..4604b8b 100644 --- a/test/test_limit_limitmap_36.res +++ b/test/test_limit_limitmap_36.res @@ -17,6 +17,12 @@ 1977 XXXXXXXXXX 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 @@ -31,6 +37,12 @@ Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates XXXXXXXXXX 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 @@ -44,6 +56,12 @@ Wood, Helen M XXXXXXXXXX 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 @@ -57,6 +75,11 @@ 1977 XXXXXXXXXX 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 3367e01..1735d94 100644 --- a/test/test_limit_limitmap_4.res +++ b/test/test_limit_limitmap_4.res @@ -20,6 +20,13 @@ XXXXXXXXXX 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 @@ -33,6 +40,12 @@ 1977 XXXXXXXXXX 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 @@ -47,6 +60,12 @@ Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates XXXXXXXXXX 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 @@ -60,6 +79,12 @@ Cover title XXXXXXXXXX 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 @@ -77,6 +102,12 @@ "Contract DOT-UT-10003." XXXXXXXXXX 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 @@ -94,6 +125,12 @@ Scale of maps ca. 1:1,000,000 XXXXXXXXXX 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 @@ -107,6 +144,12 @@ 1974 XXXXXXXXXX 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 @@ -120,6 +163,12 @@ Wood, Helen M XXXXXXXXXX 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 @@ -133,6 +182,11 @@ 1977 XXXXXXXXXX 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 fd0bdb2..4604b8b 100644 --- a/test/test_limit_limitmap_42.res +++ b/test/test_limit_limitmap_42.res @@ -17,6 +17,12 @@ 1977 XXXXXXXXXX 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 @@ -31,6 +37,12 @@ Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates XXXXXXXXXX 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 @@ -44,6 +56,12 @@ Wood, Helen M XXXXXXXXXX 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 @@ -57,6 +75,11 @@ 1977 XXXXXXXXXX 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 05c0ac8..aae7890 100644 --- a/test/test_limit_limitmap_9.res +++ b/test/test_limit_limitmap_9.res @@ -17,6 +17,14 @@ 2001 Woodward, C. Michael 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 @@ -27,6 +35,16 @@ Advanced computer performance modeling and simulation 1998 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 @@ -43,6 +61,15 @@ Aldrich, Richard W "April 2000." 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 @@ -57,6 +84,15 @@ 2000 Kaasgaard, Klaus 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 @@ -71,6 +107,16 @@ Knittel, John Explains what computer hacking is, who does it, and how dangerous it can be 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 @@ -83,6 +129,14 @@ 1995 Cook, Barry M 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 @@ -96,6 +150,15 @@ "For kids and their parents"--Cover Discusses a variety of educational and game software for children with suggestions for setting up a computer system. Includes a 3 1/2 in. disk with 6 shareware programs for children 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 @@ -108,6 +171,13 @@ 1999 Steinbacher, Raymond 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 @@ -122,6 +192,13 @@ "NZLC R54"--T.p. verso "Also published as Parliamentary Paper E 31AO"--T.p. verso 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 @@ -136,6 +213,13 @@ 2001 Ross, Keith W 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 @@ -150,6 +234,14 @@ Davis, Phyllis Includes index 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 @@ -167,6 +259,13 @@ Includes index "Covers Quicken deluxe 2000 for the Mac"--Cover 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 @@ -177,6 +276,14 @@ Sicherheit und Schutz im Netz 1998 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 @@ -191,6 +298,14 @@ Carasik, Anne H Includes index 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 @@ -205,6 +320,15 @@ 1999 "IEEE catalog number 99EX370"--T.p. verso 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 @@ -219,6 +343,14 @@ Farley, Marc Includes index 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 @@ -235,6 +367,13 @@ Malaga, Ernie Includes index 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 @@ -249,6 +388,14 @@ 2001 Watt, Alan H 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 @@ -261,6 +408,13 @@ 1999 Denoncourt, Don 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 @@ -276,6 +430,14 @@ "Useful techniques from sorting to encryption"--Cover Includes index 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_post_10.res b/test/test_post_10.res index 1115b7d..2def561 100644 --- a/test/test_post_10.res +++ b/test/test_post_10.res @@ -18,6 +18,13 @@ Jack Collins 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 @@ -30,6 +37,12 @@ proceedings of a workshop held at the National Bureau of Standards, Gaithersburg, MD, June 3-4, 1976 1977 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 author medium book @@ -40,6 +53,12 @@ The Computer Bible 1973-1980 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 @@ -50,6 +69,12 @@ A plan for community college computer development 1971 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 @@ -64,6 +89,12 @@ 1971 Englund, Carl R 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 @@ -78,6 +109,12 @@ 1974 Mairs, John W 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 @@ -90,6 +127,12 @@ the proceedings of a workshop 1974 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 @@ -102,6 +145,12 @@ 1977 Wood, Helen M 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 @@ -114,6 +163,11 @@ proceedings of the workshop 1977 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_post_8.res b/test/test_post_8.res index 1115b7d..2def561 100644 --- a/test/test_post_8.res +++ b/test/test_post_8.res @@ -18,6 +18,13 @@ Jack Collins 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 @@ -30,6 +37,12 @@ proceedings of a workshop held at the National Bureau of Standards, Gaithersburg, MD, June 3-4, 1976 1977 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 author medium book @@ -40,6 +53,12 @@ The Computer Bible 1973-1980 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 @@ -50,6 +69,12 @@ A plan for community college computer development 1971 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 @@ -64,6 +89,12 @@ 1971 Englund, Carl R 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 @@ -78,6 +109,12 @@ 1974 Mairs, John W 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 @@ -90,6 +127,12 @@ the proceedings of a workshop 1974 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 @@ -102,6 +145,12 @@ 1977 Wood, Helen M 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 @@ -114,6 +163,11 @@ proceedings of the workshop 1977 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_post_9.res b/test/test_post_9.res index d8d07be..a6cb644 100644 --- a/test/test_post_9.res +++ b/test/test_post_9.res @@ -11,6 +11,11 @@ name="Index Data GILS test server" checksum="2074161109"> BIBLIOGRAPHY OF MAINE GEOLOGY 0 + +idf[1] = log(((1 + total(3))/termoccur(0)); +computer: relevance += 100000 * vecf[1](0.000000) * idf[1](0.000000) (0); +score = relevance(0); + content: title bibliography of maine geology author medium book @@ -19,6 +24,11 @@ name="Index Data GILS test server" checksum="1899968820"> GROUNDWATER RESOURCE MAPS - COUNTY SERIES 0 + +idf[1] = log(((1 + total(3))/termoccur(0)); +computer: relevance += 100000 * vecf[1](0.000000) * idf[1](0.000000) (0); +score = relevance(0); + content: title groundwater resource maps county series author medium book @@ -27,6 +37,11 @@ name="Index Data GILS test server" checksum="1725776531"> OIL/GAS DRILLING 0 + +idf[1] = log(((1 + total(3))/termoccur(0)); +computer: relevance += 100000 * vecf[1](0.000000) * idf[1](0.000000) (0); +score = relevance(0); + content: title oil gas drilling author medium book \ No newline at end of file diff --git a/test/test_solr_13.res b/test/test_solr_13.res index c101e40..44a0bc6 100644 --- a/test/test_solr_13.res +++ b/test/test_solr_13.res @@ -17,6 +17,15 @@ De Villiers, Marq book 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 @@ -38,6 +47,17 @@ book 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 @@ -54,6 +74,15 @@ "Balochistan conservation strategy background paper"--T.p book 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 @@ -71,6 +100,14 @@ Examines major environmental issues surrounding water, giving examples of attempts to solve global problems and sources for more information book 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 @@ -87,6 +124,15 @@ Includes index book 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 @@ -104,6 +150,16 @@ Includes index book 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 @@ -118,6 +174,14 @@ Thresh, John Clough book 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 @@ -141,6 +205,17 @@ book 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 @@ -157,6 +232,14 @@ Mason, William Pitt book 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 @@ -173,6 +256,16 @@ Farnham, Henry P book 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 @@ -198,6 +291,17 @@ book 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 @@ -214,6 +318,16 @@ "EPA Contract 68-C7-0011, work assignment 0-38." book 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 @@ -230,6 +344,16 @@ "A joint publication of Legislative Environmental Policy Office, Environmental Quality Council [and] Montana University System, Water Center" book 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 @@ -244,6 +368,15 @@ Collection of articles with reference to India book 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 @@ -260,6 +393,16 @@ "This document was developed for US Environmental Protection Agency, Region 10, Seattle Washington, with the Idaho Water Resources Institute, University of Idaho." book 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 @@ -276,6 +419,15 @@ "March 1997." book 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 @@ -291,6 +443,15 @@ "GI-252"--Cover book 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 @@ -305,6 +466,16 @@ 1997 book 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 @@ -317,6 +488,14 @@ 1998 book 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 @@ -329,6 +508,13 @@ 2000 book 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 c8675c8..bff62f2 100644 --- a/test/test_solr_18.res +++ b/test/test_solr_18.res @@ -17,6 +17,15 @@ De Villiers, Marq book 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 @@ -38,6 +47,17 @@ book 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 @@ -54,6 +74,15 @@ "Balochistan conservation strategy background paper"--T.p book 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 @@ -71,6 +100,14 @@ Examines major environmental issues surrounding water, giving examples of attempts to solve global problems and sources for more information book 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 @@ -87,6 +124,15 @@ Includes index book 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 @@ -104,6 +150,16 @@ Includes index book 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 @@ -118,6 +174,14 @@ Thresh, John Clough book 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 @@ -141,6 +205,17 @@ book 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 @@ -157,6 +232,14 @@ Mason, William Pitt book 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 @@ -173,6 +256,16 @@ Farnham, Henry P book 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 @@ -198,6 +291,17 @@ book 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 @@ -224,6 +328,15 @@ book 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 @@ -248,6 +361,17 @@ book 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 @@ -264,6 +388,16 @@ "EPA Contract 68-C7-0011, work assignment 0-38." book 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 @@ -280,6 +414,16 @@ "A joint publication of Legislative Environmental Policy Office, Environmental Quality Council [and] Montana University System, Water Center" book 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 @@ -294,6 +438,15 @@ Collection of articles with reference to India book 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 @@ -310,6 +463,16 @@ "This document was developed for US Environmental Protection Agency, Region 10, Seattle Washington, with the Idaho Water Resources Institute, University of Idaho." book 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 @@ -326,6 +489,15 @@ "March 1997." book 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 @@ -341,6 +513,15 @@ "GI-252"--Cover book 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 @@ -355,6 +536,16 @@ 1997 book 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 8f79d6f..d62cbdc 100644 --- a/test/test_solr_22.res +++ b/test/test_solr_22.res @@ -19,6 +19,12 @@ "In response to Special Act No. 99-6." book 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 @@ -31,6 +37,13 @@ 1872 book 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 c101e40..44a0bc6 100644 --- a/test/test_solr_25.res +++ b/test/test_solr_25.res @@ -17,6 +17,15 @@ De Villiers, Marq book 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 @@ -38,6 +47,17 @@ book 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 @@ -54,6 +74,15 @@ "Balochistan conservation strategy background paper"--T.p book 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 @@ -71,6 +100,14 @@ Examines major environmental issues surrounding water, giving examples of attempts to solve global problems and sources for more information book 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 @@ -87,6 +124,15 @@ Includes index book 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 @@ -104,6 +150,16 @@ Includes index book 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 @@ -118,6 +174,14 @@ Thresh, John Clough book 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 @@ -141,6 +205,17 @@ book 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 @@ -157,6 +232,14 @@ Mason, William Pitt book 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 @@ -173,6 +256,16 @@ Farnham, Henry P book 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 @@ -198,6 +291,17 @@ book 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 @@ -214,6 +318,16 @@ "EPA Contract 68-C7-0011, work assignment 0-38." book 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 @@ -230,6 +344,16 @@ "A joint publication of Legislative Environmental Policy Office, Environmental Quality Council [and] Montana University System, Water Center" book 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 @@ -244,6 +368,15 @@ Collection of articles with reference to India book 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 @@ -260,6 +393,16 @@ "This document was developed for US Environmental Protection Agency, Region 10, Seattle Washington, with the Idaho Water Resources Institute, University of Idaho." book 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 @@ -276,6 +419,15 @@ "March 1997." book 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 @@ -291,6 +443,15 @@ "GI-252"--Cover book 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 @@ -305,6 +466,16 @@ 1997 book 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 @@ -317,6 +488,14 @@ 1998 book 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 @@ -329,6 +508,13 @@ 2000 book 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 8f79d6f..d62cbdc 100644 --- a/test/test_solr_29.res +++ b/test/test_solr_29.res @@ -19,6 +19,12 @@ "In response to Special Act No. 99-6." book 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 @@ -31,6 +37,13 @@ 1872 book 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 c101e40..44a0bc6 100644 --- a/test/test_solr_4.res +++ b/test/test_solr_4.res @@ -17,6 +17,15 @@ De Villiers, Marq book 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 @@ -38,6 +47,17 @@ book 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 @@ -54,6 +74,15 @@ "Balochistan conservation strategy background paper"--T.p book 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 @@ -71,6 +100,14 @@ Examines major environmental issues surrounding water, giving examples of attempts to solve global problems and sources for more information book 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 @@ -87,6 +124,15 @@ Includes index book 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 @@ -104,6 +150,16 @@ Includes index book 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 @@ -118,6 +174,14 @@ Thresh, John Clough book 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 @@ -141,6 +205,17 @@ book 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 @@ -157,6 +232,14 @@ Mason, William Pitt book 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 @@ -173,6 +256,16 @@ Farnham, Henry P book 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 @@ -198,6 +291,17 @@ book 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 @@ -214,6 +318,16 @@ "EPA Contract 68-C7-0011, work assignment 0-38." book 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 @@ -230,6 +344,16 @@ "A joint publication of Legislative Environmental Policy Office, Environmental Quality Council [and] Montana University System, Water Center" book 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 @@ -244,6 +368,15 @@ Collection of articles with reference to India book 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 @@ -260,6 +393,16 @@ "This document was developed for US Environmental Protection Agency, Region 10, Seattle Washington, with the Idaho Water Resources Institute, University of Idaho." book 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 @@ -276,6 +419,15 @@ "March 1997." book 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 @@ -291,6 +443,15 @@ "GI-252"--Cover book 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 @@ -305,6 +466,16 @@ 1997 book 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 @@ -317,6 +488,14 @@ 1998 book 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 @@ -329,6 +508,13 @@ 2000 book 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 c101e40..44a0bc6 100644 --- a/test/test_solr_9.res +++ b/test/test_solr_9.res @@ -17,6 +17,15 @@ De Villiers, Marq book 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 @@ -38,6 +47,17 @@ book 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 @@ -54,6 +74,15 @@ "Balochistan conservation strategy background paper"--T.p book 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 @@ -71,6 +100,14 @@ Examines major environmental issues surrounding water, giving examples of attempts to solve global problems and sources for more information book 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 @@ -87,6 +124,15 @@ Includes index book 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 @@ -104,6 +150,16 @@ Includes index book 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 @@ -118,6 +174,14 @@ Thresh, John Clough book 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 @@ -141,6 +205,17 @@ book 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 @@ -157,6 +232,14 @@ Mason, William Pitt book 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 @@ -173,6 +256,16 @@ Farnham, Henry P book 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 @@ -198,6 +291,17 @@ book 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 @@ -214,6 +318,16 @@ "EPA Contract 68-C7-0011, work assignment 0-38." book 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 @@ -230,6 +344,16 @@ "A joint publication of Legislative Environmental Policy Office, Environmental Quality Council [and] Montana University System, Water Center" book 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 @@ -244,6 +368,15 @@ Collection of articles with reference to India book 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 @@ -260,6 +393,16 @@ "This document was developed for US Environmental Protection Agency, Region 10, Seattle Washington, with the Idaho Water Resources Institute, University of Idaho." book 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 @@ -276,6 +419,15 @@ "March 1997." book 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 @@ -291,6 +443,15 @@ "GI-252"--Cover book 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 @@ -305,6 +466,16 @@ 1997 book 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 @@ -317,6 +488,14 @@ 1998 book 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 @@ -329,6 +508,13 @@ 2000 book 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 e2a4318..cbe4f17 100644 --- a/test/test_termlist_block_9.res +++ b/test/test_termlist_block_9.res @@ -17,6 +17,14 @@ 2001 Woodward, C. Michael 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 @@ -27,6 +35,16 @@ Advanced computer performance modeling and simulation 1998 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 @@ -43,6 +61,15 @@ Aldrich, Richard W "April 2000." 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 @@ -57,6 +84,15 @@ 2000 Kaasgaard, Klaus 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 @@ -71,6 +107,16 @@ Knittel, John Explains what computer hacking is, who does it, and how dangerous it can be 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 @@ -83,6 +129,14 @@ 1995 Cook, Barry M 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 @@ -96,6 +150,15 @@ "For kids and their parents"--Cover Discusses a variety of educational and game software for children with suggestions for setting up a computer system. Includes a 3 1/2 in. disk with 6 shareware programs for children 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 @@ -108,6 +171,13 @@ 1999 Steinbacher, Raymond 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 @@ -122,6 +192,13 @@ "NZLC R54"--T.p. verso "Also published as Parliamentary Paper E 31AO"--T.p. verso 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 @@ -136,6 +213,13 @@ 2001 Ross, Keith W 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 @@ -150,6 +234,14 @@ Davis, Phyllis Includes index 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 @@ -167,6 +259,13 @@ Includes index "Covers Quicken deluxe 2000 for the Mac"--Cover 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 @@ -177,6 +276,14 @@ Sicherheit und Schutz im Netz 1998 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 @@ -191,6 +298,14 @@ Carasik, Anne H Includes index 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 @@ -205,6 +320,15 @@ 1999 "IEEE catalog number 99EX370"--T.p. verso 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 @@ -219,6 +343,14 @@ Farley, Marc Includes index 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 @@ -235,6 +367,13 @@ Malaga, Ernie Includes index 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 @@ -249,6 +388,14 @@ 2001 Watt, Alan H 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 @@ -261,6 +408,13 @@ 1999 Denoncourt, Don 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 @@ -276,6 +430,14 @@ "Useful techniques from sorting to encryption"--Cover Includes index 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 cbf7a34..3ef3ad2 100644 --- a/test/test_turbomarcxml_4.res +++ b/test/test_turbomarcxml_4.res @@ -20,6 +20,12 @@ under development to replace the printed Bibliography of Marine Geologytest-usersetting-2 data: 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 @@ -41,6 +47,11 @@ restricted to Southern Maine test-usersetting-2 data: 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 @@ -58,6 +69,11 @@ operator, driller, location, depth, copies of logs run, permits, samples test-usersetting-2 data: 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 5268bf3..d8ce812 100644 --- a/test/test_turbomarcxml_7.res +++ b/test/test_turbomarcxml_7.res @@ -13,6 +13,12 @@ BIBLIOGRAPHY OF MAINE GEOLOGY This data base is a computer based bibliography of marine geology. It allows searching by topic and geographic location, similar to GEOREF. It is currently under development to replace the printed Bibliography of Marine Geology 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 @@ -23,6 +29,11 @@ GROUNDWATER RESOURCE MAPS - COUNTY SERIES A series of 1:250,000 scale maps showing well yield, well depth, and depth to bedrock for a large number of bedrock wells inventoried by the Maine Geological Survey in the mid-to late 1970's comprises this data set. Some series also show bedrock topography and potentiometric surface. Geographic coverage is restricted to Southern Maine 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 @@ -33,6 +44,11 @@ OIL/GAS DRILLING This database contains information on oil and gas drilling such as well name, operator, driller, location, depth, copies of logs run, permits, samples (cuttings, core), completion records 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 6a73ea2..5be1e22 100644 --- a/test/test_url_3.res +++ b/test/test_url_3.res @@ -18,6 +18,13 @@ Jack Collins 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 @@ -31,6 +38,12 @@ Hebrew and Greek; introductions in English Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates 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 @@ -43,6 +56,12 @@ proceedings of a workshop held at the National Bureau of Standards, Gaithersburg, MD, June 3-4, 1976 1977 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 @@ -55,6 +74,12 @@ 1971 Cover title 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 @@ -71,6 +96,12 @@ Englund, Carl R "Contract DOT-UT-10003." 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 @@ -88,6 +119,12 @@ Scale of maps ca. 1:1,000,000 Bibliography: p. 4 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 @@ -102,6 +139,12 @@ 1974 Includes bibliographical references and index 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 @@ -114,6 +157,12 @@ 1977 Wood, Helen M 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 @@ -128,6 +177,11 @@ 1977 Includes bibliographical references and index 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 e072116..9d2c38c 100644 --- a/test/test_url_6.res +++ b/test/test_url_6.res @@ -14,6 +14,12 @@ Reports and memorandums completed by the Site Investigation Section comprise this data set. Subjects include geotechnical appraisal of public facility sites before and during construction and evaluations of hazardous waste problems 1970-PRESENT 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 @@ -25,6 +31,12 @@ Publications of the Utah Geological and Mineral Survey include reports of investigation, special studies, bulletins, open-file reports, geologic map of Utah, publications of geological societies, geologic and oil and mineral maps, coal monographs, circulars, water resource bulletins, and reprints of articles -PRESENT 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 @@ -36,6 +48,11 @@ Five files of epicenter data arranged by date comprise this data set. These files are searchable by magnitude and longitude/latitude. Hardcopy of listing and plot of requested area available. Epicenter location and date, magnitude, and focal depth available -PRESENT 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