Update of /cvsroot/monetdb/pathfinder/compiler/include
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14450/compiler/include
Modified Files:
Tag: M5XQ
abssyn.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/abssyn.h,1.38
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: abssyn.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/abssyn.h,v
retrieving revision 1.37
retrieving revision 1.37.4.1
diff -u -d -r1.37 -r1.37.4.1
--- abssyn.h 8 Jan 2009 16:54:12 -0000 1.37
+++ abssyn.h 9 Nov 2009 00:03:54 -0000 1.37.4.1
@@ -37,19 +37,19 @@
#define ABSSYN_H
/* PFqname_t */
-#include "qname.h"
+#include "qname.h"
/* PFns_map_t */
#include "ns.h"
/* PFvar_t */
-#include "variable.h"
+#include "variable.h"
/* PFsort_t */
#include "pf_xq.h"
/** no type of parse tree node will need more than
- * this many child nodes
+ * this many child nodes
*/
#define PFPNODE_MAXCHILD 2
@@ -120,7 +120,7 @@
, p_mod_imp = 62 /**< Module import */
, p_mod_ns = 63 /**< module namespace */
, p_mult = 64 /**< * (multiplication) */
- , p_named_ty = 65 /**< named type */
+ , p_named_ty = 65 /**< named type */
, p_ne = 66 /**< != (inequality) */
, p_nil = 67 /**< end-of-sequence marker */
, p_node_ty = 68 /**< node type */
@@ -192,6 +192,15 @@
/* Pathfinder extension: document management (ret type for docmgmt func.)
*/
, p_docmgmt_ty = 130 /**< "item" type `docmgmt' (funct. decls.) */
+
+ /* Pathfinder extension: full-text search (ftcontains) */
+ , p_ftcontains = 131 /**< keyword ftcontains for full-text search */
+ , p_ftfilter = 132 /**< filters ftcontains full-text search */
+ , p_ftignore = 133 /**< ignore nodes from full-text search */
+ , p_ftor = 134 /**< full-text or expression */
+ , p_ftand = 135 /**< full-text and expression */
+ , p_ftmildnot = 136 /**< full-text Mild not experession */
+ , p_ftnot = 137 /**< full-text not expression */
};
typedef enum PFptype_t PFptype_t;
@@ -291,10 +300,10 @@
(XQ Update Facility) */
PFinsertmod_t insert; /**< insertion target for "do insert"
(XQ Update Facility) */
-};
+};
-/* interfaces to parse construction routines
+/* interfaces to parse construction routines
*/
PFpnode_t *
p_leaf (PFptype_t type, PFloc_t loc);
------------------------------------------------------------------------------
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