Update of /cvsroot/monetdb/pathfinder/modules/pftijah/tjc
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv21398
Modified Files:
Tag: Feb2010
tjc_normalize_query.c
Log Message:
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.6.1
retrieving revision 1.2.6.2
diff -u -d -r1.2.6.1 -r1.2.6.2
--- tjc_normalize_query.c 18 Jan 2010 10:41:07 -0000 1.2.6.1
+++ tjc_normalize_query.c 19 Feb 2010 08:45:32 -0000 1.2.6.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