~zorba-coders/zorba/bug-950621

« back to all changes in this revision

Viewing changes to src/compiler/parser/use-cases/ft_stemming.2.xqy

  • Committer: brantmat at ETHZ
  • Date: 2007-10-09 12:58:38 UTC
  • Revision ID: svn-v4:8046edc3-af21-0410-8661-ec7318497eea:trunk/zorba:904
commit of the new directory structure

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
for $book in doc("http://bstore1.example.com/full-text.xml")
 
2
   /books/book
 
3
let $cont := $book//content[. ftcontains 
 
4
   (("usable" with stemming) && "testing" phrase) 
 
5
   || (("use" with stemming) && "testing" phrase)]
 
6
where count($cont)>0
 
7
return $book/@number, $book/metadata/title/text(), $cont