Update of /cvsroot/monetdb/pathfinder/modules/pftijah/Tests
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv29807/modules/pftijah/Tests
Added Files:
Tag: XQFT
terms4.xq
Log Message:
propagated changes of Tuesday Dec 22 2009 - Monday Jan 04 2010
from the development trunk to the XQFT branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/12/22 - hrode: modules/pftijah/Tests/terms4.xq,1.1
adding test cases for new functions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- NEW FILE: terms4.xq ---
let $d := pf:collection("thesis.xml")
let $opt1 := <TijahOptions ft-index="porter"/>
let $opt2 := <TijahOptions ft-index="snowball"/>
let $opt3 := <TijahOptions ft-index="nostem"/>
let $opts := ($opt1, $opt2, $opt3)
return <res>
{
for $opt in $opts
for $e in $d//section
return <section stemming="{$opt/@ft-index}"> { tijah:terms($e, $opt) }
</section>
}
</res>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins