funny… If my $list has one InoId, the query returns in less than a second. However, if I add a second InoId to the list, it never returns, and I get the time out message. I’m running Tamino 4.2.1.1 on HP-UX.
{-- search by picklist --}
declare namespace tf = “http://namespaces.softwareag.com/tamino/TaminoFunction”
{-- picklist --}
for $list in (1, 2)
return
for $doc in input()/document
where tf:getInoId($doc) eq $list
return
$doc/title
. . .
<ino:messagetext ino:code=“INOXYE9291”>Transaction aborted because it has taken too long</ino:messagetext>
Eventually I need to write an update query for a few hundred documents, in a sluggish db of 300,000 docs. But for now I’m just trying to figure out how to query a list of ID’s. The SQL would be something like:
SELECT title
FROM documents
WHERE id IN (1,2,…)
#API-Management#Tamino#webMethods