Update of /cvsroot/monetdb/pathfinder/modules/pftijah/Tests
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26940/modules/pftijah/Tests

Added Files:
        resultsize1.xq 
Log Message:
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/resultsize1.xq,1.1.2.1
  re-animate tijah:resultsize function and add corresponding test cases
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


--- NEW FILE: resultsize1.xq ---
let $opt := <TijahOptions returnNumber="2" ft-index="snowball"/>
let $query := "//section[about(., retrieval)]"
let $resID := tijah:queryall-id($query,$opt)
return <results num="{tijah:resultsize($resID)}">
{
   for $n at $r in tijah:nodes($resID)
   return <node rank="{$r}">{$n}</node>
}
</results>


------------------------------------------------------------------------------
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

Reply via email to