From: <dn...@gm...> - 2007-11-14 20:53:02
|
2007/11/15, Wolfgang <wol...@ex...>: > > > Ok, looks like we have an endless loop in the MatchListener chain. > > I finally fixed this issue in the current SVN trunk. > > Wolfgang > > > P.S.: I saw you are using a nested for loop in your query code: for $doc_item in $path > for $item in $doc_item//p[ngram:contains(.,$sstr)] > return <sFulltext>{$item}</sFulltext> > > this is completely unnecessary and costs performance. You can instead > just write: i don't remember why i did that, but whatever ````` i SEE.... thanks very much... for $item in $path//p[ngram:contains(., $sstr)] > return <sFulltext>{$item}</sFulltext> > |