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

Added Files:
      Tag: XQFT
        resultsize2.xq 
Log Message:
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

Reply via email to