Ying Zhang wrote:
Hello Roy,


On Fri, Jul 24, 2009 at 09:41:45AM +0100, Roy Walter wrote:
  
Hi

A couple of tijah related issues with query modules.

1. The following query when run from xrpc.html appears to ignore the 
    

Which xrpc.html do you exactly mean?  Can you give its URL?

For clarity, are you running the function tijahSearch remotely using the
XRPC extension of MonetDB/XQuery?


Regards,

Jennie

  
$term argument and returns a very large result!

    module namespace tj = "tj";

    declare function tj:tijahSearch($term as xs:string) as node()*
    {
        tijah:queryall("//speech[about(., $term)]")
    };

2. Running the above query sometimes produces the following error:

    !ERROR: interpret: no matching MIL operator to 'tj_query_handler(bit
    BAT[void BAT], ...

Thanks,
Roy

------------------------------------------------------------------------------
_______________________________________________
MonetDB-users mailing list
MonetDB-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-users
    

  
OK, it's the file that comes with the distribution, i.e., http://localhost:50001/export/xrpc.html

I am just using the sample page to try out the xrpc functionality, so everything is running locally. The following, related, non tijah query works fine:
module namespace search = "search";

declare function search:simpleSearch($term as xs:string) as node()*
{
    doc("debates2006.xml")//speech[contains(., $term)]
};
Thanks,
Roy