Update of /cvsroot/monetdb/pathfinder/modules/pftijah/Tests
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv30473/modules/pftijah/Tests
Added Files:
Tag: M5XQ
resultsize2.xq
Log Message:
propagated changes of Sunday Feb 07 2010
from the XQFT branch to the M5XQ branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2010/02/07 - stmane: modules/pftijah/Tests/resultsize2.xq,1.2.2.1
file resultsize2.xq was added on branch XQFT on 2010-02-07 18:16:04 +0000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2010/02/07 - stmane: modules/pftijah/Tests/resultsize2.xq,1.2.2.2
propagated changes of Sunday Feb 07 2010
from the development trunk to the XQFT branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2010/02/07 - stmane: modules/pftijah/Tests/resultsize2.xq,1.2
propagated changes of Thursday Feb 04 2010 - Sunday Feb 07 2010
from the Feb2010 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2010/02/04 - hrode: modules/pftijah/Tests/resultsize2.xq,1.1.2.1
re-animate tijah:resultsize function and add corresponding test cases
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- NEW FILE: resultsize2.xq ---
let $opt := <TijahOptions ft-index="snowball"/>
let $queries := ("//section[about(., retrieval)]", "//para[about(.,
retrieval)]", "//section[about(., pathfinder)]")
return <res>
{
for $q at $qn in $queries
let $qid := tijah:queryall-id($q,$opt)
return <results query-number="{$qn}"
result-number="{tijah:resultsize($qid)}">
{
for $n at $r in tijah:nodes($qid)
return <node rank="{$r}">{$n}</node>
}
</results>
}
</res>
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins