Update of /cvsroot/monetdb/pathfinder/modules/pftijah/Tests
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv8622
Modified Files:
Tag: XQuery_0-16
All
Added Files:
Tag: XQuery_0-16
loadthesis.milS loadthesis.modules loadthesis.stable.err
loadthesis.stable.out test_lms_returnall.dbinit
test_lms_returnall.modules test_lms_returnall.stable.err
test_lms_returnall.stable.out test_lms_returnall.xq
test_lms_returnmatching.dbinit test_lms_returnmatching.modules
test_lms_returnmatching.stable.err
test_lms_returnmatching.stable.out test_lms_returnmatching.xq
Log Message:
PF/Tijah: added tests for LM retrieval model based on a simple thesis-like
document. Approved outputs.
--- NEW FILE: loadthesis.milS ---
module(pftijah);
module(unix);
# should run if you set TSTTRGDIR to pwd
var path:=getenv("TSTSRCDIR");
# index thesis collection
tj_init_collection("thesis", new(str,str).insert("stemmer","snowball-english"));
tj_add2collection("thesis",path+"/xml-docs/thesis.xml","thesis.xml",true);
Index: All
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/Tests/All,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -u -d -r1.4.2.1 -r1.4.2.2
--- All 15 Feb 2007 14:00:35 -0000 1.4.2.1
+++ All 19 Feb 2007 11:10:36 -0000 1.4.2.2
@@ -1,5 +1,6 @@
load
sigs
+loadthesis
createcoll0
createcoll1
test_split2frag
@@ -9,4 +10,6 @@
qmil1
qmil2
qmapi1
+test_lms_returnall
+test_lms_returnmatching
cleanup
--- NEW FILE: loadthesis.modules ---
pftijah
--- NEW FILE: test_lms_returnall.xq ---
let $opt := <TijahOptions
collection="thesis"
txtmodel_model="LMS"
txtmodel_returnall="true"
debug="0"/>
return pf:tijah-query($opt,(),"//section[about(.,pathfinder)]")
--- NEW FILE: loadthesis.stable.out ---
stdout of test 'loadthesis` in directory 'modules/pftijah` itself:
# 11:32:35 >
# 11:32:35 > Mtimeout -timeout 60 Mserver
"--config=/local/os/MonetDB/etc/MonetDB.conf" --debug=10 --set
"monet_mod_path=/local/os/MonetDB/lib/MonetDB4:/local/os/MonetDB/lib/MonetDB4/lib:/local/os/MonetDB/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/os/MonetDB/var/MonetDB4/dbfarm" --set
"sql_logdir=/local/os/MonetDB/var/MonetDB4/sql_logs" --set
"xquery_logdir=/local/os/MonetDB/var/MonetDB4/xquery_logs" --set
mapi_port=37428 --set xrpc_port=48451 --set monet_prompt= --trace
--dbname=mTests_modules_pftijah < loadthesis.milS
# 11:32:35 >
# Monet Database Server V4.16.1
# Copyright (c) 1993-2007, CWI. All rights reserved.
# Compiled for x86_64-suse-linux/64bit with 32bit OIDs; dynamically linked.
# Visit http://monetdb.cwi.nl/ for further information.
module(pftijah);
module(unix);
# should run if you set TSTTRGDIR to pwd
var path:=getenv("TSTSRCDIR");
# index thesis collection
tj_init_collection("thesis", new(str,str).insert("stemmer","snowball-english"));
tj_add2collection("thesis",path+"/xml-docs/thesis.xml","thesis.xml",true);
# Elapsed time = 765us [010us/node]
# Shredded 1 XML document (thesis.xml), total time after commit=0.007s
quit();
# 11:32:35 >
# 11:32:35 > Done.
# 11:32:35 >
--- NEW FILE: test_lms_returnmatching.modules ---
pftijah
--- NEW FILE: test_lms_returnall.dbinit ---
module(pathfinder);module(pftijah);
--- NEW FILE: test_lms_returnmatching.stable.out ---
stdout of test 'test_lms_returnmatching` in directory 'modules/pftijah` itself:
# 12:04:30 >
# 12:04:30 > Mtimeout -timeout 180 Mserver
"--config=/local/os/MonetDB/etc/MonetDB.conf" --debug=10 --set
"monet_mod_path=/local/os/MonetDB/lib/MonetDB4:/local/os/MonetDB/lib/MonetDB4/lib:/local/os/MonetDB/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/os/MonetDB/var/MonetDB4/dbfarm" --set
"sql_logdir=/local/os/MonetDB/var/MonetDB4/sql_logs" --set
"xquery_logdir=/local/os/MonetDB/var/MonetDB4/xquery_logs" --set
mapi_port=31688 --set xrpc_port=42612 --set monet_prompt= --trace
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah);
module(pathfinder);" ; echo ; echo Over..
# 12:04:30 >
# Monet Database Server V4.16.1
# Copyright (c) 1993-2007, CWI. All rights reserved.
# Compiled for x86_64-suse-linux/64bit with 32bit OIDs; dynamically linked.
# Visit http://monetdb.cwi.nl/ for further information.
printf("\nReady.\n");
Ready.
quit();
Over..
# 12:04:30 >
# 12:04:30 > Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb
-Pmonetdb --host=localhost --port=31688 test_lms_returnmatching.xq
# 12:04:30 >
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><section id="sec3"><title>Pathfinder</title>
<para id="par7">This section is about the Pathfinder XML database.
This section is
more about Pathfinder than any other section is about
Pathfinder.</para>
</section></XQueryResult>
# 12:04:30 >
# 12:04:30 > Done.
# 12:04:30 >
--- NEW FILE: loadthesis.stable.err ---
stderr of test 'loadthesis` in directory 'modules/pftijah` itself:
# 11:32:35 >
# 11:32:35 > Mtimeout -timeout 60 Mserver
"--config=/local/os/MonetDB/etc/MonetDB.conf" --debug=10 --set
"monet_mod_path=/local/os/MonetDB/lib/MonetDB4:/local/os/MonetDB/lib/MonetDB4/lib:/local/os/MonetDB/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/os/MonetDB/var/MonetDB4/dbfarm" --set
"sql_logdir=/local/os/MonetDB/var/MonetDB4/sql_logs" --set
"xquery_logdir=/local/os/MonetDB/var/MonetDB4/xquery_logs" --set
mapi_port=37428 --set xrpc_port=48451 --set monet_prompt= --trace
--dbname=mTests_modules_pftijah < loadthesis.milS
# 11:32:35 >
# builtin opt gdk_arch = 64bitx86_64-suse-linux
# builtin opt gdk_version = 1.16.1
# builtin opt monet_pid = 617
# builtin opt prefix = /local/os/MonetDB
# builtin opt exec_prefix = ${prefix}
# builtin opt gdk_dbname = tst
# builtin opt gdk_dbfarm = ${prefix}/var/MonetDB
# builtin opt gdk_debug = 8
# builtin opt gdk_mem_bigsize = 262144
# builtin opt gdk_vm_minsize = 137438953472
# builtin opt gdk_alloc_map = yes
# builtin opt gdk_mem_pagebits = 14
# builtin opt monet_admin = adm
# builtin opt monet_prompt = >
# builtin opt monet_welcome = yes
# builtin opt monet_mod_path =
${exec_prefix}/lib/MonetDB:${exec_prefix}/lib/bin
# builtin opt monet_daemon = yes
# builtin opt host = localhost
# builtin opt mapi_port = 50000
# builtin opt mapi_noheaders = no
# builtin opt mapi_debug = 0
# builtin opt mapi_clients = 2
# builtin opt sql_debug = 0
# builtin opt sql_logdir = ${prefix}/var/MonetDB/sql_logs
# builtin opt xquery_logdir = ${prefix}/var/MonetDB/xquery_logs
# builtin opt standoff_ns = http://monetdb.cwi.nl/standoff
# builtin opt standoff_start = start
# builtin opt standoff_end = end
# config opt prefix = /local/os/MonetDB
# config opt config = ${prefix}/etc/MonetDB.conf
# config opt prefix = /local/os/MonetDB
# config opt exec_prefix = ${prefix}
# config opt datadir = ${prefix}/share
# config opt gdk_dbfarm = ${prefix}/var/MonetDB4/dbfarm
# config opt gdk_dbname = demo
# config opt gdk_alloc_map = no
# config opt gdk_embedded = no
# config opt gdk_debug = 0
# config opt monet_admin = adm
# config opt monet_prompt = MonetDB>
# config opt monet_welcome = yes
# config opt monet_mod_path =
${exec_prefix}/lib/MonetDB4:${exec_prefix}/lib/MonetDB4/lib:${exec_prefix}/lib/MonetDB4/bin
# config opt monet_daemon = no
# config opt mapi_port = 50000
# config opt mapi_open = false
# config opt mapi_debug = 0
# config opt sql_debug = 0
# config opt sql_logdir = ${prefix}/var/MonetDB4/sql_logs
# config opt xquery_output = dm
# config opt xquery_cacheMB = 100
# config opt xquery_cacherules =
# config opt xquery_procMB = 128
# config opt xquery_logdir = ${prefix}/var/MonetDB4/xquery_logs
# config opt xrpc_port =
# config opt xrpc_open = yes
# config opt xrpc_admin = 127.0.0.1
# config opt xrpc_trusted =
http://monetdb.cwi.nl;${prefix}/share/MonetDB/www/export
# config opt standoff_ns =
# config opt standoff_start = start
# config opt standoff_end = end
# cmdline opt config = /local/os/MonetDB/etc/MonetDB.conf
# cmdline opt gdk_debug = 10
# cmdline opt monet_mod_path =
/local/os/MonetDB/lib/MonetDB4:/local/os/MonetDB/lib/MonetDB4/lib:/local/os/MonetDB/lib/MonetDB4/bin
# cmdline opt gdk_dbfarm = /local/os/MonetDB/var/MonetDB4/dbfarm
# cmdline opt sql_logdir = /local/os/MonetDB/var/MonetDB4/sql_logs
# cmdline opt xquery_logdir = /local/os/MonetDB/var/MonetDB4/xquery_logs
# cmdline opt mapi_port = 37428
# cmdline opt xrpc_port = 48451
# cmdline opt monet_prompt =
# cmdline opt gdk_dbname = mTests_modules_pftijah
# 11:32:35 >
# 11:32:35 > Done.
# 11:32:35 >
--- NEW FILE: test_lms_returnmatching.xq ---
let $opt := <TijahOptions
collection="thesis"
txtmodel_model="LMS"
txtmodel_returnall="false"
debug="0"/>
return pf:tijah-query($opt,(),"//section[about(.,pathfinder)]")
--- NEW FILE: test_lms_returnall.stable.out ---
stdout of test 'test_lms_returnall` in directory 'modules/pftijah` itself:
# 12:04:29 >
# 12:04:29 > Mtimeout -timeout 180 Mserver
"--config=/local/os/MonetDB/etc/MonetDB.conf" --debug=10 --set
"monet_mod_path=/local/os/MonetDB/lib/MonetDB4:/local/os/MonetDB/lib/MonetDB4/lib:/local/os/MonetDB/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/os/MonetDB/var/MonetDB4/dbfarm" --set
"sql_logdir=/local/os/MonetDB/var/MonetDB4/sql_logs" --set
"xquery_logdir=/local/os/MonetDB/var/MonetDB4/xquery_logs" --set
mapi_port=31688 --set xrpc_port=42612 --set monet_prompt= --trace
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah);
module(pathfinder);" ; echo ; echo Over..
# 12:04:29 >
# Monet Database Server V4.16.1
# Copyright (c) 1993-2007, CWI. All rights reserved.
# Compiled for x86_64-suse-linux/64bit with 32bit OIDs; dynamically linked.
# Visit http://monetdb.cwi.nl/ for further information.
printf("\nReady.\n");
Ready.
quit();
Over..
# 12:04:30 >
# 12:04:30 > Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb
-Pmonetdb --host=localhost --port=31688 test_lms_returnall.xq
# 12:04:30 >
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><section id="sec3"><title>Pathfinder</title>
<para id="par7">This section is about the Pathfinder XML database.
This section is
more about Pathfinder than any other section is about
Pathfinder.</para>
</section><section id="sec5"><title>XML definitions</title>
<para id="par9">This section contains definitions that are used in
XML databases
and XML information retrieval</para>
</section><section id="sec4"><title>TIJAH</title>
<para id="par8">This section is about the TIJAH XML information
retrieval
system. This section is more about TIJAH than any other
section is
about TIJAH.</para>
</section><section id="sec2"><title>XML Information retrieval</title>
<para id="par4">This section is about XML information
retrieval.</para>
<para id="par5">It contains the words XML, information and
retrieval many times,
more than say databases.
It should be more relevant to XML information retrieval
than the previous section.</para>
</section><section id="sec1"><title>XML databases</title>
<para id="par2">This section is about XML databases.</para>
<para id="par3">It contains the words XML and databases many times,
more than say information and retrieval.
It should be more relevant to XML databases than
the next section.</para>
</section></XQueryResult>
# 12:04:30 >
# 12:04:30 > Done.
# 12:04:30 >
--- NEW FILE: test_lms_returnmatching.stable.err ---
stderr of test 'test_lms_returnmatching` in directory 'modules/pftijah` itself:
# 12:04:30 >
# 12:04:30 > Mtimeout -timeout 180 Mserver
"--config=/local/os/MonetDB/etc/MonetDB.conf" --debug=10 --set
"monet_mod_path=/local/os/MonetDB/lib/MonetDB4:/local/os/MonetDB/lib/MonetDB4/lib:/local/os/MonetDB/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/os/MonetDB/var/MonetDB4/dbfarm" --set
"sql_logdir=/local/os/MonetDB/var/MonetDB4/sql_logs" --set
"xquery_logdir=/local/os/MonetDB/var/MonetDB4/xquery_logs" --set
mapi_port=31688 --set xrpc_port=42612 --set monet_prompt= --trace
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah);
module(pathfinder);" ; echo ; echo Over..
# 12:04:30 >
# builtin opt gdk_arch = 64bitx86_64-suse-linux
# builtin opt gdk_version = 1.16.1
# builtin opt monet_pid = 8785
# builtin opt prefix = /local/os/MonetDB
# builtin opt exec_prefix = ${prefix}
# builtin opt gdk_dbname = tst
# builtin opt gdk_dbfarm = ${prefix}/var/MonetDB
# builtin opt gdk_debug = 8
# builtin opt gdk_mem_bigsize = 262144
# builtin opt gdk_vm_minsize = 137438953472
# builtin opt gdk_alloc_map = yes
# builtin opt gdk_mem_pagebits = 14
# builtin opt monet_admin = adm
# builtin opt monet_prompt = >
# builtin opt monet_welcome = yes
# builtin opt monet_mod_path =
${exec_prefix}/lib/MonetDB:${exec_prefix}/lib/bin
# builtin opt monet_daemon = yes
# builtin opt host = localhost
# builtin opt mapi_port = 50000
# builtin opt mapi_noheaders = no
# builtin opt mapi_debug = 0
# builtin opt mapi_clients = 2
# builtin opt sql_debug = 0
# builtin opt sql_logdir = ${prefix}/var/MonetDB/sql_logs
# builtin opt xquery_logdir = ${prefix}/var/MonetDB/xquery_logs
# builtin opt standoff_ns = http://monetdb.cwi.nl/standoff
# builtin opt standoff_start = start
# builtin opt standoff_end = end
# config opt prefix = /local/os/MonetDB
# config opt config = ${prefix}/etc/MonetDB.conf
# config opt prefix = /local/os/MonetDB
# config opt exec_prefix = ${prefix}
# config opt datadir = ${prefix}/share
# config opt gdk_dbfarm = ${prefix}/var/MonetDB4/dbfarm
# config opt gdk_dbname = demo
# config opt gdk_alloc_map = no
# config opt gdk_embedded = no
# config opt gdk_debug = 0
# config opt monet_admin = adm
# config opt monet_prompt = MonetDB>
# config opt monet_welcome = yes
# config opt monet_mod_path =
${exec_prefix}/lib/MonetDB4:${exec_prefix}/lib/MonetDB4/lib:${exec_prefix}/lib/MonetDB4/bin
# config opt monet_daemon = no
# config opt mapi_port = 50000
# config opt mapi_open = false
# config opt mapi_debug = 0
# config opt sql_debug = 0
# config opt sql_logdir = ${prefix}/var/MonetDB4/sql_logs
# config opt xquery_output = dm
# config opt xquery_cacheMB = 100
# config opt xquery_cacherules =
# config opt xquery_procMB = 128
# config opt xquery_logdir = ${prefix}/var/MonetDB4/xquery_logs
# config opt xrpc_port =
# config opt xrpc_open = yes
# config opt xrpc_admin = 127.0.0.1
# config opt xrpc_trusted =
http://monetdb.cwi.nl;${prefix}/share/MonetDB/www/export
# config opt standoff_ns =
# config opt standoff_start = start
# config opt standoff_end = end
# cmdline opt config = /local/os/MonetDB/etc/MonetDB.conf
# cmdline opt gdk_debug = 10
# cmdline opt monet_mod_path =
/local/os/MonetDB/lib/MonetDB4:/local/os/MonetDB/lib/MonetDB4/lib:/local/os/MonetDB/lib/MonetDB4/bin
# cmdline opt gdk_dbfarm = /local/os/MonetDB/var/MonetDB4/dbfarm
# cmdline opt sql_logdir = /local/os/MonetDB/var/MonetDB4/sql_logs
# cmdline opt xquery_logdir = /local/os/MonetDB/var/MonetDB4/xquery_logs
# cmdline opt mapi_port = 31688
# cmdline opt xrpc_port = 42612
# cmdline opt monet_prompt =
# cmdline opt gdk_dbname = mTests_modules_pftijah
# 12:04:30 >
# 12:04:30 > Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb
-Pmonetdb --host=localhost --port=31688 test_lms_returnmatching.xq
# 12:04:30 >
# 12:04:30 >
# 12:04:30 > Done.
# 12:04:30 >
--- NEW FILE: test_lms_returnall.modules ---
pftijah
--- NEW FILE: test_lms_returnmatching.dbinit ---
module(pathfinder);module(pftijah);
--- NEW FILE: test_lms_returnall.stable.err ---
stderr of test 'test_lms_returnall` in directory 'modules/pftijah` itself:
# 12:04:29 >
# 12:04:29 > Mtimeout -timeout 180 Mserver
"--config=/local/os/MonetDB/etc/MonetDB.conf" --debug=10 --set
"monet_mod_path=/local/os/MonetDB/lib/MonetDB4:/local/os/MonetDB/lib/MonetDB4/lib:/local/os/MonetDB/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/os/MonetDB/var/MonetDB4/dbfarm" --set
"sql_logdir=/local/os/MonetDB/var/MonetDB4/sql_logs" --set
"xquery_logdir=/local/os/MonetDB/var/MonetDB4/xquery_logs" --set
mapi_port=31688 --set xrpc_port=42612 --set monet_prompt= --trace
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah);
module(pathfinder);" ; echo ; echo Over..
# 12:04:29 >
# builtin opt gdk_arch = 64bitx86_64-suse-linux
# builtin opt gdk_version = 1.16.1
# builtin opt monet_pid = 8767
# builtin opt prefix = /local/os/MonetDB
# builtin opt exec_prefix = ${prefix}
# builtin opt gdk_dbname = tst
# builtin opt gdk_dbfarm = ${prefix}/var/MonetDB
# builtin opt gdk_debug = 8
# builtin opt gdk_mem_bigsize = 262144
# builtin opt gdk_vm_minsize = 137438953472
# builtin opt gdk_alloc_map = yes
# builtin opt gdk_mem_pagebits = 14
# builtin opt monet_admin = adm
# builtin opt monet_prompt = >
# builtin opt monet_welcome = yes
# builtin opt monet_mod_path =
${exec_prefix}/lib/MonetDB:${exec_prefix}/lib/bin
# builtin opt monet_daemon = yes
# builtin opt host = localhost
# builtin opt mapi_port = 50000
# builtin opt mapi_noheaders = no
# builtin opt mapi_debug = 0
# builtin opt mapi_clients = 2
# builtin opt sql_debug = 0
# builtin opt sql_logdir = ${prefix}/var/MonetDB/sql_logs
# builtin opt xquery_logdir = ${prefix}/var/MonetDB/xquery_logs
# builtin opt standoff_ns = http://monetdb.cwi.nl/standoff
# builtin opt standoff_start = start
# builtin opt standoff_end = end
# config opt prefix = /local/os/MonetDB
# config opt config = ${prefix}/etc/MonetDB.conf
# config opt prefix = /local/os/MonetDB
# config opt exec_prefix = ${prefix}
# config opt datadir = ${prefix}/share
# config opt gdk_dbfarm = ${prefix}/var/MonetDB4/dbfarm
# config opt gdk_dbname = demo
# config opt gdk_alloc_map = no
# config opt gdk_embedded = no
# config opt gdk_debug = 0
# config opt monet_admin = adm
# config opt monet_prompt = MonetDB>
# config opt monet_welcome = yes
# config opt monet_mod_path =
${exec_prefix}/lib/MonetDB4:${exec_prefix}/lib/MonetDB4/lib:${exec_prefix}/lib/MonetDB4/bin
# config opt monet_daemon = no
# config opt mapi_port = 50000
# config opt mapi_open = false
# config opt mapi_debug = 0
# config opt sql_debug = 0
# config opt sql_logdir = ${prefix}/var/MonetDB4/sql_logs
# config opt xquery_output = dm
# config opt xquery_cacheMB = 100
# config opt xquery_cacherules =
# config opt xquery_procMB = 128
# config opt xquery_logdir = ${prefix}/var/MonetDB4/xquery_logs
# config opt xrpc_port =
# config opt xrpc_open = yes
# config opt xrpc_admin = 127.0.0.1
# config opt xrpc_trusted =
http://monetdb.cwi.nl;${prefix}/share/MonetDB/www/export
# config opt standoff_ns =
# config opt standoff_start = start
# config opt standoff_end = end
# cmdline opt config = /local/os/MonetDB/etc/MonetDB.conf
# cmdline opt gdk_debug = 10
# cmdline opt monet_mod_path =
/local/os/MonetDB/lib/MonetDB4:/local/os/MonetDB/lib/MonetDB4/lib:/local/os/MonetDB/lib/MonetDB4/bin
# cmdline opt gdk_dbfarm = /local/os/MonetDB/var/MonetDB4/dbfarm
# cmdline opt sql_logdir = /local/os/MonetDB/var/MonetDB4/sql_logs
# cmdline opt xquery_logdir = /local/os/MonetDB/var/MonetDB4/xquery_logs
# cmdline opt mapi_port = 31688
# cmdline opt xrpc_port = 42612
# cmdline opt monet_prompt =
# cmdline opt gdk_dbname = mTests_modules_pftijah
# 12:04:30 >
# 12:04:30 > Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb
-Pmonetdb --host=localhost --port=31688 test_lms_returnall.xq
# 12:04:30 >
# 12:04:30 >
# 12:04:30 > Done.
# 12:04:30 >
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins