The DELPHI Search Engine is based on a nph-cgi script written in Perl by the author (Marco Ganz) and running under the web-server at delphiwww.cern.ch. This script parses the queries, retrieves the figures in the archive and outputs a virtual page with the matching results. The figure archive is on afs under the directory /afs/cern.ch/delphi/wwwfigures/figs. Here are placed two files used by the script ("indexes" and "keylist") and a set of directories corresponding to the different groups of images, containing the figures, their captions and gifs. Moreover for each of this group there is a file "group.index" containing, for each figure, the path to retrieve it (relative to "/afs/cern.ch/delphi/wwwfigures/figs") and the related keywords.
The DELPHI Search Engine may be invoked from the "Keywords List Page" or directly from a previously generated "results" page. In both cases a query can be specified in the "Query" text field in a boolean form. All the keywords took from the displaied list, parenthesis and the boolean operators "AND", "OR" and "~" are accepted. The query can be submitted using the "submit" botton or pressing <CR> after insertion. Before submission it is possible to choose the level of importance of the images that are to be retrieved: if "high" is selected from the menu all the "low importance" images (images with a "VAL0" keyword associated) are skipped, otherwise ("low" is specified) all the images are scanned for matching. The output page contains the unordered list of the "small gifs" of the retrieved figures and their captions. It is possible to have a "Ghost View" of the postscript of the figure clicking over the relative miniature. At the end of the page is a link to go back to the"Keywords List Page".