[Monetdb-pf-checkins] pathfinder/modules/pftijah/Tests test_downprop.dbinit, NONE, 1.1.2.1 test_downprop.modules, NONE, 1.1.2.1 test_downprop.stable.err, NONE, 1.1.2.1 test_downprop.stable.out, NONE, 1.1.2.1 test_downprop.xq, NONE, 1.1.2.1 test_select_star1.dbinit, NONE, 1.1.2.1 test_select_star1.modules, NONE, 1.1.2.1 test_select_star1.stable.err, NONE, 1.1.2.1 test_select_star1.stable.out, NONE, 1.1.2.1 test_select_star1.xq, NONE, 1.1.2.1 test_select_star2.dbinit, NONE, 1.1.2.1 test_select_star2.modules, NONE, 1.1.2.1 test_select_star2.stable.err, NONE, 1.1.2.1 test_select_star2.stable.out, NONE, 1.1.2.1 test_select_star2.xq, NONE, 1.1.2.1 test_select_star3.dbinit, NONE, 1.1.2.1 test_select_star3.modules, NONE, 1.1.2.1 test_select_star3.stable.err, NONE, 1.1.2.1 test_select_star3.stable.out, NONE, 1.1.2.1 test_select_star3.xq, NONE, 1.1.2.1 test_union.dbinit, NONE, 1.1.2.1 test_union.modules, NONE, 1.1.2.1 test_union.stable.err, NONE, 1.1.2.1 test_union.stable.out, NONE, 1.1.2.1 test_union.xq, NONE, 1.1.2.1 test_upprop.dbinit, NONE, 1.1.2.1 test_upprop.modules, NONE, 1.1.2.1 test_upprop.stable.err, NONE, 1.1.2.1 test_upprop.stable.out, NONE, 1.1.2.1 test_upprop.xq, NONE, 1.1.2.1 All, 1.4.2.3, 1.4.2.4 test_lms_and.stable.out, 1.1.2.1, 1.1.2.2 test_lms_and.xq, 1.1.2.1, 1.1.2.2 test_lms_or.stable.out, 1.1.2.1, 1.1.2.2 test_lms_or.xq, 1.1.2.1, 1.1.2.2 test_lms_returnall.stable.out, 1.1.2.1, 1.1.2.2 test_lms_returnall.xq, 1.1.2.1, 1.1.2.2 test_lms_returnmatching.stable.out, 1.1.2.1, 1.1.2.2 test_lms_returnmatching.xq, 1.1.2.1, 1.1.2.2

Mon, 19 Feb 2007 06:21:27 -0800

Update of /cvsroot/monetdb/pathfinder/modules/pftijah/Tests
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv22857

Modified Files:
      Tag: XQuery_0-16
        All test_lms_and.stable.out test_lms_and.xq 
        test_lms_or.stable.out test_lms_or.xq 
        test_lms_returnall.stable.out test_lms_returnall.xq 
        test_lms_returnmatching.stable.out test_lms_returnmatching.xq 
Added Files:
      Tag: XQuery_0-16
        test_downprop.dbinit test_downprop.modules 
        test_downprop.stable.err test_downprop.stable.out 
        test_downprop.xq test_select_star1.dbinit 
        test_select_star1.modules test_select_star1.stable.err 
        test_select_star1.stable.out test_select_star1.xq 
        test_select_star2.dbinit test_select_star2.modules 
        test_select_star2.stable.err test_select_star2.stable.out 
        test_select_star2.xq test_select_star3.dbinit 
        test_select_star3.modules test_select_star3.stable.err 
        test_select_star3.stable.out test_select_star3.xq 
        test_union.dbinit test_union.modules test_union.stable.err 
        test_union.stable.out test_union.xq test_upprop.dbinit 
        test_upprop.modules test_upprop.stable.err 
        test_upprop.stable.out test_upprop.xq 
Log Message:
PF/Tijah:
 - add more NEXI tests: //* variants, union, upward and downward
propagation. All of these use LMS as retrieval model
 - slightly modified test outputs
 - approved tests


Index: test_lms_or.xq
===================================================================
RCS file: 
/cvsroot/monetdb/pathfinder/modules/pftijah/Tests/Attic/test_lms_or.xq,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- test_lms_or.xq      19 Feb 2007 11:57:42 -0000      1.1.2.1
+++ test_lms_or.xq      19 Feb 2007 13:17:58 -0000      1.1.2.2
@@ -4,4 +4,7 @@
                 txtmodel_returnall="false"
                 debug="0"/>
 
-return pf:tijah-query($opt,(),"//title[about(.,pathfinder) or about(.,tijah)]")
+let $query := "//title[about(.,pathfinder) or about(.,tijah)]"
+
+for $n at $r in pf:tijah-query($opt,(),$query)
+return <node rank="{$r}">{$n}</node>

--- NEW FILE: test_union.dbinit ---
module(pathfinder);module(pftijah);

--- NEW FILE: test_downprop.dbinit ---
module(pathfinder);module(pftijah);

--- NEW FILE: test_select_star3.xq ---
let $opt := <TijahOptions 
                collection="thesis" 
                txtmodel_model="LMS" 
                txtmodel_returnall="false"
                debug="0"/>

let $query := "//section[about(.,information retrieval)]//*[about(.,XML)]"

for $n at $r in pf:tijah-query($opt,(),$query)
return <node rank="{$r}">{$n}</node>

--- NEW FILE: test_downprop.stable.err ---
stderr of test 'test_downprop` in directory 'modules/pftijah` itself:


# 13:19:58 >  
# 13:19:58 >  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=39441 --set xrpc_port=43001 --set monet_prompt= --trace 
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah); 
module(pathfinder);" ; echo ; echo Over..
# 13:19:58 >  

# builtin opt   gdk_arch = 64bitx86_64-suse-linux
# builtin opt   gdk_version = 1.16.1
# builtin opt   monet_pid = 9768
# 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 = 39441
# cmdline opt   xrpc_port = 43001
# cmdline opt   monet_prompt = 
# cmdline opt   gdk_dbname = mTests_modules_pftijah

# 13:19:58 >  
# 13:19:58 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=localhost --port=39441 test_downprop.xq
# 13:19:58 >  


# 13:19:58 >  
# 13:19:58 >  Done.
# 13:19:58 >  


Index: test_lms_returnall.stable.out
===================================================================
RCS file: 
/cvsroot/monetdb/pathfinder/modules/pftijah/Tests/Attic/test_lms_returnall.stable.out,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- test_lms_returnall.stable.out       19 Feb 2007 11:10:42 -0000      1.1.2.1
+++ test_lms_returnall.stable.out       19 Feb 2007 13:17:58 -0000      1.1.2.2
@@ -22,29 +22,29 @@
 # 12:04:30 >  
 
 <?xml version="1.0" encoding="utf-8"?>
-<XQueryResult><section id="sec3"><title>Pathfinder</title>
+<XQueryResult><node rank="1"><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>
+        </section></node><node rank="2"><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>
+        </section></node><node rank="3"><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>
+        </section></node><node rank="4"><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>
+        </section></node><node rank="5"><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>
+        </section></node></XQueryResult>
 
 # 12:04:30 >  
 # 12:04:30 >  Done.

Index: test_lms_or.stable.out
===================================================================
RCS file: 
/cvsroot/monetdb/pathfinder/modules/pftijah/Tests/Attic/test_lms_or.stable.out,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- test_lms_or.stable.out      19 Feb 2007 11:57:40 -0000      1.1.2.1
+++ test_lms_or.stable.out      19 Feb 2007 13:17:57 -0000      1.1.2.2
@@ -22,7 +22,7 @@
 # 12:52:37 >  
 
 <?xml version="1.0" encoding="utf-8"?>
-<XQueryResult><title>Pathfinder and 
TIJAH</title><title>TIJAH</title><title>Pathfinder</title><title>PF/Tijah</title></XQueryResult>
+<XQueryResult><node rank="1"><title>Pathfinder and TIJAH</title></node><node 
rank="2"><title>TIJAH</title></node><node 
rank="3"><title>Pathfinder</title></node><node 
rank="4"><title>PF/Tijah</title></node></XQueryResult>
 
 # 12:52:37 >  
 # 12:52:37 >  Done.

--- NEW FILE: test_union.stable.out ---
stdout of test 'test_union` in directory 'modules/pftijah` itself:


# 13:24:12 >  
# 13:24:12 >  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=36617 --set xrpc_port=46186 --set monet_prompt= --trace 
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah); 
module(pathfinder);" ; echo ; echo Over..
# 13:24:12 >  

# 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..

# 13:24:13 >  
# 13:24:13 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=localhost --port=36617 test_union.xq
# 13:24:13 >  

<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><node rank="1"><para id="par4">This section is about XML 
information retrieval.</para></node><node rank="2"><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></node><node rank="3"><para 
id="par9">This section contains definitions that are used in XML databases 
                  and XML information retrieval</para></node><node 
rank="4"><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></node><node rank="5"><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></node><node rank="6"><para 
id="par1">This chapter is about XML databases and retrieval 
systems.</para></node></XQueryResult>

# 13:24:13 >  
# 13:24:13 >  Done.
# 13:24:13 >  


--- NEW FILE: test_upprop.stable.out ---
stdout of test 'test_upprop` in directory 'modules/pftijah` itself:


# 13:19:57 >  
# 13:19:57 >  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=39441 --set xrpc_port=43001 --set monet_prompt= --trace 
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah); 
module(pathfinder);" ; echo ; echo Over..
# 13:19:57 >  

# 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..

# 13:19:58 >  
# 13:19:58 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=localhost --port=39441 test_upprop.xq
# 13:19:58 >  

<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><node rank="1"><chapter id="ch1">
        <title>Structured information storage and retrieval</title>
        <para id="par1">This chapter is about XML databases and retrieval 
systems.</para>
        <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>
        <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>
    </chapter></node></XQueryResult>

# 13:19:58 >  
# 13:19:58 >  Done.
# 13:19:58 >  


--- NEW FILE: test_select_star1.dbinit ---
module(pathfinder);module(pftijah);

--- NEW FILE: test_union.xq ---
let $opt := <TijahOptions 
                collection="thesis" 
                txtmodel_model="LMS" 
                txtmodel_returnall="false"
                debug="0"/>

let $query := "//(chapter|section)//para[about(.,information retrieval)]"

for $n at $r in pf:tijah-query($opt,(),$query)
return <node rank="{$r}">{$n}</node>

--- NEW FILE: test_select_star2.stable.err ---
stderr of test 'test_select_star2` in directory 'modules/pftijah` itself:


# 13:49:21 >  
# 13:49:21 >  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=34938 --set xrpc_port=46969 --set monet_prompt= --trace 
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah); 
module(pathfinder);" ; echo ; echo Over..
# 13:49:21 >  

# builtin opt   gdk_arch = 64bitx86_64-suse-linux
# builtin opt   gdk_version = 1.16.1
# builtin opt   monet_pid = 15371
# 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 = 34938
# cmdline opt   xrpc_port = 46969
# cmdline opt   monet_prompt = 
# cmdline opt   gdk_dbname = mTests_modules_pftijah

# 13:49:22 >  
# 13:49:22 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=localhost --port=34938 test_select_star2.xq
# 13:49:22 >  


# 13:49:22 >  
# 13:49:22 >  Done.
# 13:49:22 >  


--- NEW FILE: test_downprop.xq ---
let $opt := <TijahOptions 
                collection="thesis" 
                txtmodel_model="LMS" 
                txtmodel_returnall="false"
                debug="0"/>

let $query := "//chapter[about(.,information 
retrieval)]//section[about(.,pathfinder)]"

for $n at $r in pf:tijah-query($opt,(),$query)
return <node rank="{$r}">{$n}</node>

--- NEW FILE: test_select_star3.modules ---
pftijah

Index: test_lms_returnmatching.xq
===================================================================
RCS file: 
/cvsroot/monetdb/pathfinder/modules/pftijah/Tests/Attic/test_lms_returnmatching.xq,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- test_lms_returnmatching.xq  19 Feb 2007 11:10:45 -0000      1.1.2.1
+++ test_lms_returnmatching.xq  19 Feb 2007 13:18:00 -0000      1.1.2.2
@@ -4,4 +4,7 @@
                 txtmodel_returnall="false"
                 debug="0"/>
 
-return pf:tijah-query($opt,(),"//section[about(.,pathfinder)]")
+let $query := "//section[about(.,pathfinder)]"
+
+for $n at $r in pf:tijah-query($opt,(),$query)
+return <node rank="{$r}">{$n}</node>

--- NEW FILE: test_select_star3.dbinit ---
module(pathfinder);module(pftijah);

--- NEW FILE: test_downprop.stable.out ---
stdout of test 'test_downprop` in directory 'modules/pftijah` itself:


# 13:19:58 >  
# 13:19:58 >  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=39441 --set xrpc_port=43001 --set monet_prompt= --trace 
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah); 
module(pathfinder);" ; echo ; echo Over..
# 13:19:58 >  

# 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..

# 13:19:58 >  
# 13:19:58 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=localhost --port=39441 test_downprop.xq
# 13:19:58 >  

<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><node rank="1"><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></node></XQueryResult>

# 13:19:58 >  
# 13:19:58 >  Done.
# 13:19:58 >  


Index: test_lms_and.stable.out
===================================================================
RCS file: 
/cvsroot/monetdb/pathfinder/modules/pftijah/Tests/Attic/test_lms_and.stable.out,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- test_lms_and.stable.out     19 Feb 2007 11:57:31 -0000      1.1.2.1
+++ test_lms_and.stable.out     19 Feb 2007 13:17:57 -0000      1.1.2.2
@@ -22,7 +22,7 @@
 # 12:52:36 >  
 
 <?xml version="1.0" encoding="utf-8"?>
-<XQueryResult><title>Pathfinder and TIJAH</title></XQueryResult>
+<XQueryResult><node rank="1"><title>Pathfinder and 
TIJAH</title></node></XQueryResult>
 
 # 12:52:37 >  
 # 12:52:37 >  Done.

--- NEW FILE: test_select_star2.stable.out ---
stdout of test 'test_select_star2` in directory 'modules/pftijah` itself:


# 13:49:21 >  
# 13:49:21 >  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=34938 --set xrpc_port=46969 --set monet_prompt= --trace 
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah); 
module(pathfinder);" ; echo ; echo Over..
# 13:49:21 >  

# 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..

# 13:49:22 >  
# 13:49:22 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=localhost --port=34938 test_select_star2.xq
# 13:49:22 >  

<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><node rank="1"><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></node><node rank="2"><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></node><node rank="3"><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></node><node rank="4"><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></node></XQueryResult>

# 13:49:22 >  
# 13:49:22 >  Done.
# 13:49:22 >  


Index: test_lms_returnall.xq
===================================================================
RCS file: 
/cvsroot/monetdb/pathfinder/modules/pftijah/Tests/Attic/test_lms_returnall.xq,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- test_lms_returnall.xq       19 Feb 2007 11:10:42 -0000      1.1.2.1
+++ test_lms_returnall.xq       19 Feb 2007 13:17:59 -0000      1.1.2.2
@@ -4,4 +4,7 @@
                 txtmodel_returnall="true"
                 debug="0"/>
 
-return pf:tijah-query($opt,(),"//section[about(.,pathfinder)]")
+let $query := "//section[about(.,pathfinder)]"
+
+for $n at $r in pf:tijah-query($opt,(),$query)
+return <node rank="{$r}">{$n}</node>

--- NEW FILE: test_select_star1.stable.err ---
stderr of test 'test_select_star1` in directory 'modules/pftijah` itself:


# 13:49:21 >  
# 13:49:21 >  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=34938 --set xrpc_port=46969 --set monet_prompt= --trace 
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah); 
module(pathfinder);" ; echo ; echo Over..
# 13:49:21 >  

# builtin opt   gdk_arch = 64bitx86_64-suse-linux
# builtin opt   gdk_version = 1.16.1
# builtin opt   monet_pid = 15353
# 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 = 34938
# cmdline opt   xrpc_port = 46969
# cmdline opt   monet_prompt = 
# cmdline opt   gdk_dbname = mTests_modules_pftijah

# 13:49:21 >  
# 13:49:21 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=localhost --port=34938 test_select_star1.xq
# 13:49:21 >  


# 13:49:21 >  
# 13:49:21 >  Done.
# 13:49:21 >  


--- NEW FILE: test_select_star3.stable.err ---
stderr of test 'test_select_star3` in directory 'modules/pftijah` itself:


# 13:49:22 >  
# 13:49:22 >  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=34938 --set xrpc_port=46969 --set monet_prompt= --trace 
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah); 
module(pathfinder);" ; echo ; echo Over..
# 13:49:22 >  

# builtin opt   gdk_arch = 64bitx86_64-suse-linux
# builtin opt   gdk_version = 1.16.1
# builtin opt   monet_pid = 15389
# 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 = 34938
# cmdline opt   xrpc_port = 46969
# cmdline opt   monet_prompt = 
# cmdline opt   gdk_dbname = mTests_modules_pftijah

# 13:49:22 >  
# 13:49:22 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=localhost --port=34938 test_select_star3.xq
# 13:49:22 >  


# 13:49:22 >  
# 13:49:22 >  Done.
# 13:49:22 >  


--- NEW FILE: test_select_star3.stable.out ---
stdout of test 'test_select_star3` in directory 'modules/pftijah` itself:


# 13:49:22 >  
# 13:49:22 >  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=34938 --set xrpc_port=46969 --set monet_prompt= --trace 
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah); 
module(pathfinder);" ; echo ; echo Over..
# 13:49:22 >  

# 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..

# 13:49:22 >  
# 13:49:22 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=localhost --port=34938 test_select_star3.xq
# 13:49:22 >  

<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><node rank="1"><title>XML definitions</title></node><node 
rank="2"><title>XML databases</title></node><node rank="3"><title>XML 
Information retrieval</title></node><node rank="4"><para id="par4">This section 
is about XML information retrieval.</para></node><node rank="5"><para 
id="par2">This section is about XML databases.</para></node><node 
rank="6"><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></node><node rank="7"><para 
id="par9">This section contains definitions that are used in XML databases 
                  and XML information retrieval</para></node><node 
rank="8"><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></node><node rank="9"><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></node></XQueryResult>

# 13:49:22 >  
# 13:49:22 >  Done.
# 13:49:22 >  


--- NEW FILE: test_select_star1.modules ---
pftijah

Index: test_lms_and.xq
===================================================================
RCS file: 
/cvsroot/monetdb/pathfinder/modules/pftijah/Tests/Attic/test_lms_and.xq,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- test_lms_and.xq     19 Feb 2007 11:57:32 -0000      1.1.2.1
+++ test_lms_and.xq     19 Feb 2007 13:17:57 -0000      1.1.2.2
@@ -4,4 +4,7 @@
                 txtmodel_returnall="false"
                 debug="0"/>
 
-return pf:tijah-query($opt,(),"//title[about(.,pathfinder) and 
about(.,TIJAH)]")
+let $query := "//title[about(.,pathfinder) and about(.,TIJAH)]"
+
+for $n at $r in pf:tijah-query($opt,(),$query)
+return <node rank="{$r}">{$n}</node>

Index: test_lms_returnmatching.stable.out
===================================================================
RCS file: 
/cvsroot/monetdb/pathfinder/modules/pftijah/Tests/Attic/test_lms_returnmatching.stable.out,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- test_lms_returnmatching.stable.out  19 Feb 2007 11:10:45 -0000      1.1.2.1
+++ test_lms_returnmatching.stable.out  19 Feb 2007 13:17:59 -0000      1.1.2.2
@@ -22,10 +22,10 @@
 # 12:04:30 >  
 
 <?xml version="1.0" encoding="utf-8"?>
-<XQueryResult><section id="sec3"><title>Pathfinder</title>
+<XQueryResult><node rank="1"><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>
+        </section></node></XQueryResult>
 
 # 12:04:30 >  
 # 12:04:30 >  Done.

--- NEW FILE: test_select_star2.modules ---
pftijah

--- NEW FILE: test_select_star1.xq ---
let $opt := <TijahOptions 
                collection="thesis" 
                txtmodel_model="LMS" 
                txtmodel_returnall="false"
                debug="0"/>

let $query := "//*[about(.,information retrieval)]"

for $n at $r in pf:tijah-query($opt,(),$query)
return <node rank="{$r}">{$n}</node>

--- NEW FILE: test_upprop.xq ---
let $opt := <TijahOptions 
                collection="thesis" 
                txtmodel_model="LMS" 
                txtmodel_returnall="false"
                debug="0"/>

let $query := "//chapter[about(.//section//title,information retrieval)]"

for $n at $r in pf:tijah-query($opt,(),$query)
return <node rank="{$r}">{$n}</node>

--- NEW FILE: test_select_star2.dbinit ---
module(pathfinder);module(pftijah);

--- NEW FILE: test_union.modules ---
pftijah

--- NEW FILE: test_upprop.dbinit ---
module(pathfinder);module(pftijah);

Index: All
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/Tests/All,v
retrieving revision 1.4.2.3
retrieving revision 1.4.2.4
diff -u -d -r1.4.2.3 -r1.4.2.4
--- All 19 Feb 2007 11:57:22 -0000      1.4.2.3
+++ All 19 Feb 2007 13:17:47 -0000      1.4.2.4
@@ -14,4 +14,10 @@
 test_lms_returnmatching
 test_lms_and
 test_lms_or
+test_select_star1
+test_select_star2
+test_select_star3
+test_upprop
+test_downprop
+test_union
 cleanup

--- NEW FILE: test_select_star2.xq ---
let $opt := <TijahOptions 
                collection="thesis" 
                txtmodel_model="LMS" 
                txtmodel_returnall="false"
                debug="0"/>

let $query := "//section[about(.//*,information retrieval)]"

for $n at $r in pf:tijah-query($opt,(),$query)
return <node rank="{$r}">{$n}</node>

--- NEW FILE: test_upprop.modules ---
pftijah

--- NEW FILE: test_select_star1.stable.out ---
stdout of test 'test_select_star1` in directory 'modules/pftijah` itself:


# 13:49:21 >  
# 13:49:21 >  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=34938 --set xrpc_port=46969 --set monet_prompt= --trace 
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah); 
module(pathfinder);" ; echo ; echo Over..
# 13:49:21 >  

# 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..

# 13:49:21 >  
# 13:49:21 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=localhost --port=34938 test_select_star1.xq
# 13:49:21 >  

<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><node rank="1"><title>XML Information 
retrieval</title></node><node rank="2"><para id="par4">This section is about 
XML information retrieval.</para></node><node rank="3"><title>Structured 
information storage and retrieval</title></node><node rank="4"><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></node><node rank="5"><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></node><node rank="6"><para 
id="par9">This section contains definitions that are used in XML databases 
                  and XML information retrieval</para></node><node 
rank="7"><chapter id="ch1">
        <title>Structured information storage and retrieval</title>
        <para id="par1">This chapter is about XML databases and retrieval 
systems.</para>
        <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>
        <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>
    </chapter></node><node rank="8"><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></node><node rank="9"><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></node><node rank="10"><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></node><node rank="11"><thesis>
    <title>PF/Tijah</title>
    <chapter id="ch1">
        <title>Structured information storage and retrieval</title>
        <para id="par1">This chapter is about XML databases and retrieval 
systems.</para>
        <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>
        <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>
    </chapter>
    <chapter id="ch2"><title>Pathfinder and TIJAH</title>
        <para id="par6">This chapter is about Pathfinder and TIJAH.</para>
        <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="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>
    </chapter>
    <appendix id="app1">
        <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>
    </appendix>
</thesis></node><node rank="12"><appendix id="app1">
        <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>
    </appendix></node><node rank="13"><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></node><node rank="14"><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></node><node rank="15"><para id="par1">This chapter is about 
XML databases and retrieval systems.</para></node><node rank="16"><chapter 
id="ch2"><title>Pathfinder and TIJAH</title>
        <para id="par6">This chapter is about Pathfinder and TIJAH.</para>
        <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="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>
    </chapter></node></XQueryResult>

# 13:49:21 >  
# 13:49:21 >  Done.
# 13:49:21 >  


--- NEW FILE: test_upprop.stable.err ---
stderr of test 'test_upprop` in directory 'modules/pftijah` itself:


# 13:19:57 >  
# 13:19:57 >  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=39441 --set xrpc_port=43001 --set monet_prompt= --trace 
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah); 
module(pathfinder);" ; echo ; echo Over..
# 13:19:57 >  

# builtin opt   gdk_arch = 64bitx86_64-suse-linux
# builtin opt   gdk_version = 1.16.1
# builtin opt   monet_pid = 9750
# 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 = 39441
# cmdline opt   xrpc_port = 43001
# cmdline opt   monet_prompt = 
# cmdline opt   gdk_dbname = mTests_modules_pftijah

# 13:19:58 >  
# 13:19:58 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=localhost --port=39441 test_upprop.xq
# 13:19:58 >  


# 13:19:58 >  
# 13:19:58 >  Done.
# 13:19:58 >  


--- NEW FILE: test_downprop.modules ---
pftijah

--- NEW FILE: test_union.stable.err ---
stderr of test 'test_union` in directory 'modules/pftijah` itself:


# 13:24:12 >  
# 13:24:12 >  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=36617 --set xrpc_port=46186 --set monet_prompt= --trace 
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah); 
module(pathfinder);" ; echo ; echo Over..
# 13:24:12 >  

# builtin opt   gdk_arch = 64bitx86_64-suse-linux
# builtin opt   gdk_version = 1.16.1
# builtin opt   monet_pid = 10715
# 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 = 36617
# cmdline opt   xrpc_port = 46186
# cmdline opt   monet_prompt = 
# cmdline opt   gdk_dbname = mTests_modules_pftijah

# 13:24:13 >  
# 13:24:13 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=localhost --port=36617 test_union.xq
# 13:24:13 >  


# 13:24:13 >  
# 13:24:13 >  Done.
# 13:24:13 >  



-------------------------------------------------------------------------
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

Reply via email to