On Tue, Jun 03, 2003 at 06:28:05PM +0200, adam wrote:
> On Tue, Jun 03, 2003 at 04:40:50PM +0100, Robert Sanderson wrote:
> > > SearchRetrieveRequests etc.). Also whether this is something that would
> > > be required to be implemented in SRU as well as SRW.
> >
> > That's not something that I'd considered. Specifying it in SRU would be a
> > complete nightmare if there was multiple queries. Anything more complex
> > than a single query fanned out to multiple databases would be absolutely
> > horrifying in SRU.
> >
> > /metadb/query1=ccg.name any "sword"
> > &schema1=http://srw.o-r-g.org/schemas/ccg/1.0/
> > &resultSetTTL1=180
> > &sortKeys1="/card/name"
> > &database1=l5r
> > &recordPacking1=xml
> > &query2=...
> Doesn't look pretty . An efficient client&server will reuse the socket
> and we have a train of GET's (or POST's). And that's with version
> SRW/SRU 1.0.
>
>
> GET /db1?query=search1 HTTP/1.0
> User-Agent: Wget/1.8.1
> Host: localhost:9999
> Accept: */*
> Connection: Keep-Alive
>
> GET /db2?query=search2 HTTP/1.0
> User-Agent: Wget/1.8.1
> Host: localhost:9999
> Accept: */*^
> Connection: Keep-Alive
PS: in order for this to work efficiently, the server must support HTTP
pipelining
http://www.mozilla.org/projects/netlib/http/pipelining-faq.html
Without pipelining, the server will process request completely
and send response before proceeding to the next.
-- Adam
>
> > *cringe*
> >
> > Rob
> >
> > --
> > ,'/:. Rob Sanderson ([log in to unmask])
> > ,'-/::::. http://www.o-r-g.org/~azaroth/
> > ,'--/::(@)::. Special Collections and Archives, extension 3142
> > ,'---/::::::::::. Twin Cathedrals: telnet: liverpool.o-r-g.org 7777
> > ____/:::::::::::::. WWW: http://liverpool.o-r-g.org:8000/
> > I L L U M I N A T I
>
> --
> Adam Dickmeiss mailto:[log in to unmask] http://www.indexdata.dk
> Index Data T: +45 33410100 Mob.: 212 212 66
--
Adam Dickmeiss mailto:[log in to unmask] http://www.indexdata.dk
Index Data T: +45 33410100 Mob.: 212 212 66
|