🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.infosystems.wais
Article #293

Re: WAIS server returns *name* of document, rather than document?

#293
From: Jonathan Goldman
Date: Thu, 24 Dec 1992 12:16
45 lines
2639 bytes
In article <1992Dec23.013115.13255@adobe.com> ayers@adobe.com (Robert Ayers) writes:

   From: ayers@adobe.com (Robert Ayers)
   Date: Wed, 23 Dec 1992 01:31:15 GMT

   I'm working on a WAIS server that I expected to be used locally, that
   is used on the LAN at Adobe Systems.

   The server will index documents that are already stored within the 
   LAN-accessable NFS file system.

   It strikes me that, rather than having the WAIS-client ask the
   WAIS-server for the "hit" document's content (when the user says
   "View"), the client should ask for the full-path-name of the document
   and read the document itself (with NFS).  Why have the server NFS-read
   the whole document and re-send the bytes down the Z39.50 connection?

You may have already figured this out but...

You can get the filename out of the DOCID:  in the public server the docid
is just a string of "start-offset end-offset filename", so you could modify
a client to just get the file itself, but...

   Do you-all think tht this might be a valuable extension to the WAIS
   protocol?  

You can't depend on this.  For one, it's server specific.  The protocol
simply says that servers understand a docid that they produce.  In fact, on
the CM server the docid's are just indexes into a table on the server.  In
addition, there's no guarantee the files are local, or that the pathnames
are meaningful.  It's a hack you could do when you know the client and
server are on the same LAN, but you must know this for it to work...

And if the client and server are on teh same LAN, why not just do "local
searching".  The clients all have the search engine built-in, and retrieval
will be strictly a "local" operation.

(Local search is accomplished by leaving the :ip-name and :tcp-port fields
empty in the source description structure, and using the full path prefix
for the :database-name.)
--
Jonny Goldman					Thinking Machines Corporation
jonathan@Think.com				1010 El Camino Real Suite 310
Developer					Menlo Park, CA 94025
Wide Area Information Servers			415-329-9300x229
Technical Details
Message-ID: <JONATHAN.92Dec24121658@philo.think.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!news.think.com!jonathan
References: <1992Dec23.013115.13255@adobe.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!news.think.com!jonathan
From: jonathan@philo.think.com (Jonathan Goldman)
Newsgroups: comp.infosystems.wais
Subject: Re: WAIS server returns *name* of document, rather than document?
Date: 24 Dec 92 12:16:58
Organization: Thinking Machines Corporation, Cambridge MA, USA
Lines: 45
Message-ID: <JONATHAN.92Dec24121658@philo.think.com>
References: <1992Dec23.013115.13255@adobe.com>
NNTP-Posting-Host: philo.quake.think.com
In-reply-to: ayers@adobe.com's message of Wed, 23 Dec 1992 01:31:15 GMT