Update of /cvsroot/monetdb/pathfinder/compiler/include
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14535/compiler/include
Modified Files:
Tag: M5XQ
logical.h
Log Message:
propagated changes of Thursday Nov 05 2009 - Monday Nov 09 2009
from the development trunk to the M5XQ branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/11/05 - singhan: compiler/include/logical.h,1.72
XQuery full-text search support initial version!
This initial version provides support to
-ftcontains keyword,
e.g., for $f in doc("menu.xml")//food[./name ftcontains "Belgian Waffles"]
return $f
The above query will return all the food nodes that has some relevancy over
"Belgian Waffles"
-initial score variable support
e.g., for $f score $s in doc("menu.xml")//food[./name ftcontains "Belgian
Waffles"]
return $s
The above query will return the relevancy score of all the matched food
nodes, however since its an initial version, the support to this score variable
is very limited.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: logical.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/logical.h,v
retrieving revision 1.68.2.3
retrieving revision 1.68.2.4
diff -u -d -r1.68.2.3 -r1.68.2.4
--- logical.h 7 Oct 2009 14:23:21 -0000 1.68.2.3
+++ logical.h 9 Nov 2009 00:04:17 -0000 1.68.2.4
@@ -172,7 +172,7 @@
, la_internal_op = 99 /**< operator used inside optimizations */
/* builtin support for XQuery functions */
, la_string_join =102 /**< fn:string-join */
-
+
, la_dummy =120 /**< dummy operator that does nothing */
};
@@ -835,6 +835,9 @@
PFla_op_t * PFla_rank (const PFla_op_t *n, PFalg_col_t a,
PFord_ordering_t s);
+/** Constructor for attaching score column. */
+PFla_op_t * attach_score (PFla_op_t *n);
+
/**
* Constructor for the row ranking operator.
* Special internal variant used during rowrank optimization.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins