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

Modified Files:
        procs.stable.out sigs.stable.out 
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: sigs.stable.out
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/Tests/sigs.stable.out,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- sigs.stable.out     1 Jun 2007 12:21:00 -0000       1.14
+++ sigs.stable.out     13 Jun 2007 11:57:53 -0000      1.15
@@ -24,6 +24,7 @@
 # signature      # name
 # str            # type
 
#-------------------------------------------------------------------------------------------------------------------------------------------------------------------------#
+[ "_run_tijah_query(BAT[str,str], bit, BAT[void,oid], str) : BAT[oid,dbl]"     
                                                                                
          ]
 [ "_tj_throw2collection(BAT[str,BAT], BAT[oid,BAT], str, str) : void"          
                                                                                
          ]
 [ "_tj_throw2collection_index(BAT[str,BAT], str) : void"                       
                                                                                
          ]
 [ "indexfetchjoin(BAT[any,oid], BAT[void,oid], BAT[void,oid]) : BAT[void,oid]" 
                                                                                
          ]
@@ -36,8 +37,6 @@
 [ "mergeindex(BAT[oid,oid], BAT[void,oid], BAT[void,oid], int) : 
BAT[void,BAT]"                                                                  
                                ]
 [ "offsetindex(BAT[void,oid], int) : BAT[void,oid]"                            
                                                                                
          ]
 [ "pf2tijah_node(BAT[oid,str], BAT[oid,oid], BAT[oid,oid], BAT[oid,oid], 
BAT[oid,int], BAT[oid,str]) : BAT[void,oid]"                                    
                ]
-[ "run_tijah_command(str) : bit"                                               
                                                                                
          ]
-[ "run_tijah_query(BAT[str,str], bit, BAT[void,oid], str) : BAT[oid,dbl]"      
                                                                                
          ]
 [ "score_NLLR(BAT[oid,oid], BAT[void,int], BAT[oid,int], BAT[oid,int], 
BAT[oid,any], dbl, int) : BAT[oid,dbl]"                                         
                  ]
 [ "serialize_tijah_opt(BAT[void,BAT], int, BAT[void,oid], BAT[void,oid], 
BAT[void,oid], BAT[void,int], BAT[void,lng], BAT[void,dbl], BAT[void,str]) : 
BAT[str,str]"      ]
 [ "tijah_tokenize(str) : str"                                                  
                                                                                
          ]
@@ -54,6 +53,10 @@
 [ "tj_ping() : void"                                                           
                                                                                
          ]
 [ "tj_setlog(str) : void"                                                      
                                                                                
          ]
 [ "treemergejoin_sort(BAT[void,oid], BAT[void,int], BAT[void,oid]) : 
BAT[oid,oid]"                                                                   
                    ]
+[ "union_add(BAT[oid,dbl], BAT[oid,dbl]) : BAT[oid,dbl]"                       
                                                                                
          ]
+[ "union_div(BAT[oid,dbl], BAT[oid,dbl]) : BAT[oid,dbl]"                       
                                                                                
          ]
+[ "union_mul(BAT[oid,dbl], BAT[oid,dbl]) : BAT[oid,dbl]"                       
                                                                                
          ]
+[ "union_sub(BAT[oid,dbl], BAT[oid,dbl]) : BAT[oid,dbl]"                       
                                                                                
          ]
 
 quit();
 

Index: procs.stable.out
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/Tests/procs.stable.out,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- procs.stable.out    12 Jun 2007 17:35:58 -0000      1.13
+++ procs.stable.out    13 Jun 2007 11:57:53 -0000      1.14
@@ -86,7 +86,7 @@
 [ "_tj_collection(str) : BAT[str,BAT]"                                         
                                                                                
                                                                  ]
 [ "_tj_collection_str(str) : BAT[void,BAT]"                                    
                                                                                
                                                                  ]
 [ "_tj_commit(BAT[str,BAT]) : void"                                            
                                                                                
                                                                  ]
-[ "_tj_finalize_collection(str, BAT[str,BAT]) : void"                          
                                                                                
                                                                  ]
+[ "_tj_finalize_collection(str, BAT[str,BAT], bit) : void"                     
                                                                          ]
 [ "_tj_get_parameter(BAT[str,BAT], str) : str"                                 
                                                                                
                                                                  ]
 [ "_tj_set_parameter(BAT[str,BAT], str, str) : void"                           
                                                                                
                                                                  ]
 [ "_ws_coll_isolate(lng, BAT[void,BAT], str, BAT[void,oid], BAT[void,oid], 
BAT[void,oid], BAT[void,oid]) : void"                                         ]
@@ -511,6 +511,7 @@
 [ "rule(int, int, int, int, int) : rule"                                       
                                                                          ]
 [ "rule(int, str, int, int) : rule"                                            
                                                                          ]
 [ "rule(int, str, int, int, int) : rule"                                       
                                                                          ]
+[ "run_tijah_query(str, BAT[str,str], bit, BAT[void,oid], str) : BAT[oid,dbl]" 
                                                                          ]
 [ "runtime(lock, lock) : BAT[lock,BAT]"                                        
                                                                                
                                                                          ]
 [ "save(BAT[any::1,any::2]) : BAT[any::1,any::2]"                              
                                                                          ]
 [ "scale(BAT[any,any], flt) : BAT[any,any]"                                    
                                                                                
                                                                  ]
@@ -616,6 +617,7 @@
 [ "tj_init_global(BAT[str,str]) : void"                                        
                                                                                
                                                                          ]
 [ "tj_init_global(BAT[str,str], bit) : void"                                   
                                                                                
                                                                  ]
 [ "tj_is_indexed(str) : bit"                                                   
                                                                          ]
+[ "tj_is_indexed(str) : bit"                                                   
                                                                          ]
 [ "tj_ping() : void"                                                           
                                                                                
                                                                  ]
 [ "tj_play_doc_tape(BAT[void,BAT], BAT[void,oid], BAT[void,int], 
BAT[void,lng], BAT[void,str]) : void"                                           
                                                                                
]
 [ "tj_setBackgroundCollName(str, BAT[oid,str]) : BAT[void,str]"                
                                                                                
  ]


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

Reply via email to