From 463c7fb7fcb0df9f3756b21dccac736bfff1ac63 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Tue, 18 Sep 2012 17:44:51 +0200 Subject: [PATCH] New test case for sorting --- test/test_sort.cfg | 41 +++++ test/test_sort.sh | 19 +++ test/test_sort.urls | 10 ++ test/test_sort_1.res | 3 + test/test_sort_10.res | 325 ++++++++++++++++++++++++++++++++++++ test/test_sort_2.res | 2 + test/test_sort_3.res | 2 + test/test_sort_4.res | 385 +++++++++++++++++++++++++++++++++++++++++++ test/test_sort_5.res | 9 + test/test_sort_6.res | 68 ++++++++ test/test_sort_7.res | 2 + test/test_sort_8.res | 333 +++++++++++++++++++++++++++++++++++++ test/test_sort_9.res | 299 +++++++++++++++++++++++++++++++++ test/test_sort_settings.xml | 47 ++++++ 14 files changed, 1545 insertions(+) create mode 100644 test/test_sort.cfg create mode 100755 test/test_sort.sh create mode 100644 test/test_sort.urls create mode 100644 test/test_sort_1.res create mode 100644 test/test_sort_10.res create mode 100644 test/test_sort_2.res create mode 100644 test/test_sort_3.res create mode 100644 test/test_sort_4.res create mode 100644 test/test_sort_5.res create mode 100644 test/test_sort_6.res create mode 100644 test/test_sort_7.res create mode 100644 test/test_sort_8.res create mode 100644 test/test_sort_9.res create mode 100644 test/test_sort_settings.xml diff --git a/test/test_sort.cfg b/test/test_sort.cfg new file mode 100644 index 0000000..74f0fc8 --- /dev/null +++ b/test/test_sort.cfg @@ -0,0 +1,41 @@ + + + + + + + + + [[:WhiteSpace:][,.!;]]* } [$] > ; + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/test_sort.sh b/test/test_sort.sh new file mode 100755 index 0000000..6ef605a --- /dev/null +++ b/test/test_sort.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +# srcdir might be set by make +srcdir=${srcdir:-"."} + +# Using test solr target opencontent-solr +# +${srcdir}/run_pazpar2.sh test_sort +E=$? + +#kill `cat ztest.pid` +#rm ztest.pid +exit $E + +# Local Variables: +# mode:shell-script +# sh-indentation: 2 +# sh-basic-offset: 4 +# End: diff --git a/test/test_sort.urls b/test/test_sort.urls new file mode 100644 index 0000000..34e458b --- /dev/null +++ b/test/test_sort.urls @@ -0,0 +1,10 @@ +http://localhost:9763/search.pz2?session=1&command=init +test_sort_settings.xml http://localhost:9763/search.pz2?session=1&command=settings +http://localhost:9763/search.pz2?session=1&command=search&query=water +3 http://localhost:9763/search.pz2?session=1&command=show +http://localhost:9763/search.pz2?session=1&command=bytarget +http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Csubject%2Cauthor%2Cdate%2Cmedium +http://localhost:9763/search.pz2?session=1&command=search&query=water&sort=position:1 +http://localhost:9763/search.pz2?session=1&command=show&block=prefered&sort=position:1 +http://localhost:9763/search.pz2?session=1&command=show&start=20&block=prefered&sort=position:1 +http://localhost:9763/search.pz2?session=1&command=show&start=40&block=prefered&sort=position:1 diff --git a/test/test_sort_1.res b/test/test_sort_1.res new file mode 100644 index 0000000..c09ee34 --- /dev/null +++ b/test/test_sort_1.res @@ -0,0 +1,3 @@ + +OK1150000 + \ No newline at end of file diff --git a/test/test_sort_10.res b/test/test_sort_10.res new file mode 100644 index 0000000..9ac37aa --- /dev/null +++ b/test/test_sort_10.res @@ -0,0 +1,325 @@ + +OK +0 +195 +1995 +40 +20 + + +Proceedings, Seminar on Water Management Practices in Kerala, held on 11-12 October 1980 at Calicut +1980 +"Published by Education and Extension Division for Centre for Water Resources Development and Management"--T.p. verso +book +Proceedings, Seminar on Water Management Practices in Kerala, held on 11-12 October 1980 at Calicut +1980 +"Published by Education and Extension Division for Centre for Water Resources Development and Management"--T.p. verso +book +1.8129189 +content: title proceedings seminar on water management practices in kerala held on october at calicut medium book + + + +Water +2000 +Grant, Pamela +Examines major environmental issues surrounding water, giving examples of attempts to solve global problems and sources for more information +book +Water +2000 +Grant, Pamela +Includes index +Examines major environmental issues surrounding water, giving examples of attempts to solve global problems and sources for more information +book +1.8037393 +content: title water author grant pamela medium book + + + +Annotated bibliography for Lesotho water resources management +1996 +Ambrose, David +"The original of this bibliography was published as Annex Q ... as one of the seven volumes of the Water resources management : policy and strategies study." +book +Annotated bibliography for Lesotho water resources management +1996 +Ambrose, David +"The original of this bibliography was published as Annex Q ... as one of the seven volumes of the Water resources management : policy and strategies study." +book +1.8037393 +content: title annotated bibliography for lesotho water resources management author ambrose david medium book + + + +Hydropolitics in the West Bank and Gaza Strip +1999 +Trottier, Julie +Translation of thesis (Ph.D.)--Université catholique de Louvain, 1999 +book +Hydropolitics in the West Bank and Gaza Strip +1999 +Trottier, Julie +Translation of thesis (Ph.D.)--Université catholique de Louvain, 1999 +book +1.8037393 +content: title hydropolitics in the west bank and gaza strip author trottier julie medium book + + + +Water management & conservation assistance programs directory +1999 +"June, 1999." +book +Water management & conservation assistance programs directory +1999 +Cover title +"June, 1999." +book +1.8037393 +content: title water management conservation assistance programs directory medium book + + + +Water resources of the Housatonic River Basin +1999 +"Water use and hydrology"--Cover +book +Water resources of the Housatonic River Basin +1999 +"May 1999." +"Water use and hydrology"--Cover +book +1.8037393 +content: title water resources of the housatonic river basin medium book + + + +Water Conservation Field Services Program +overview 2000 +2000 +"March 2000." +book +Water Conservation Field Services Program +overview 2000 +2000 +"March 2000." +book +1.8037393 +content: title water conservation field services program medium book + + + +Joint hearing of the Senate Committee on Agriculture and Water Resources and Assembly Committee on Water, Parks and Wildlife +the State's year 2000 water supply operations plan +2000 +"February 1, 2000." +book +Joint hearing of the Senate Committee on Agriculture and Water Resources and Assembly Committee on Water, Parks and Wildlife +the State's year 2000 water supply operations plan +2000 +Cover title +"February 1, 2000." +book +1.8037393 +content: title joint hearing of the senate committee on agriculture and water resources and assembly committee on water parks and wildlife medium book + + + +Advanced potable water treatment technology +1998 +Jones, Michelle +book +Advanced potable water treatment technology +1998 +Jones, Michelle +book +1.8037393 +content: title advanced potable water treatment technology author jones michelle medium book + + + +Women and water management +the Latin American experience +2000 +book +Women and water management +the Latin American experience +2000 +book +1.8037393 +content: title women and water management medium book + + + +Report on the investigations into the purification of the Ohio River water +at Louisville, Kentucky, made to the president and directors of the Louisville water company +1898 +Fuller, George Warrren +Published under agreement with the directors +book +Report on the investigations into the purification of the Ohio River water +at Louisville, Kentucky, made to the president and directors of the Louisville water company +1898 +Fuller, George Warrren +Published under agreement with the directors +book +1.8037393 +content: title report on the investigations into the purification of the ohio river water author fuller george warrren medium book + + + +The water hole +2001 +Base, Graeme +As ever growing numbers of animals visit a watering hole, introducing the numbers from one to ten, the water dwindles +book +The water hole +2001 +Base, Graeme +As ever growing numbers of animals visit a watering hole, introducing the numbers from one to ten, the water dwindles +book +1.7852391 +content: title the water hole author base graeme medium book + + + +Sharing water +irrigation and water management in the Hindukush, Karakoram, Himalaya +2000 +book +Sharing water +irrigation and water management in the Hindukush, Karakoram, Himalaya +2000 +book +1.7852391 +content: title sharing water medium book + + + +Wading into Montana water rights +1997 +Westesen, Gerald L +"July 31, 1997." +book +Wading into Montana water rights +1997 +Westesen, Gerald L +Cover title +"July 31, 1997." +book +1.7852391 +content: title wading into montana water rights author westesen gerald l medium book + + + +Assessment of water pollution in Calicut city with special reference to Cannoly canal +final report +1996 +"Funded by: Department of Science, Technology, and Environment, Government of Kerala." +book +Assessment of water pollution in Calicut city with special reference to Cannoly canal +final report +1996 +"Funded by: Department of Science, Technology, and Environment, Government of Kerala." +book +1.7852391 +content: title assessment of water pollution in calicut city with special reference to cannoly canal medium book + + + +Rural drinking water supply in India +issues and strategies +2000 +Das, Keshab +book +Rural drinking water supply in India +issues and strategies +2000 +Das, Keshab +book +1.7852391 +content: title rural drinking water supply in india author das keshab medium book + + + +Travel time, user rate & cost of supply +drinking water in rural Kerala, India +1996 +Pushpangadan, K +With reference to India +book +Travel time, user rate & cost of supply +drinking water in rural Kerala, India +1996 +Pushpangadan, K +With reference to India +book +1.7852391 +content: title travel time user rate cost of supply author pushpangadan k medium book + + + +Promoting small water harvesting structures in dryland regions +a case study of the farm ponds scheme in Gujarat +2000 +Shah, Amita +book +Promoting small water harvesting structures in dryland regions +a case study of the farm ponds scheme in Gujarat +2000 +Shah, Amita +book +1.7852391 +content: title promoting small water harvesting structures in dryland regions author shah amita medium book + + + +Water supply +A student's handbook on the conditions governing the selection of sources and the distribution of water +1903 +Middleton, Reginald Empson +book +Water supply +A student's handbook on the conditions governing the selection of sources and the distribution of water +1903 +Middleton, Reginald Empson +book +1.7852391 +content: title water supply author middleton reginald empson medium book + + + +The purification of public water supplies +1898 +Hill, John Willmuth +Microfilmed for preservationDNLM +book +The purification of public water supplies +1898 +Hill, John Willmuth +Microfilmed for preservationDNLM +book +1.7852391 +content: title the purification of public water supplies author hill john willmuth medium book + + \ No newline at end of file diff --git a/test/test_sort_2.res b/test/test_sort_2.res new file mode 100644 index 0000000..42534e3 --- /dev/null +++ b/test/test_sort_2.res @@ -0,0 +1,2 @@ + +OK \ No newline at end of file diff --git a/test/test_sort_3.res b/test/test_sort_3.res new file mode 100644 index 0000000..ab63fe6 --- /dev/null +++ b/test/test_sort_3.res @@ -0,0 +1,2 @@ + +OK \ No newline at end of file diff --git a/test/test_sort_4.res b/test/test_sort_4.res new file mode 100644 index 0000000..7a0baea --- /dev/null +++ b/test/test_sort_4.res @@ -0,0 +1,385 @@ + +OK +0 +195 +1995 +0 +20 + + +Water +1999 +De Villiers, Marq +book +Water +1999 +De Villiers, Marq +book +2.1864624 +34851 +content: title water author de villiers marq medium book + + + +Potable water and methods of detecting impurities +1899-1906 +Baker, M. N +book +Potable water and methods of detecting impurities +1906 +Baker, M. N +book +1.7852391 + +Potable water and methods of detecting impurities +1899 +Baker, M. N +book +1.7852391 +2 +32470 +content: title potable water and methods of detecting impurities author baker m n medium book + + + +Water +2000 +Majeed, Abdul +"Balochistan conservation strategy background paper"--T.p +book +Water +2000 +Majeed, Abdul +"Balochistan conservation strategy background paper"--T.p +book +2.0614164 +30305 +content: title water author majeed abdul medium book + + + +Water +2000 +Grant, Pamela +Examines major environmental issues surrounding water, giving examples of attempts to solve global problems and sources for more information +book +Water +2000 +Grant, Pamela +Includes index +Examines major environmental issues surrounding water, giving examples of attempts to solve global problems and sources for more information +book +1.8037393 +27753 +content: title water author grant pamela medium book + + + +Water law +2000 +Fisher, D. E +Includes index +book +Water law +2000 +Fisher, D. E +Includes index +book +2.0614164 +27274 +content: title water law author fisher d e medium book + + + +A Primer on fresh water +questions and answers +2000 +Issued also in French under title: Notions élémentaires sur l'eau douce : questions et réponses +book +A Primer on fresh water +questions and answers +2000 +Issued also in French under title: Notions élémentaires sur l'eau douce : questions et réponses +Includes index +book +2.016642 +26365 +content: title a primer on fresh water medium book + + + +Water and water supplies +1901 +Thresh, John Clough +book +Water and water supplies +1901 +Thresh, John Clough +book +2.0614164 +22729 +content: title water and water supplies author thresh john clough medium book + + + +Water quality assessment of the State Water Project, 1996-97 +1999-2000 +"September 1999." +book +Water quality assessment of the State Water Project, 1998-99 +2000 +Cover title +"July 2000." +book +2.016642 + +Water quality assessment of the State Water Project, 1996-97 +1999 +Cover title +"September 1999." +book +2.016642 +2 +22729 +content: title water quality assessment of the state water project medium book + + + +Water-supply +(Considered principally from a sanitary standpoint.) +1896 +Mason, William Pitt +book +Water-supply +(Considered principally from a sanitary standpoint.) +1896 +Mason, William Pitt +book +1.7852391 +22729 +content: title water supply author mason william pitt medium book + + + +The law of waters and water rights +international, national, state, municipal, and individual, including irrigation, drainage, and municipal water supply +1904 +Farnham, Henry P +book +The law of waters and water rights +international, national, state, municipal, and individual, including irrigation, drainage, and municipal water supply +1904 +Farnham, Henry P +book +1.8935319 +21946 +content: title the law of waters and water rights author farnham henry p medium book + + + +Water, in press, 1998 +an index of news items on water resources selected from leading news papers +1998-1999 +With reference to India +book +Water, in press, 1998 +an index to news items on water resources selected from leading news papers +1999 +Includes index +book +1.6872437 + +Water in press, 1997 +an index of news items on water resources selected from leading news papers +1998 +Includes index +With reference to India +book +1.9282786 +2 +20514 +content: title water in press medium book + + + +Water-power +an outline of the development and application of the energy of flowing water +1900-1901 +Frizell, Joseph P +Original imprint 1901, corrected to 1900 +book +Water-power +an outline of the development and application of the energy of flowing water +1901 +Frizell, Joseph P +book +1.4576416 + +Water-power +an outline of the development and application of the energy of flowing water +1900 +Frizell, Joseph P +Original imprint 1901, corrected to 1900 +book +1.4576416 +2 +20514 +content: title water power author frizell joseph p medium book + + + +Water-supply engineering +The designing, construction, and maintenance of water-supply systems, both city and irrigation +1903-1909 +Folwell, Amory Prescott +book +Water-supply engineering +The designing, construction, and maintenance of water-supply systems, both city and irrigation +1909 +Folwell, Amory Prescott +book +1.5620842 + +Water-supply engineering +The designing, construction, and maintenance of water-supply systems, both city and irrigation +1903 +Folwell, Amory Prescott +book +1.5620842 +2 +20514 +content: title water supply engineering author folwell amory prescott medium book + + + +Regulations on the disposal of arsenic residuals from drinking water treatment plants +2000 +"EPA Contract 68-C7-0011, work assignment 0-38." +book +Regulations on the disposal of arsenic residuals from drinking water treatment plants +2000 +"May 2000." +"EPA/600/R-00/025." +"EPA Contract 68-C7-0011, work assignment 0-38." +book +1.8129189 +20456 +content: title regulations on the disposal of arsenic residuals from drinking water treatment plants medium book + + + +A guide to Montana water quality regulation +1997 +Bryan, Michelle +"A joint publication of Legislative Environmental Policy Office, Environmental Quality Council [and] Montana University System, Water Center" +book +A guide to Montana water quality regulation +1997 +Bryan, Michelle +"A joint publication of Legislative Environmental Policy Office, Environmental Quality Council [and] Montana University System, Water Center" +book +1.6398468 +19800 +content: title a guide to montana water quality regulation author bryan michelle medium book + + + +Water technology management +2001 +Collection of articles with reference to India +book +Water technology management +2001 +Collection of articles with reference to India +book +2.0614164 +19698 +content: title water technology management medium book + + + +Aquatic habitat indicators and their application to water quality objectives within the Clean Water Act +1999 +Bauer, Steve +"This document was developed for US Environmental Protection Agency, Region 10, Seattle Washington, with the Idaho Water Resources Institute, University of Idaho." +book +Aquatic habitat indicators and their application to water quality objectives within the Clean Water Act +1999 +Bauer, Steve +"This document was developed for US Environmental Protection Agency, Region 10, Seattle Washington, with the Idaho Water Resources Institute, University of Idaho." +book +1.8935319 +19525 +content: title aquatic habitat indicators and their application to water quality objectives within the clean water act author bauer steve medium book + + + +An empirical analysis of water temperature and dissolved oxygen conditions in the Red Deer River +1997 +Saffran, Karen Anita +"March 1997." +book +An empirical analysis of water temperature and dissolved oxygen conditions in the Red Deer River +1997 +Saffran, Karen Anita +"March 1997." +book +1.7285503 +19395 +content: title an empirical analysis of water temperature and dissolved oxygen conditions in the red deer river author saffran karen anita medium book + + + +Surface water quality monitoring procedures manual +1999 +"GI-252"--Cover +book +Surface water quality monitoring procedures manual +1999 +"June 1999." +"GI-252"--Cover +book +1.8129189 +18940 +content: title surface water quality monitoring procedures manual medium book + + + +International Conference on Management of Drinking Water Resources, Chennai, December 3-5, 1997 +proceedings +1997 +book +International Conference on Management of Drinking Water Resources, Chennai, December 3-5, 1997 +proceedings +1997 +book +1.8935319 +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_sort_5.res b/test/test_sort_5.res new file mode 100644 index 0000000..67dffe0 --- /dev/null +++ b/test/test_sort_5.res @@ -0,0 +1,9 @@ + +OK +LOC Solr Test +LOC Solr Test +1995 +0 +200 +Client_Idle + \ No newline at end of file diff --git a/test/test_sort_6.res b/test/test_sort_6.res new file mode 100644 index 0000000..294fe36 --- /dev/null +++ b/test/test_sort_6.res @@ -0,0 +1,68 @@ + +0 + + +LOC Solr Test +LOC Solr Test +1995 +Client_Idle +0 + + + +Water-supply185 +Water169 +Groundwater94 +Water resources development93 +Water quality87 +Mineral waters52 +Water quality management50 +United States43 +Irrigation33 +N.Y28 +Hydraulic engineering24 +Geology23 +U.S23 +Groundwater flow22 +Birds21 + + +Waters, Clara Erskine Clement9 +Waters, Henry F8 +Moorman, J. J7 +Waters, Thomas Franklin6 +Basak, P5 +Bergren, Lisa Tawn5 +Kingsley, Charles5 +Tyndall, John5 +Baldwin, William J4 +Holme, Charles4 +James, E. J4 +Nuttall, Thomas4 +Walton, George Edward4 +Wilkins, John H4 +Arthur, Kay3 + + +2000411 +1999318 +199890 +200187 +190750 +190246 +190643 +190539 +190939 +190436 +199735 +190833 +199632 +190330 +190129 + + +book1984 +web8 +book (electronic)3 + + \ No newline at end of file diff --git a/test/test_sort_7.res b/test/test_sort_7.res new file mode 100644 index 0000000..ab63fe6 --- /dev/null +++ b/test/test_sort_7.res @@ -0,0 +1,2 @@ + +OK \ No newline at end of file diff --git a/test/test_sort_8.res b/test/test_sort_8.res new file mode 100644 index 0000000..ec1d55b --- /dev/null +++ b/test/test_sort_8.res @@ -0,0 +1,333 @@ + +OK +0 +195 +1995 +0 +20 + + +Water management problems and challenges in India +an analytical review +2000 +Dinesh Kumar, M +book +Water management problems and challenges in India +an analytical review +2000 +Dinesh Kumar, M +book +2.3047338 +content: title water management problems and challenges in india author dinesh kumar m medium book + + + +The magic of water +reflection and transparency at the water's edge +2000 +Hochschwender, Ted +book +The magic of water +reflection and transparency at the water's edge +2000 +Hochschwender, Ted +book +2.2315488 +content: title the magic of water author hochschwender ted medium book + + + +Water +1999 +De Villiers, Marq +book +Water +1999 +De Villiers, Marq +book +2.1864624 +content: title water author de villiers marq medium book + + + +Water use for public water supply in Michigan, 1998 +2000 +"January 3, 2000." +book +Water use for public water supply in Michigan, 1998 +2000 +"January 3, 2000." +book +2.1864624 +content: title water use for public water supply in michigan medium book + + + +Report to the IUCN on water demand management country study +Namibia +1999 +book +Report to the IUCN on water demand management country study +Namibia +1999 +book +2.115072 +content: title report to the iucn on water demand management country study medium book + + + +Water +2000 +Majeed, Abdul +"Balochistan conservation strategy background paper"--T.p +book +Water +2000 +Majeed, Abdul +"Balochistan conservation strategy background paper"--T.p +book +2.0614164 +content: title water author majeed abdul medium book + + + +Water law +2000 +Fisher, D. E +Includes index +book +Water law +2000 +Fisher, D. E +Includes index +book +2.0614164 +content: title water law author fisher d e medium book + + + +Evaluation and control of water pollution in Bhavani Basin +final report +1998 +"Funded by Institute for water Studies, Water Resources Organisation (PWD)." +book +Evaluation and control of water pollution in Bhavani Basin +final report +1998 +"Funded by Institute for water Studies, Water Resources Organisation (PWD)." +With reference to India +book +2.0614164 +content: title evaluation and control of water pollution in bhavani basin medium book + + + +UNSIA Water Cluster +priorities and strategies for water in Africa +2000 +"United Nations System-wide Initiative on Africa (UNSIA)." +book +UNSIA Water Cluster +priorities and strategies for water in Africa +2000 +"United Nations System-wide Initiative on Africa (UNSIA)." +book +2.0614164 +content: title unsia water cluster medium book + + + +Water technology management +2001 +Collection of articles with reference to India +book +Water technology management +2001 +Collection of articles with reference to India +book +2.0614164 +content: title water technology management medium book + + + +Water and water supplies +1901 +Thresh, John Clough +book +Water and water supplies +1901 +Thresh, John Clough +book +2.0614164 +content: title water and water supplies author thresh john clough medium book + + + +Wonderful water +2001 +Glover, David +book +Wonderful water +2001 +Glover, David +book +2.037116 +content: title wonderful water author glover david medium book + + + +Water quality assessment of the State Water Project, 1996-97 +1999-2000 +"September 1999." +book +Water quality assessment of the State Water Project, 1998-99 +2000 +Cover title +"July 2000." +book +2.016642 + +Water quality assessment of the State Water Project, 1996-97 +1999 +Cover title +"September 1999." +book +2.016642 +2 +content: title water quality assessment of the state water project medium book + + + +A Primer on fresh water +questions and answers +2000 +Issued also in French under title: Notions élémentaires sur l'eau douce : questions et réponses +book +A Primer on fresh water +questions and answers +2000 +Issued also in French under title: Notions élémentaires sur l'eau douce : questions et réponses +Includes index +book +2.016642 +content: title a primer on fresh water medium book + + + +Who governs water? +the politics of water resource management +1999 +Frey, Hans +book +Who governs water? +the politics of water resource management +1999 +Frey, Hans +book +1.9282786 +content: title who governs water author frey hans medium book + + + +1999 wastewater and drinking water user charge survey +1999 +"December, 1999." +book +1999 wastewater and drinking water user charge survey +1999 +Cover title +"December, 1999." +book +1.9282786 +content: title wastewater and drinking water user charge survey medium book + + + +Proposition 13 +Safe Drinking Water, Clean Water, Watershed Protection, and Flood Protection Act +2000 +"March 2000." +book +Proposition 13 +Safe Drinking Water, Clean Water, Watershed Protection, and Flood Protection Act +2000 +"March 2000." +book +1.9282786 +content: title proposition medium book + + + +District water supply plan +2000 +[1] [No special title] -- [2] Appendixes +book +District water supply plan +2000 +[1] [No special title] -- [2] Appendixes +book +1.9282786 +content: title district water supply plan medium book + + + +Water, in press, 1998 +an index of news items on water resources selected from leading news papers +1998-1999 +With reference to India +book +Water, in press, 1998 +an index to news items on water resources selected from leading news papers +1999 +Includes index +book +1.6872437 + +Water in press, 1997 +an index of news items on water resources selected from leading news papers +1998 +Includes index +With reference to India +book +1.9282786 +2 +content: title water in press medium book + + + +Pahāṛa para pānī +1999 +Ravi, Rājeśa +On the effort of conserving rain water for drinking and harvesting; case study of selected villages in Rajasthan, India +book +Pahāṛa para pānī +1999 +Ravi, Rājeśa +On the effort of conserving rain water for drinking and harvesting; case study of selected villages in Rajasthan, India +book +1.9282786 +content: title paha r a para pa ni author ravi ra jes a medium book + + \ No newline at end of file diff --git a/test/test_sort_9.res b/test/test_sort_9.res new file mode 100644 index 0000000..3592466 --- /dev/null +++ b/test/test_sort_9.res @@ -0,0 +1,299 @@ + +OK +0 +195 +1995 +20 +20 + + +Water protection targets for the year 2005 +1999 +book +Water protection targets for the year 2005 +1999 +book +1.9282786 +content: title water protection targets for the year medium book + + + +Improving water utilization from a catchment perspective +1998 +book +Improving water utilization from a catchment perspective +1998 +book +1.9282786 +content: title improving water utilization from a catchment perspective medium book + + + +Modeling water resources management at the basin level +review and future directions +1999 +book +Modeling water resources management at the basin level +review and future directions +1999 +book +1.9282786 +content: title modeling water resources management at the basin level medium book + + + +Report of the directors of the Boston Water-Power Company to its stockholders, April 24, 1855 +1855 +book +Report of the directors of the Boston Water-Power Company to its stockholders, April 24, 1855 +1855 +book +1.9282786 +content: title report of the directors of the boston water power company to its stockholders april medium book + + + +Dividing the waters +the resolution of interstate water conflicts in the United States +2000 +Sherk, George William +Includes index +book +Dividing the waters +the resolution of interstate water conflicts in the United States +2000 +Sherk, George William +Includes index +book +1.9131546 +content: title dividing the waters author sherk george william medium book + + + +Fertile ground +nutrient trading's potential to cost-effectively improve water quality +2000 +Faeth, Paul +book +Fertile ground +nutrient trading's potential to cost-effectively improve water quality +2000 +Faeth, Paul +book +1.9131546 +content: title fertile ground author faeth paul medium book + + + +Water pollution V +modelling, measuring and prediction +1999 +book +Water pollution V +modelling, measuring and prediction +1999 +book +1.9131546 +content: title water pollution v medium book + + + +Watering the western third +water, land, and community in Western Australia, 1826-1998 +1998 +Powell, J. M +book +Watering the western third +water, land, and community in Western Australia, 1826-1998 +1998 +Powell, J. M +book +1.9131546 +content: title watering the western third author powell j m medium book + + + +Water budget of East Maui, Hawaii +1999 +Shade, Patricia J +book +Water budget of East Maui, Hawaii +1999 +Shade, Patricia J +book +1.9131546 +content: title water budget of east maui hawaii author shade patricia j medium book + + + +International Conference on Management of Drinking Water Resources, Chennai, December 3-5, 1997 +proceedings +1997 +book +International Conference on Management of Drinking Water Resources, Chennai, December 3-5, 1997 +proceedings +1997 +book +1.8935319 +content: title international conference on management of drinking water resources chennai december medium book + + + +Aquatic habitat indicators and their application to water quality objectives within the Clean Water Act +1999 +Bauer, Steve +"This document was developed for US Environmental Protection Agency, Region 10, Seattle Washington, with the Idaho Water Resources Institute, University of Idaho." +book +Aquatic habitat indicators and their application to water quality objectives within the Clean Water Act +1999 +Bauer, Steve +"This document was developed for US Environmental Protection Agency, Region 10, Seattle Washington, with the Idaho Water Resources Institute, University of Idaho." +book +1.8935319 +content: title aquatic habitat indicators and their application to water quality objectives within the clean water act author bauer steve medium book + + + +The law of waters and water rights +international, national, state, municipal, and individual, including irrigation, drainage, and municipal water supply +1904 +Farnham, Henry P +book +The law of waters and water rights +international, national, state, municipal, and individual, including irrigation, drainage, and municipal water supply +1904 +Farnham, Henry P +book +1.8935319 +content: title the law of waters and water rights author farnham henry p medium book + + + +Water law +2000 +book +Water law +2000 +book +1.822052 +content: title water law medium book + + + +Water quantity and quality issues in coastal urban areas +proceedings, American Water Resources Association's Annual Water Resources Conference : November 6-9, 2000, Miami Florida +2000 +book +Water quantity and quality issues in coastal urban areas +proceedings, American Water Resources Association's Annual Water Resources Conference : November 6-9, 2000, Miami Florida +2000 +book +1.822052 +content: title water quantity and quality issues in coastal urban areas medium book + + + +Tricker's 1101 water gardening +questions and answers +1999 +Lee, Richard +book +Tricker's 1101 water gardening +questions and answers +1999 +Lee, Richard +book +1.822052 +content: title tricker s water gardening author lee richard medium book + + + +Institutions & leadership in water resource management +1999 +Rafiq, Abdul Qadir +book +Institutions & leadership in water resource management +1999 +Rafiq, Abdul Qadir +book +1.822052 +content: title institutions leadership in water resource management author rafiq abdul qadir medium book + + + +Ground water and surface water in the Haiku area, East Maui, Hawaii +1999 +Gingerich, Stephen B +book +Ground water and surface water in the Haiku area, East Maui, Hawaii +1999 +Gingerich, Stephen B +book +1.8129189 +content: title ground water and surface water in the haiku area east maui hawaii author gingerich stephen b medium book + + + +Surface water quality monitoring procedures manual +1999 +"GI-252"--Cover +book +Surface water quality monitoring procedures manual +1999 +"June 1999." +"GI-252"--Cover +book +1.8129189 +content: title surface water quality monitoring procedures manual medium book + + + +Regulations on the disposal of arsenic residuals from drinking water treatment plants +2000 +"EPA Contract 68-C7-0011, work assignment 0-38." +book +Regulations on the disposal of arsenic residuals from drinking water treatment plants +2000 +"May 2000." +"EPA/600/R-00/025." +"EPA Contract 68-C7-0011, work assignment 0-38." +book +1.8129189 +content: title regulations on the disposal of arsenic residuals from drinking water treatment plants medium book + + + +Nevada state water plan +1999 +pt. 1. Background and resource assessment -- pt. 2. Water use and forecasts -- pt. 3. Water planning and management issues -- [pt. 4] Appendices -- [pt. 5] Summary +book +Nevada state water plan +1999 +Cover title +"March 1999." +pt. 1. Background and resource assessment -- pt. 2. Water use and forecasts -- pt. 3. Water planning and management issues -- [pt. 4] Appendices -- [pt. 5] Summary +book +1.8129189 +content: title nevada state water plan medium book + + \ No newline at end of file diff --git a/test/test_sort_settings.xml b/test/test_sort_settings.xml new file mode 100644 index 0000000..6fb7f8b --- /dev/null +++ b/test/test_sort_settings.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 1.7.10.4