Update of /cvsroot/monetdb/pathfinder/compiler/mil
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24527/compiler/mil
Modified Files:
milprint_summer.c
Log Message:
- implement delayed finalization. Activated by the "delay-finalize" option
tijah:create-ft-index(<TijahOptions delay-finalize="100000" ...........
The number is the number of pre-nodes added to the ft-index. When less
than this number are added finalize does not modify the inverted indices.
When a user does a query on a non-finalized ft-index the index will
be finalized automatically before execution of the query.
This fix should help increase the performance of pftijah in cases where a
lot of small docs are added seperately to the index like in the streettivo
and some Wiki scripts.
Index: milprint_summer.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mil/milprint_summer.c,v
retrieving revision 1.389
retrieving revision 1.390
diff -u -d -r1.389 -r1.390
--- milprint_summer.c 12 Jun 2007 17:35:57 -0000 1.389
+++ milprint_summer.c 13 Jun 2007 11:57:51 -0000 1.390
@@ -8347,7 +8347,7 @@
}
/* execute tijah query */
milprintf(f,
- " var nexi_allscores :=
run_tijah_query(optbat,%s,startNodes,item%s%03u.fetch(int($h)));\n"
+ " var nexi_allscores :=
run_tijah_query(ftindex,optbat,%s,startNodes,item%s%03u.fetch(int($h)));\n"
" var nexi_score;\n"
" if ( optbat.exist(\"returnNumber\") ) {\n"
" var retNum := int(optbat.find(\"returnNumber\"));\n"
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins