Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv2790

Modified Files:
      Tag: Aug2009
        pftijah.mx 
Log Message:


U pftijah.mx
Index: pftijah.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/pftijah.mx,v
retrieving revision 1.232.2.1
retrieving revision 1.232.2.2
diff -u -d -r1.232.2.1 -r1.232.2.2
--- pftijah.mx  21 Aug 2009 08:52:06 -0000      1.232.2.1
+++ pftijah.mx  15 Sep 2009 13:28:37 -0000      1.232.2.2
@@ -2412,7 +2412,8 @@
     
     var mark_tid := stemmed.join(bat("tj_" + ftindex + "_termdict").reverse());
     mark_tid := mark_tid.select(firstterm,oid(nil),TRUE,FALSE);
-    return mark_tid.reverse().leftfetchjoin(mark_score);
+    # it is important to keep the order of query terms (phrase queries)
+    return mark_score.reverse().leftjoin(mark_tid).reverse();
 }
 
 # returns the pre-order positions of the term t 


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to