--- trunk/test.sql 2005/09/10 18:51:13 40 +++ trunk/test.sql 2005/09/10 20:35:09 41 @@ -18,3 +18,12 @@ -- test attributes delimited by {{!}} select title from pgest('##dir##/data/casket', 'blade runner', 'year NUMGT 1990{{!}}@title ISTRINC blade', null, null, null, array['@title']) as (title text); + +-- node API examples + +select title from pgest('http://localhost:1978/node/trivia', 'admin', 'admin', 'blade runner', 'year NUMGT 1990', '@title STRA', 5, 0, array['@title']) as (title text); + +-- comparison of direct access and node API + +explain analyze select title from pgest('##dir##/data/casket', 'blade runner', 'year NUMGT 1990', '@title STRA', 5, 0, array['@title']) as (title text); +explain analyze select title from pgest('http://localhost:1978/node/trivia', 'admin', 'admin', 'blade runner', 'year NUMGT 1990', '@title STRA', 5, 0, array['@title']) as (title text);