Update of /cvsroot/monetdb/pathfinder/modules/pftijah/tjc
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2902/modules/pftijah/tjc

Modified Files:
      Tag: XQFT
        tjc_normalize_query.c 
Log Message:
propagated changes of Sunday Feb 21 2010
from the development trunk to the XQFT branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2010/02/21 - stmane: modules/pftijah/tjc/tjc_normalize_query.c,1.4
  propagated changes of Friday Feb 19 2010 - Sunday Feb 21 2010
  from the Feb2010 branch to the development trunk
  
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2010/02/19 - hrode: modules/pftijah/tjc/tjc_normalize_query.c,1.2.6.2
    the normalization rule1 disabled explicit AND semantics in the query 
leaving it
    to the retrieval model to find the best ranked results. however, people want
    explicit AND queries to be handled as such.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: tjc_normalize_query.c
===================================================================
RCS file: 
/cvsroot/monetdb/pathfinder/modules/pftijah/tjc/tjc_normalize_query.c,v
retrieving revision 1.2.4.1
retrieving revision 1.2.4.2
diff -u -d -r1.2.4.1 -r1.2.4.2
--- tjc_normalize_query.c       18 Jan 2010 14:06:06 -0000      1.2.4.1
+++ tjc_normalize_query.c       21 Feb 2010 20:31:39 -0000      1.2.4.2
@@ -298,8 +298,9 @@
 
 void normalize_query(tjc_config* tjc_c, TJptree_t *ptree)
 {
-    //rule 7 would change the semnatics for conjunctive retrieval models
-    if (strcmp(tjc_c->irmodel, "LM") != 0)
-       normalizeq1 (ptree);
+    //avoid this normalization step in all cases: people want to express 
explicit AND semantics 
+    /* if (strcmp(tjc_c->irmodel, "LM") != 0)
+       normalizeq1 (ptree); */
+    (void) tjc_c;
     normalizeq2 (ptree);
 }


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to