Making an archive for Glimpse HTTP
For an overview of Glimpse HTTP, please see the
Glimpse HTTP home page.
What is an archive?
An archive in Glimpse HTTP is basically a set of files
that determines the searching parameters for a particular set
of pages.
An index file (in html format) can be generated for every subdirectory, so
the user only will search that directory and all subdirectories;
browsing and searching can easily be combined.
Users can
search through only the specific
subdirectories containing the information they
are interested in, or (using the root search page) can
search the entire directory.
Creating search pages for all subdirectories is an option.
After Glimpse HTTP has been installed
you can set up an archive for Glimpse HTTP.
Files that make up an archive
Glimpse HTTP is a search engine based on the
Glimpse search engine. Glimpse uses an index file
and several other configuration files
which are created with glimpseindex.
Glimpse HTTP creates a few files as well:
- .glimpse_* --
files of the format .glimpse_* are generated and used by
glimpse and glimpseindex.
Please see the Glimpse
home page for more information on Glimpse.
- ghreindex --
a file that will call glimpseindex to recreate the
Glimpse index (and associated files), and will also call
ghgenhtml.
- ghindex.html --
a file that is generated by the
ghgenhtml utility. This is an html file that
contains the search form for Glimpse HTTP. Depending on how
the archive is configured (done during the
makegharc command) a separate ghindex.html file could
be generated for each subdirectory, or just for the root directory
of the archive.
- archive.cfg --
a file that is generated by the
ghgenhtml utility. This file contains the
configuration for the archive. The format of the file is:
<archive title> <archive base URL> <subdirectory indices>
where each field is specified by a \t (tab character). The last field
is a 1 (true) or a 0 (false), and denotes whether or not each
subdirectory has a ghindex.html. If not, just the root directory
has a search page.
- .gheye.gif --
a gif file, used by the ghindex.html
files generated by ghgenhtml.
How to make an archive
The makegharc command is
used to make an archive.
Please see the makegharc
manual for more information on this command.
When this command is executed, the proper files are generated for
the Glimpse HTTP search interface.
Return to the Glimpse HTTP home page

Maintained by Michael Smith
glimpse@cs.arizona.edu