Update of /cvsroot/monetdb/pathfinder/modules/pftijah/Tests
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv19012/Tests
Modified Files:
Tag: XQuery_0-16
All
Added Files:
Tag: XQuery_0-16
createcoll1_frag.milS createcoll1_frag.stable.err
createcoll1_frag.stable.out
Log Message:
fixed bug in _buildIRindex() when working with fragments
the added test case solely runs fine, however, still fails when being executed
among the other test cases.
(the problem here has to be figured out still. the same thing occurs actually
when the order of the existing test cases create_coll0 and createcoll1 is
changed.)
Index: All
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/Tests/All,v
retrieving revision 1.4.2.5
retrieving revision 1.4.2.6
diff -u -d -r1.4.2.5 -r1.4.2.6
--- All 20 Feb 2007 10:18:56 -0000 1.4.2.5
+++ All 22 Feb 2007 20:24:32 -0000 1.4.2.6
@@ -3,6 +3,7 @@
loadthesis
createcoll0
createcoll1
+createcoll1_frag
test_split2frag
test_indexmerge
test_nllr
--- NEW FILE: createcoll1_frag.stable.err ---
stderr of test 'createcoll1_frag` in directory 'modules/pftijah` itself:
# 20:39:37 >
# 20:39:37 > Mtimeout -timeout 60 Mserver
"--config=/local/rodeh/monet/etc/MonetDB.conf" --debug=0 --set
"monet_mod_path=/local/rodeh/monet/lib/MonetDB4:/local/rodeh/monet/lib/MonetDB4/lib:/local/rodeh/monet/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/rodeh/monet/var/MonetDB4/dbfarm" --set
"sql_logdir=/local/rodeh/monet/var/MonetDB4/sql_logs" --set
"xquery_logdir=/local/rodeh/monet/var/MonetDB4/xquery_logs" --set
mapi_port=35761 --set xrpc_port=41445 --set monet_prompt= --trace
--dbname=mTests_modules_pftijah < createcoll1_frag.milS
# 20:39:37 >
# builtin opt gdk_arch = 64bitx86_64-suse-linux
# builtin opt gdk_version = 1.16.1
# builtin opt monet_pid = 7097
# builtin opt prefix = /local/rodeh/monet
# 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/rodeh/monet
# config opt config = ${prefix}/etc/MonetDB.conf
# config opt prefix = /local/rodeh/monet
# 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 = true
# config opt xrpc_admin = 127.0.0.1
# config opt xrpc_user = 127.0.0.1
# config opt xrpc_trusted =
http://monetdb.cwi.nl;${prefix}/share/MonetDB/xrpc/export
# config opt standoff_ns =
# config opt standoff_start = start
# config opt standoff_end = end
# cmdline opt config = /local/rodeh/monet/etc/MonetDB.conf
# cmdline opt gdk_debug = 0
# cmdline opt monet_mod_path =
/local/rodeh/monet/lib/MonetDB4:/local/rodeh/monet/lib/MonetDB4/lib:/local/rodeh/monet/lib/MonetDB4/bin
# cmdline opt gdk_dbfarm = /local/rodeh/monet/var/MonetDB4/dbfarm
# cmdline opt sql_logdir = /local/rodeh/monet/var/MonetDB4/sql_logs
# cmdline opt xquery_logdir = /local/rodeh/monet/var/MonetDB4/xquery_logs
# cmdline opt mapi_port = 35761
# cmdline opt xrpc_port = 41445
# cmdline opt monet_prompt =
# cmdline opt gdk_dbname = mTests_modules_pftijah
# 20:39:37 >
# 20:39:37 > Done.
# 20:39:37 >
--- NEW FILE: createcoll1_frag.stable.out ---
stdout of test 'createcoll1_frag` in directory 'modules/pftijah` itself:
# 20:39:37 >
# 20:39:37 > Mtimeout -timeout 60 Mserver
"--config=/local/rodeh/monet/etc/MonetDB.conf" --debug=0 --set
"monet_mod_path=/local/rodeh/monet/lib/MonetDB4:/local/rodeh/monet/lib/MonetDB4/lib:/local/rodeh/monet/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/rodeh/monet/var/MonetDB4/dbfarm" --set
"sql_logdir=/local/rodeh/monet/var/MonetDB4/sql_logs" --set
"xquery_logdir=/local/rodeh/monet/var/MonetDB4/xquery_logs" --set
mapi_port=35761 --set xrpc_port=41445 --set monet_prompt= --trace
--dbname=mTests_modules_pftijah < createcoll1_frag.milS
# 20:39:37 >
# 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");
var coll_opt := new(str,str);
coll_opt.insert("stemmer","snowball-english");
coll_opt.insert("fragmentSize","10");
# index collection at once
var docs := new(str,str);
docs.insert(path+"/xml-docs/dilbert.xml","dilbert.xml");
docs.insert(path+"/xml-docs/dilbert2.xml","dilbert2.xml");
docs.insert(path+"/xml-docs/special.xml","special.xml");
tj_init_collection("coll1_frag", coll_opt);
tj_add2collection("coll1_frag",docs,true);
# Elapsed time = 708us [012us/node]
# Shredded 1 XML document (dilbert.xml), total time after commit=0.007s
# Elapsed time = 571us [009us/node]
# Shredded 1 XML document (dilbert2.xml), total time after commit=0.005s
# Elapsed time = 551us [025us/node]
# Shredded 1 XML document (special.xml), total time after commit=0.005s
# index collection incrementally
tj_init_collection("coll2_frag", coll_opt);
tj_add2collection("coll2_frag",path+"/xml-docs/dilbert.xml","dilbert.xml",true);
tj_add2collection("coll2_frag",path+"/xml-docs/dilbert2.xml","dilbert2.xml",true);
tj_add2collection("coll2_frag",path+"/xml-docs/special.xml","special.xml",true);
coll_opt.replace("fragmentSize","60");
# index collection at once
tj_init_collection("coll1_frag100", coll_opt);
tj_add2collection("coll1_frag100",docs,true);
# index collection incrementally
tj_init_collection("coll2_frag100", coll_opt);
tj_add2collection("coll2_frag100",path+"/xml-docs/dilbert.xml","dilbert.xml",true);
tj_add2collection("coll2_frag100",path+"/xml-docs/dilbert2.xml","dilbert2.xml",true);
tj_add2collection("coll2_frag100",path+"/xml-docs/special.xml","special.xml",true);
# compare indexed collections
var tids := bat("tj_globalTerms").sort().kunique().hmark([EMAIL PROTECTED]);
var coll1 := indexfetchjoin(tids, bat("tj_coll1_frag_TermIndex"),
bat("tj_coll1_frag_Terms"));
var coll2 := indexfetchjoin(tids, bat("tj_coll2_frag_TermIndex"),
bat("tj_coll2_frag_Terms"));
var coll3 := indexfetchjoin(tids, bat("tj_coll1_frag100_TermIndex"),
bat("tj_coll1_frag100_Terms"));
var coll4 := indexfetchjoin(tids, bat("tj_coll2_frag100_TermIndex"),
bat("tj_coll2_frag100_Terms"));
diff(coll1,coll2).print();
#-----------------#
# h t # name
# oid oid # type
#-----------------#
diff(coll2,coll3).print();
#-----------------#
# h t # name
# oid oid # type
#-----------------#
diff(coll3,coll4).print();
#-----------------#
# h t # name
# oid oid # type
#-----------------#
quit();
# 20:39:37 >
# 20:39:37 > Done.
# 20:39:37 >
--- NEW FILE: createcoll1_frag.milS ---
module(pftijah);
module(unix);
# should run if you set TSTTRGDIR to pwd
var path:=getenv("TSTSRCDIR");
var coll_opt := new(str,str);
coll_opt.insert("stemmer","snowball-english");
coll_opt.insert("fragmentSize","10");
# index collection at once
var docs := new(str,str);
docs.insert(path+"/xml-docs/dilbert.xml","dilbert.xml");
docs.insert(path+"/xml-docs/dilbert2.xml","dilbert2.xml");
docs.insert(path+"/xml-docs/special.xml","special.xml");
tj_init_collection("coll1_frag", coll_opt);
tj_add2collection("coll1_frag",docs,true);
# index collection incrementally
tj_init_collection("coll2_frag", coll_opt);
tj_add2collection("coll2_frag",path+"/xml-docs/dilbert.xml","dilbert.xml",true);
tj_add2collection("coll2_frag",path+"/xml-docs/dilbert2.xml","dilbert2.xml",true);
tj_add2collection("coll2_frag",path+"/xml-docs/special.xml","special.xml",true);
coll_opt.replace("fragmentSize","60");
# index collection at once
tj_init_collection("coll1_frag100", coll_opt);
tj_add2collection("coll1_frag100",docs,true);
# index collection incrementally
tj_init_collection("coll2_frag100", coll_opt);
tj_add2collection("coll2_frag100",path+"/xml-docs/dilbert.xml","dilbert.xml",true);
tj_add2collection("coll2_frag100",path+"/xml-docs/dilbert2.xml","dilbert2.xml",true);
tj_add2collection("coll2_frag100",path+"/xml-docs/special.xml","special.xml",true);
# compare indexed collections
var tids := bat("tj_globalTerms").sort().kunique().hmark([EMAIL PROTECTED]);
var coll1 := indexfetchjoin(tids, bat("tj_coll1_frag_TermIndex"),
bat("tj_coll1_frag_Terms"));
var coll2 := indexfetchjoin(tids, bat("tj_coll2_frag_TermIndex"),
bat("tj_coll2_frag_Terms"));
var coll3 := indexfetchjoin(tids, bat("tj_coll1_frag100_TermIndex"),
bat("tj_coll1_frag100_Terms"));
var coll4 := indexfetchjoin(tids, bat("tj_coll2_frag100_TermIndex"),
bat("tj_coll2_frag100_Terms"));
diff(coll1,coll2).print();
diff(coll2,coll3).print();
diff(coll3,coll4).print();
-------------------------------------------------------------------------
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